aboutsummaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorYunsup Lee <yunsup@cs.berkeley.edu>2011-04-09 20:18:04 -0700
committerYunsup Lee <yunsup@cs.berkeley.edu>2011-04-09 20:18:36 -0700
commit4b534147c0c49f9ea57f4c686af7c6508d114a99 (patch)
tree2c905ba04c04f1f63a872d7e0b269c97197e7ebf /configure
parent7198e5091fa9d2606a993cae45f9c90e170f3103 (diff)
downloadspike-4b534147c0c49f9ea57f4c686af7c6508d114a99.zip
spike-4b534147c0c49f9ea57f4c686af7c6508d114a99.tar.gz
spike-4b534147c0c49f9ea57f4c686af7c6508d114a99.tar.bz2
[sim] add disable option for vector
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure15
1 files changed, 15 insertions, 0 deletions
diff --git a/configure b/configure
index 3efe8e7..ad0b907 100755
--- a/configure
+++ b/configure
@@ -638,6 +638,7 @@ enable_optional_subprojects
enable_fpu
enable_64bit
enable_rvc
+enable_vec
'
ac_precious_vars='build_alias
host_alias
@@ -1273,6 +1274,7 @@ Optional Features:
--disable-fpu Disable floating-point
--disable-64bit Disable 64-bit mode
--disable-rvc Disable instruction compression
+ --disable-vec Disable vector processor
Some influential environment variables:
CC C compiler command
@@ -4060,6 +4062,19 @@ $as_echo "#define RISCV_ENABLE_RVC /**/" >>confdefs.h
fi
+# Check whether --enable-vec was given.
+if test "${enable_vec+set}" = set; then :
+ enableval=$enable_vec;
+fi
+
+if test "x$enable_vec" != "xno"; then :
+
+
+$as_echo "#define RISCV_ENABLE_VEC /**/" >>confdefs.h
+
+
+fi
+
libopc=`dirname \`which riscv-gcc\``/../`$ac_config_guess`/riscv/lib/libopcodes.a
as_ac_File=`$as_echo "ac_cv_file_$libopc" | $as_tr_sh`
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $libopc" >&5