Skip to content

Commit

Permalink
modify blueos scripts
Browse files Browse the repository at this point in the history
  • Loading branch information
johnbowen42 committed Jan 18, 2025
1 parent 579ff77 commit 487b376
Show file tree
Hide file tree
Showing 9 changed files with 28 additions and 0 deletions.
3 changes: 3 additions & 0 deletions scripts/lc-builds/blueos_clang.sh
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,9 @@ cmake \
-DBLT_CXX_STD=c++14 \
-C ../host-configs/lc-builds/blueos/clang_X.cmake \
-DENABLE_OPENMP=On \
-DENABLE_CLANGFORMAT=On \
-DCMAKE_EXPORT_COMPILE_COMMANDS=ON \
-DCLANGFORMAT_EXECUTABLE=/usr/tce/packages/clang/clang-14.0.4/bin/clang-format \
-DENABLE_BENCHMARKS=On \
-DCMAKE_INSTALL_PREFIX=../install_${BUILD_SUFFIX} \
"$@" \
Expand Down
3 changes: 3 additions & 0 deletions scripts/lc-builds/blueos_clang_omptarget.sh
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,9 @@ cmake \
-C ../host-configs/lc-builds/blueos/clang_X.cmake \
-DENABLE_OPENMP=On \
-DENABLE_CUDA=Off \
-DENABLE_CLANGFORMAT=On \
-DCMAKE_EXPORT_COMPILE_COMMANDS=ON \
-DCLANGFORMAT_EXECUTABLE=/usr/tce/packages/clang/clang-14.0.4/bin/clang-format \
-DRAJA_ENABLE_TARGET_OPENMP=On \
-DBLT_OPENMP_COMPILE_FLAGS="-fopenmp;-fopenmp-targets=nvptx64-nvidia-cuda" \
-DBLT_OPENMP_LINK_FLAGS="-fopenmp;-fopenmp-targets=nvptx64-nvidia-cuda" \
Expand Down
4 changes: 4 additions & 0 deletions scripts/lc-builds/blueos_clangcuda.sh
Original file line number Diff line number Diff line change
Expand Up @@ -47,9 +47,13 @@ cmake \
-C ../host-configs/lc-builds/blueos/clangcuda_X.cmake \
-DENABLE_OPENMP=Off \
-DENABLE_CLANG_CUDA=On \
-DENABLE_CLANGFORMAT=On \
-DCMAKE_EXPORT_COMPILE_COMMANDS=ON \
-DCLANGFORMAT_EXECUTABLE=/usr/tce/packages/clang/clang-14.0.4/bin/clang-format \
-DBLT_CLANG_CUDA_ARCH=${CUDA_ARCH} \
-DENABLE_CUDA=On \
-DCUDA_ARCH=${CUDA_ARCH} \
-DCMAKE_CUDA_ARCHITECTURES=${CUDA_ARCH} \
-DENABLE_BENCHMARKS=On \
-DCMAKE_INSTALL_PREFIX=../install_${BUILD_SUFFIX} \
"$@" \
Expand Down
3 changes: 3 additions & 0 deletions scripts/lc-builds/blueos_gcc.sh
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,9 @@ cmake \
-DBLT_CXX_STD=c++14 \
-C ../host-configs/lc-builds/blueos/gcc_X.cmake \
-DENABLE_OPENMP=On \
-DENABLE_CLANGFORMAT=On \
-DCMAKE_EXPORT_COMPILE_COMMANDS=ON \
-DCLANGFORMAT_EXECUTABLE=/usr/tce/packages/clang/clang-14.0.4/bin/clang-format \
-DENABLE_BENCHMARKS=On \
-DCMAKE_INSTALL_PREFIX=../install_${BUILD_SUFFIX} \
"$@" \
Expand Down
3 changes: 3 additions & 0 deletions scripts/lc-builds/blueos_nvcc_clang.sh
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,9 @@ cmake \
-DCMAKE_CUDA_COMPILER=/usr/tce/packages/cuda/cuda-${COMP_NVCC_VER}/bin/nvcc \
-DCMAKE_CUDA_ARCHITECTURES=${COMP_ARCH} \
-DENABLE_BENCHMARKS=On \
-DENABLE_CLANGFORMAT=On \
-DCMAKE_EXPORT_COMPILE_COMMANDS=ON \
-DCLANGFORMAT_EXECUTABLE=/usr/tce/packages/clang/clang-14.0.4/bin/clang-format \
-DCMAKE_INSTALL_PREFIX=../install_${BUILD_SUFFIX} \
"$@" \
..
Expand Down
3 changes: 3 additions & 0 deletions scripts/lc-builds/blueos_nvcc_gcc.sh
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,9 @@ cmake \
-DCMAKE_CUDA_COMPILER=/usr/tce/packages/cuda/cuda-${COMP_NVCC_VER}/bin/nvcc \
-DCMAKE_CUDA_ARCHITECTURES=${COMP_ARCH} \
-DENABLE_BENCHMARKS=On \
-DENABLE_CLANGFORMAT=On \
-DCMAKE_EXPORT_COMPILE_COMMANDS=ON \
-DCLANGFORMAT_EXECUTABLE=/usr/tce/packages/clang/clang-14.0.4/bin/clang-format \
-DCMAKE_INSTALL_PREFIX=../install_${BUILD_SUFFIX} \
"$@" \
..
Expand Down
3 changes: 3 additions & 0 deletions scripts/lc-builds/blueos_pgi.sh
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,9 @@ cmake \
-C ../host-configs/lc-builds/blueos/pgi_X.cmake \
-DENABLE_OPENMP=On \
-DENABLE_BENCHMARKS=On \
-DENABLE_CLANGFORMAT=On \
-DCMAKE_EXPORT_COMPILE_COMMANDS=ON \
-DCLANGFORMAT_EXECUTABLE=/usr/tce/packages/clang/clang-14.0.4/bin/clang-format \
-DCMAKE_INSTALL_PREFIX=../install_${BUILD_SUFFIX} \
"$@" \
..
3 changes: 3 additions & 0 deletions scripts/lc-builds/blueos_xl.sh
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,9 @@ cmake \
-C ../host-configs/lc-builds/blueos/xl_X.cmake \
-DENABLE_OPENMP=On \
-DENABLE_BENCHMARKS=On \
-DENABLE_CLANGFORMAT=On \
-DCMAKE_EXPORT_COMPILE_COMMANDS=ON \
-DCLANGFORMAT_EXECUTABLE=/usr/tce/packages/clang/clang-14.0.4/bin/clang-format \
-DCMAKE_INSTALL_PREFIX=../install_${BUILD_SUFFIX} \
"$@" \
..
3 changes: 3 additions & 0 deletions scripts/lc-builds/blueos_xl_omptarget.sh
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,9 @@ cmake \
-DBLT_OPENMP_COMPILE_FLAGS="-qoffload;-qsmp=omp;-qalias=noansi" \
-DBLT_OPENMP_LINK_FLAGS="-qoffload;-qsmp=omp;-qalias=noansi" \
-DENABLE_BENCHMARKS=On \
-DENABLE_CLANGFORMAT=On \
-DCMAKE_EXPORT_COMPILE_COMMANDS=ON \
-DCLANGFORMAT_EXECUTABLE=/usr/tce/packages/clang/clang-14.0.4/bin/clang-format \
-DCMAKE_INSTALL_PREFIX=../install_${BUILD_SUFFIX} \
"$@" \
..

0 comments on commit 487b376

Please sign in to comment.