... | ... | @@ -29,8 +29,8 @@ conda install cmake gxx_linux-64 |
|
|
The [conda compiler tools](https://conda.io/docs/user-guide/tasks/build-packages/compiler-tools.html) requires to run:
|
|
|
|
|
|
```
|
|
|
source CONDA_ENV_PREFIX/etc/conda/activate.d/activate-gxx_linux-64.sh
|
|
|
source CONDA_ENV_PREFIX/etc/conda/activate.d/activate-binutils_linux-64.sh
|
|
|
source $CONDA_PREFIX/etc/conda/activate.d/activate-gxx_linux-64.sh
|
|
|
source $CONDA_PREFIX/etc/conda/activate.d/activate-binutils_linux-64.sh
|
|
|
```
|
|
|
|
|
|
This should set the appropriate `GXX` env variable and help CMake find the right (modern, non host) version of the compiler.
|
... | ... | @@ -45,7 +45,7 @@ And you are good to go! |
|
|
|
|
|
```
|
|
|
git clone https://gitlab.esrf.fr/limagroup/lima.git
|
|
|
cmake -DCMAKE_FIND_ROOT_PATH=CONDA_PREFIX/etc/conda/envs/lima .
|
|
|
cmake -DCMAKE_FIND_ROOT_PATH=$CONDA_PREFIX/etc/conda/envs/lima .
|
|
|
make -j24
|
|
|
make install
|
|
|
```
|
... | ... | @@ -53,5 +53,5 @@ make install |
|
|
or if you want the fully automated version:
|
|
|
|
|
|
```
|
|
|
./install.sh --find-root-path=CONDA_PREFIX/etc/conda/envs/lima
|
|
|
./install.sh --find-root-path=$CONDA_PREFIX/etc/conda/envs/lima
|
|
|
``` |
|
|
\ No newline at end of file |