Skip to content

Commit

Permalink
Add butte gitlab config (#167)
Browse files Browse the repository at this point in the history
  • Loading branch information
daboehme authored Apr 17, 2019
1 parent 0be0c47 commit ccbb52e
Show file tree
Hide file tree
Showing 2 changed files with 40 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .gitlab-ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,3 +8,15 @@ build-quartz-intel:
- mkdir build-quartz-intel && cd build-quartz-intel
- cmake -C ../cmake/hostconfig/gitlab-quartz-intel.cmake ..
- make

build-butte-xlc:
stage: build
tags:
- butte
- shell
script:
- echo "==== Build butte/xlc ===="
- module load cmake
- mkdir build-butte-xlc && cd build-butte-xlc
- cmake -C ../cmake/hostconfig/gitlab-butte-xlc.cmake ..
- make
28 changes: 28 additions & 0 deletions cmake/hostconfig/gitlab-butte-xlc.cmake
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
set(CMAKE_C_COMPILER "/usr/tce/packages/xl/xl-2019.02.07/bin/xlc" CACHE PATH "")
set(CMAKE_CXX_COMPILER "/usr/tce/packages/xl/xl-2019.02.07/bin/xlC" CACHE PATH "")

set(MPI_C_COMPILER "/usr/tce/packages/spectrum-mpi/spectrum-mpi-rolling-release-xl-2019.02.07/bin/mpicc" CACHE PATH "")
set(MPI_CXX_COMPILER "/usr/tce/packages/spectrum-mpi/spectrum-mpi-rolling-release-xl-2019.02.07/bin/mpicxx" CACHE PATH "")

set(CUDA_TOOLKIT_ROOT_DIR "/usr/tce/packages/cuda/cuda-9.2.148" CACHE PATH "")
set(CUPTI_PREFIX "/usr/tce/packages/cuda/cuda-9.2.148/extras/CUPTI" CACHE PATH "")

# DBO 2019-02-28: dyninst-10/boost installation on toss3 is broken, leading to
# undefined references or non-existing include files. Turn it off for now.
# Build with spack if dyninst is needed.
#set(CMAKE_PREFIX_PATH "/usr/tce/packages/dyninst/dyninst-10.0.0/lib/cmake" CACHE PATH "")

set(WITH_CALLPATH Off CACHE BOOL "")
set(WITH_NVPROF On CACHE BOOL "")
set(WITH_CUPTI On CACHE BOOL "")
set(WITH_PAPI Off CACHE BOOL "")
set(WITH_LIBPFM Off CACHE BOOL "")
set(WITH_DYNINST Off CACHE BOOL "") # turn off for now
set(WITH_SAMPLER On CACHE BOOL "")
set(WITH_MPI On CACHE BOOL "")
set(WITH_MPIT Off CACHE BOOL "") # default toss3 mvapich2-2.2 doesn't have any MPI-T stuff
set(WITH_GOTCHA On CACHE BOOL "")
set(WITH_VTUNE Off CACHE BOOL "")

set(WITH_DOCS Off CACHE BOOL "")
set(BUILD_TESTING On CACHE BOOL "")

0 comments on commit ccbb52e

Please sign in to comment.