Skip to content

Commit eed18e0

Browse files
Avoid hard-coding CC/CXX in setup.sh.
1 parent a541080 commit eed18e0

File tree

4 files changed

+7
-1
lines changed

4 files changed

+7
-1
lines changed

experiment/frontier/env.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ module swap $LMOD_FAMILY_PRGENV PrgEnv-gnu
55
module load rocm/6.0.0
66
module unload darshan-runtime
77

8+
export CC=cc CXX=CC HOST_CC=gcc HOST_CXX=g++
9+
810
export USE_HIP=1
911
export CONDUIT=ofi-slingshot11
1012

experiment/perlmutter/env.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,8 @@ module load PrgEnv-gnu
55
module load cpe-cuda
66
module load cudatoolkit
77

8+
export CC=cc CXX=CC HOST_CC=gcc HOST_CXX=g++
9+
810
export USE_CUDA=1
911
export CONDUIT=ofi-slingshot11
1012

experiment/sapling/env.sh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ export THREADS=20
33

44
module load cuda
55

6+
export CC=gcc CXX=g++
7+
68
export USE_CUDA=1
79
export CONDUIT=ibv
810

experiment/setup.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ fi
2323

2424
pushd legion/language
2525
# setup_env.py pins everything now, so don't need to pin explicitly here
26-
DEBUG=0 CC=cc CXX=CC HOST_CC=gcc HOST_CXX=g++ USE_GASNET=1 REALM_NETWORKS=gasnetex ./scripts/setup_env.py --cmake --extra="-DCMAKE_INSTALL_PREFIX=$PWD/../install" --install -j${THREADS:-16}
26+
DEBUG=0 USE_GASNET=1 REALM_NETWORKS=gasnetex ./scripts/setup_env.py --cmake --extra="-DCMAKE_INSTALL_PREFIX=$PWD/../install" --install -j${THREADS:-16}
2727
popd
2828

2929
extra_cxxflags=

0 commit comments

Comments
 (0)