-
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.
- Based them on opensuse tumbleweed to get recent versions of their packages. - Update clang/llvm to 17 - Add build-images-opensuse-tw script
- Loading branch information
1 parent
ed968c7
commit 2fc2b29
Showing
22 changed files
with
242 additions
and
214 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 was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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,59 @@ | ||
# Client maintainer: vicente.bolea@kitware.com | ||
|
||
set(ENV{CC} clang) | ||
set(ENV{CXX} clang++) | ||
|
||
#CMAKE_CXX_FLAGS=-O1 -fsanitize=memory -fsanitize-memory-track-origins -fno-optimize-sibling-calls | ||
#CMAKE_C_FLAGS=-O1 -fsanitize=memory -fsanitize-memory-track-origins -fno-optimize-sibling-calls | ||
#CMAKE_LINKER_FLAGS=-fsanitize=memory -fsanitize-memory-track-origins -fno-optimize-sibling-calls -fPIE | ||
|
||
set(dashboard_cache " | ||
CMAKE_TOOLCHAIN_FILE:FILEPATH=/opt/msan/toolchain.cmake | ||
HDF5_C_COMPILER_EXECUTABLE:FILEPATH=/opt/msan/bin/h5cc | ||
HDF5_DIFF_EXECUTABLE:FILEPATH=/opt/msan/bin/h5diff | ||
BUILD_TESTING:BOOL=ON | ||
ADIOS2_BUILD_EXAMPLES:BOOL=ON | ||
ADIOS2_USE_Fortran:STRING=OFF | ||
ADIOS2_USE_HDF5:STRING=ON | ||
ADIOS2_USE_MPI:STRING=OFF | ||
ADIOS2_USE_Python:STRING=OFF | ||
") | ||
|
||
set(dashboard_track "Analysis") | ||
list(APPEND EXCLUDE_EXPRESSIONS | ||
"Engine.BP.BPBufferSizeTest.SyncDeferredIdenticalUsage.BP3.Serial" | ||
"Engine.BP.BPBufferSizeTest.SyncDeferredIdenticalUsage.BP4.Serial" | ||
"Staging.1x1DefSync.BP3" | ||
"Staging.1x1DefSync.BP5" | ||
"Staging.1x1DataWrite.BP5" | ||
"Staging.1x1.Attrs.CommMin.BP.SST" | ||
"Staging.1x1.CommMin.BP5.SST" | ||
"Staging.1x1.ForcePreload.CommMin.BP5.SST" | ||
"Staging.1x1.ModAttrs.CommMin.BP.SST" | ||
"Staging.1x1LockGeometry.CommMin.BP5.SST" | ||
"Staging.1x1Struct.BP5" | ||
"Staging.AllToAllDistribution.1x1x3.CommMin.BP5.SST" | ||
"Staging.WriteMemorySelectionRead.1x1.CommMin.BP5.SST" | ||
"Staging.1x1.LocalMultiblock.CommMin.BP.SST" | ||
"Staging.1x1.NoPreload.CommMin.BP.SST" | ||
"Staging.TimeoutReader.1x1.CommMin.BP5.SST" | ||
"Staging.1x1.LocalMultiblock.CommMin.BP5.SST" | ||
"Staging.1x1.SstRUDP.CommMin.BP5.SST" | ||
"Staging.LatestReaderHold.1x1.CommMin.BP5.SST" | ||
"Staging.RoundRobinDistribution.1x1x3.CommMin.BP5.SST" | ||
"Staging.1x1.SstRUDP.CommMin.BP.SST" | ||
"Staging.RoundRobinDistribution.1x1x3.CommMin.BP.SST" | ||
"Staging.1x1.Attrs.CommMin.BP5.SST" | ||
) | ||
list(JOIN EXCLUDE_EXPRESSIONS "|" TEST_EXCLUDE_STRING) | ||
set(CTEST_MEMCHECK_ARGS EXCLUDE "${TEST_EXCLUDE_STRING}") | ||
|
||
set(CTEST_CMAKE_GENERATOR "Ninja") | ||
set(CTEST_BUILD_FLAGS "-k0 -j8") | ||
set(CTEST_MEMORYCHECK_TYPE "MemorySanitizer") | ||
|
||
set(ADIOS_TEST_REPEAT 0) | ||
set(CTEST_TEST_ARGS PARALLEL_LEVEL 4) | ||
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
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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,49 @@ | ||
#!/bin/bash | ||
|
||
# This script is used to build the openSUSE Tumbleweed images | ||
|
||
set -xeuo pipefail | ||
|
||
declare -r DOCKER_REPOSITORY=ghcr.io/ornladios/adios2 | ||
declare -u ENABLE_PUSH= | ||
|
||
#============================================================================= | ||
# Functions | ||
|
||
# Function to build a docker image | ||
function docker_build() { | ||
local docker_file=$1 | ||
local docker_tag=$2 | ||
local args=(--progress=plain --rm) | ||
|
||
if [[ -n "${ENABLE_PUSH}" ]]; then | ||
args+=("--push") | ||
fi | ||
|
||
sudo docker build "${args[@]}" \ | ||
--file "${docker_file}" \ | ||
--tag "${DOCKER_REPOSITORY}:${docker_tag}" \ | ||
. | ||
} | ||
|
||
function usage() { | ||
echo "Usage: $0 [-p <PROJECT>] [-m <MILESTONE>]" | ||
echo " -p Push to the docker registry" | ||
exit 0 | ||
} | ||
|
||
#============================================================================= | ||
# Main | ||
while getopts "p" o; do | ||
case "${o}" in | ||
p) ENABLE_PUSH=true ;; | ||
*) usage ;; | ||
esac | ||
done | ||
|
||
docker_build opensuse-tw-sanitizer-base.dockerfile ci-opensuse-tw-sanitizer-base | ||
docker_build opensuse-tw-full-stack-onbuild.dockerfile ci-opensuse-tw-full-stack-onbuild | ||
docker_build opensuse-tw-asan.dockerfile ci-opensuse-tw-asan | ||
docker_build opensuse-tw-msan.dockerfile ci-opensuse-tw-msan | ||
docker_build opensuse-tw-tsan.dockerfile ci-opensuse-tw-tsan | ||
docker_build opensuse-tw-ubsan.dockerfile ci-opensuse-tw-ubsan |
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,20 @@ | ||
FROM ghcr.io/ornladios/adios2:ci-opensuse-tw-sanitizer-base | ||
|
||
# Install core dev packages | ||
RUN zypper install -y --no-recommends libasan8 hdf5-devel && \ | ||
zypper clean --all | ||
|
||
# Install ZFP | ||
WORKDIR /opt/zfp | ||
RUN curl -L https://github.com/LLNL/zfp/releases/download/0.5.5/zfp-0.5.5.tar.gz | tar -xvz && \ | ||
cmake -GNinja -S zfp-0.5.5 -B build \ | ||
-DBUILD_SHARED_LIBS=ON \ | ||
-DCMAKE_BUILD_TYPE=Release \ | ||
-DCMAKE_INSTALL_PREFIX=/opt/zfp/0.5.5 \ | ||
&& \ | ||
cmake --build build && \ | ||
cmake --install build && \ | ||
rm -rf zfp-0.5.5 build | ||
ENV PATH=/opt/zfp/0.5.5/bin:${PATH} \ | ||
LD_LIBRARY_PATH=/opt/zfp/0.5.5/lib64:${LD_LIBRARY_PATH} \ | ||
CMAKE_PREFIX_PATH=/opt/zfp/0.5.5:${CMAKE_PREFIX_PATH} |
Oops, something went wrong.