-
Notifications
You must be signed in to change notification settings - Fork 128
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
0e85021
commit 248f8e4
Showing
4 changed files
with
56 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,39 @@ | ||
set(ENV{CC} gcc) | ||
set(ENV{CXX} g++) | ||
set(ENV{FC} gfortran) | ||
|
||
execute_process( | ||
COMMAND "python3-config" "--prefix" | ||
OUTPUT_VARIABLE PY_ROOT | ||
OUTPUT_STRIP_TRAILING_WHITESPACE) | ||
|
||
set(dashboard_cache " | ||
BUILD_TESTING:BOOL=ON | ||
ADIOS2_BUILD_EXAMPLES:BOOL=ON | ||
ADIOS2_USE_BZip2:BOOL=ON | ||
ADIOS2_USE_Blosc2:BOOL=ON | ||
ADIOS2_USE_DataMan:BOOL=ON | ||
ADIOS2_USE_Fortran:BOOL=ON | ||
ADIOS2_USE_HDF5:BOOL=ON | ||
ADIOS2_USE_MPI:BOOL=OFF | ||
ADIOS2_USE_Python:BOOL=ON | ||
ADIOS2_USE_SZ:BOOL=ON | ||
ADIOS2_USE_ZeroMQ:STRING=ON | ||
ADIOS2_USE_ZFP:BOOL=ON | ||
ADIOS2_USE_Kokkos:BOOL=ON | ||
Python_ROOT_DIR:PATH=${PY_ROOT} | ||
Python_FIND_STRATEGY:STRING=LOCATION | ||
Python_FIND_FRAMEWORK:STRING=FIRST | ||
CMAKE_C_COMPILER_LAUNCHER=ccache | ||
CMAKE_CXX_COMPILER_LAUNCHER=ccache | ||
CMAKE_C_FLAGS:STRING=-Wall | ||
CMAKE_CXX_FLAGS:STRING=-Wall | ||
CMAKE_Fortran_FLAGS:STRING=-Wall | ||
") | ||
|
||
set(CTEST_CMAKE_GENERATOR "Ninja") | ||
list(APPEND CTEST_UPDATE_NOTES_FILES "${CMAKE_CURRENT_LIST_FILE}") | ||
include(${CMAKE_CURRENT_LIST_DIR}/ci-common.cmake) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
#!/bin/bash | ||
|
||
set -ex | ||
|
||
# Build the base image | ||
docker build --rm --build-arg EXTRA_VARIANT="+rocm+kokkos^rocm@6.1^kokkos@4.3" -f ./Dockerfile.ci-spack-ubuntu20.04-base -t ghcr.io/ornladios/adios2:ci-spack-ubuntu20.04-rocm . | ||
|
||
# Push images to github container registry | ||
docker push ghcr.io/ornladios/adios2:ci-spack-ubuntu20.04-rocm |