aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorCyril SIX <cyril.six@kalray.eu>2021-06-01 18:28:11 +0200
committerCyril SIX <cyril.six@kalray.eu>2021-06-01 18:28:11 +0200
commit3181fe5407ed0221714830e2bd1e19850eac5461 (patch)
tree2dac9283c1a36182b1a80b76483aed6c16dfdbc8
parent14b113df3ed94998707b6ac851e0d550ed7f14e1 (diff)
downloadcompcert-kvx-3.9_kvx.tar.gz
compcert-kvx-3.9_kvx.zip
Remove install path bricolage for kvxv3.9_kvx
-rw-r--r--INSTALL.md7
-rwxr-xr-xconfigure2
2 files changed, 5 insertions, 4 deletions
diff --git a/INSTALL.md b/INSTALL.md
index e80fb600..f072a211 100644
--- a/INSTALL.md
+++ b/INSTALL.md
@@ -44,8 +44,11 @@ opam pin add coq 8.11.0 # example of Coq version
Pre-compilation configure replace the placeholder with your desired platform
(for Kalray Coolidge it is `kvx-cos`)
```
-./configure <platform>
+./configure -prefix ~/.usr <platform>
```
+
+`PREFIX` is where CompCert will be installed after `make install`
+
If using Kalray's platform, make sure that the kvx tools are on your path
Compile (adapt -j# to the number of cores and available RAM)
```
@@ -54,7 +57,7 @@ make install
```
## Utilization
-`ccomp` binaries are installed at `$(HOME)/.usr/bin`
+`ccomp` binaries are installed at `$(PREFIX)/bin`
Make sure to add that to your path to ease its use
Now you may use it like a regular compiler
```
diff --git a/configure b/configure
index 7467e80a..ae3a7c00 100755
--- a/configure
+++ b/configure
@@ -431,8 +431,6 @@ if test "$arch" = "kvx"; then
casm_options="$model_options"
cc="$k1base-gcc $model_options"
clinker="$k1base-gcc"
- bindir="$HOME/.usr/bin"
- libdir="$HOME/.usr/lib"
clinker_options="$model_options -L$libdir -Wl,-rpath=$libdir"
cprepro="$k1base-gcc"
cprepro_options="$model_options -D __KVX_${osupper}__ -std=c99 -E -include ccomp_kvx_fixes.h"