Commit the script to setup the environment
Commit setup_environment which sets up the PATH and LD_LIBRARY_PATH to find the toolchain (modified gcc) and libraries (openmp).
This commit is contained in:
parent
09ed8e7bc3
commit
b12ce54d29
|
@ -0,0 +1,11 @@
|
|||
#!/bin/sh
|
||||
|
||||
set -u
|
||||
|
||||
export PATH=${PATH##*:}:${PATH%:*}
|
||||
|
||||
ompLibDir=${PATH%%:*}
|
||||
ompLibDir=${ompLibDir%/bin}/lib64
|
||||
export LD_LIBRARY_PATH=${LD_LIBRARY_PATH:+${LD_LIBRARY_PATH}:}$ompLibDir
|
||||
|
||||
zsh
|
Loading…
Reference in New Issue