aboutsummaryrefslogtreecommitdiff
path: root/configure
AgeCommit message (Collapse)AuthorFilesLines
2021-09-30Remove vestiges of legacy RVV SLEN parameterAndrew Waterman1-2/+2
2021-08-23configure option --with-target (#776)emelcher1-0/+19
* add configure option --with-target * executed autoconf
2021-08-03executed autoconfemelcher1-0/+968
2021-07-29Enable precompiled headers when using clangtestAndrew Waterman1-0/+77
2021-03-25Fix statx configure checkAndrew Waterman1-2/+2
2021-03-25Fix Ubuntu 16.04 buildAndrew Waterman1-0/+11
Was broken by #681.
2021-03-25Add `statx` syscallhuaixv1-0/+66
2020-12-01Remove stray comma in configureAndrew Waterman1-1/+1
2020-11-07Update generated configure scriptMarcus Comstedt1-0/+16
2020-09-29Partially revert removal of .pc.in files; add disasm.pc.inAbhinay Kayastha1-0/+3
2020-09-22Only install pkg-config files for libraries that are installedAndrew Waterman1-18/+0
Resolves #549
2020-09-22Separate build of spike and spike-dasmAndrew Waterman1-0/+97
2020-09-22Don't error out if dlopen isn't availableAndrew Waterman1-4/+14
2020-06-10ext: rename libdummy_rocc by libcustomextChih-Min Chao1-10/+10
make library name general for multiple custom extension built in one shared library. Signed-off-by: Chih-Min Chao <chihmin.chao@sifive.com>
2020-04-26fdt: import fdt library from OpenSBIChih-Min Chao1-0/+49
Signed-off-by: Chih-Min Chao <chihmin.chao@sifive.com>
2020-03-22Fix hard-coded path to DTC that breaks packaging (#428)Joel Sherrill1-14/+2
configure.ac included code which detects and inserted a full path to dtc. Unfortunately, when building with a packaging system, this path reflects the path under a staged building area. Also the inclusion of a full path breaks the use case where someone keeps two versions of dtc on their computer and sets their PATH to switch between them. spike will continue to use the one on their PATH when it was built rather than the intended one. Co-authored-by: Joel Sherrill <joel@rtems.org>
2020-03-09rvv: enhance --varch to parse string type optionsZhen Wei1-2/+2
To improve the readability of varch argument and future configuration, the format of options within varch are changed from "v128:e64:s512" to "vlen:128,elen:64,slen:512".
2020-02-27Allow overriding CFLAGS and similar when buildingRupert Swarbrick1-12/+154
Before this patch, I don't think it was possible to change (say) CFLAGS as part of running the make command. Nor did setting them when running configure do anything. Getting this right is a little fiddly: for example, see Automake's approach at [1] ("AM_CFLAGS" and friends). This patch adds an "mcppbs-" prefix, and sets things up properly for CFLAGS, CPPFLAGS, CXXFLAGS and LDFLAGS. Note that the bulk of the patch is either the auto-generated configure script or the ax_*.m4 files vendored in from the autoconf archive (needed to handle --export-dynamic correctly without trashing settings from the user running configure). What's supposed to happen is as follows: - Base compilation flags that should apply to everything (standard optimisation flags, warning flags etc.) are defined in Makefile.in. - When the user runs configure, they can set compilation flags on the command line. These end up as environment variables in the shell script. - Compilation flags that can only be decided when we run configure (this is currently just whether we support -Wl,--export-dynamic) are appended to the configure-time LDFLAGS environment variable. - At the end of the configure script, these environment variables are spliced into Makefile.in to fill out the corresponding @<varname>@ entries. - When running make, the user might again override compilation flags. These will get appended to the flags found so far. As a concrete example: mkdir build cd build ../configure CXXFLAGS='-O3' make CXXFLAGS='-O0' will result in c++ compile commands that look like this: g++ -MMD -MP \ -DPREFIX=\"/usr/local\" -Wall -Wno-unused -g -O2 -std=c++11 \ -O3 \ -O0 \ -I. -I.. -I../fesvr -I../riscv -I../dummy_rocc -I../softfloat \ -I../spike_main -fPIC -c ../fesvr/elfloader.cc (I've added some newlines to wrap the long line). Note that we have the base flags from Makefile.in (called $(default-CXXFLAGS) there) first. Then we have the -O3 from the configure command. Finally we have the -O0 from the Make command line. And I can finally run "make CXXFLAGS='-O0 -g3'". Phew! [1] https://www.gnu.org/software/automake/manual/html_node/Flag-Variables-Ordering.html
2020-02-12Improve --varch error checking. (#394)Tim Newsome1-2/+2
* Improve --varch error checking. Print out why an option has problems. Add check that elen must be >= xlen, flen, per the spec. Since RV32G includes D by default, bump default elen to 64. * Remove debug printf.
2019-11-12Add --priv option to control which privilege modes are availableAndrew Waterman1-0/+19
2019-10-28Implement support for big-endian hostsMarcus Comstedt1-1/+2
2019-09-02Fix OSX buildAndrew Waterman1-1/+75
Closes #326
2019-07-22Implement MMIO device plugins.Aaron Jones1-0/+2
2019-07-11Fix support for 32-bit hosts (but no V extension in that case!)Andrew Waterman1-2/+2
2019-06-14rvv: add configuration and command-line optionChih-Min Chao1-0/+87
1. configure option "--with-varch" the option defines the default u-arch implementatiton-decided parameter VLEN: vector register length in bit SLEN: striping distance in bit ELEN: max element size in bit ex: --with-vector=v128:e32:s128 2. add __int128_t type checking 3. add --varch command option and help message ex: --varch=v512:e64:s512 Signed-off-by: Dave Wen <dave.wen@sifive.com>
2019-03-31Add fesvr; only globally install fesvr headers/libsstatic-linkAndrew Waterman1-159/+96
2017-06-05Configure should fail if device-tree-compiler is not installedAndrew Waterman1-0/+4
Fixes #107
2017-04-05Add --enable-misaligned option for misaligned ld/st supportAndrew Waterman1-0/+16
Resolves #93
2017-03-21autoconf: put location of 'dtc' into config.hWesley W. Terpstra1-0/+46
2017-02-18Make HW setting of PTE A/D bits optional (by configure arg)Andrew Waterman1-1/+29
https://github.com/riscv/riscv-isa-manual/issues/14
2016-04-02Allow configuration of default ISA with --with-isaAndrew Waterman1-0/+19
2016-03-02Add autoconf check for little-endiannessAndrew Waterman1-265/+686
2016-03-02Compile debug symbolsAndrew Waterman1-2/+2
2016-01-24Remove hwacha supportAndrew Waterman1-49/+0
Support for hwacha will continue on the ESP branch (see https://github.com/ucb-bar/esp-isa-sim).
2015-05-13autoreconf 126beb482ff6 ("Install pkg-config files for Spike")Palmer Dabbelt1-0/+18
2015-04-09Fix autoconf for RHEL6Andrew Waterman1-57/+58
2015-04-03Support setting ISA/subsets with --isa flagAndrew Waterman1-105/+61
Default is RV64IMAFDC. Can do things like --isa=RV32 (which implies IMAFDC) --isa=IM (which implies RV64) --isa=RV64IMAFDXhwacha
2015-03-30Implement RVC draftAndrew Waterman1-0/+15
2015-01-09Don't look for a simulator when cross compilingAndrew Waterman1-120/+0
2015-01-09Fix bug where C compiler used instead of C++ for autoconf testsStephen Twigg1-8/+16
2014-12-29autoreconf 65ba70071d11cc19b3dc85c047c5fea6d4d7bc0dPalmer Dabbelt1-121/+139
2014-12-20Support building from within root directoryAndrew Waterman1-8/+8
2014-11-25Factor out the dummy RoCC acceleratorAndrew Waterman1-0/+46
2014-11-19Suppress harmless warningsAndrew Waterman1-2/+2
specifically, unused variables in auto-generated code.
2014-08-28Update configure to set CPPFLAGS instead of CFLAGS with fesvr include path.Jim Lawson1-1/+1
Since we no longer are duplicating CFLAGS, ensure CPPFLAGS are set correctly.
2014-08-15Added PC histogram option.Christopher Celio1-0/+15
- Spits out all PCs (on 4B granularity) executed with count. - Requires a compile time configuration option. - Also requires a run-time flag.
2014-01-26Enable runtime loading of dynamic library with --extlibAndrew Waterman1-155/+149
2014-01-26Eliminate hwacha <-> riscv circular dependenceAndrew Waterman1-102/+153
We now split out the spike executable into another subproject, which depends on both rocket and hwacha
2014-01-25Merge softfloat_riscv into softfloatAndrew Waterman1-46/+0
They really aren't independent libraries.
2014-01-24Require libdl for dynamic linking at runtimeAndrew Waterman1-15/+63