diff --git a/.jenkins/cscs-perftests/Jenkinsfile b/.jenkins/cscs-perftests/Jenkinsfile deleted file mode 100644 index 33f3d4ac8b16..000000000000 --- a/.jenkins/cscs-perftests/Jenkinsfile +++ /dev/null @@ -1,73 +0,0 @@ -#!groovy - -// Copyright (c) 2020 ETH Zurich -// -// SPDX-License-Identifier: BSL-1.0 -// Distributed under the Boost Software License, Version 1.0. (See accompanying -// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) - -pipeline { - agent { - node { - label 'ssl_daintvm1' - } - } - options { - buildDiscarder( - logRotator( - daysToKeepStr: "14", - numToKeepStr: "50", - artifactDaysToKeepStr: "14", - artifactNumToKeepStr: "50" - ) - ) - } - environment { - SPACK_ROOT = '/apps/daint/SSL/HPX/spack' - GITHUB_TOKEN = credentials('STELLARBOT_GITHUB_TOKEN') - } - stages { - stage('checkout') { - steps { - dir('hpx') { - sh ''' - #!/bin/bash -l - rm -rf * - ''' - checkout scm - echo "Running ${env.BUILD_ID} on ${env.JENKINS_URL}" - } - } - } - stage('perftests') { - matrix { - axes { - axis { - name 'configuration_name' - values 'perftests' - } - } - stages { - stage('perftests') { - steps { - dir('hpx') { - sh ''' - #!/bin/bash -l - .jenkins/cscs-perftests/entry.sh - ''' - } - } - } - } - } - } - } - - post { - always { - archiveArtifacts artifacts: 'hpx/jenkins-hpx-*', fingerprint: true - archiveArtifacts artifacts: 'hpx/*-Testing/**', fingerprint: true - archiveArtifacts artifacts: 'hpx/*-reports/**', fingerprint: true - } - } -} diff --git a/.jenkins/cscs-perftests/batch.sh b/.jenkins/cscs-perftests/batch.sh deleted file mode 100755 index c48b03855c17..000000000000 --- a/.jenkins/cscs-perftests/batch.sh +++ /dev/null @@ -1,64 +0,0 @@ -#!/bin/bash -l - -# Copyright (c) 2020 ETH Zurich -# -# SPDX-License-Identifier: BSL-1.0 -# Distributed under the Boost Software License, Version 1.0. (See accompanying -# file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) - -set -eux - -# Computes the status of the job and store the artifacts -status_computation_and_artifacts_storage() { - ctest_exit_code=$? - ctest_status=$(( ctest_exit_code + configure_build_errors + test_errors + plot_errors )) - - # Copy the testing directory for saving as an artifact - cp -r ${build_dir}/Testing ${orig_src_dir}/${configuration_name}-Testing - cp -r ${build_dir}/reports ${orig_src_dir}/${configuration_name}-reports - - echo "${ctest_status}" > "jenkins-hpx-${configuration_name}-ctest-status.txt" - exit $ctest_status -} - -trap "status_computation_and_artifacts_storage" EXIT - -orig_src_dir="$(pwd)" -src_dir="/dev/shm/hpx/src" -build_dir="/dev/shm/hpx/build" - -mkdir -p ${build_dir}/tools -# Copy source directory to /dev/shm for faster builds and copy the perftest -# utility in the build dir -cp -r "${orig_src_dir}" "${src_dir}" && \ - cp -r ${src_dir}/tools/perftests_ci ${build_dir}/tools & - -# Variables -perftests_dir=${build_dir}/tools/perftests_ci -envfile=${src_dir}/.jenkins/cscs-perftests/env-${configuration_name}.sh -mkdir -p ${build_dir}/reports -logfile=${build_dir}/reports/jenkins-hpx-${configuration_name}.log - -# Load python packages -source /apps/daint/SSL/HPX/virtual_envs/perftests_env/bin/activate - -# Things went alright by default -configure_build_errors=0 -test_errors=0 -plot_errors=0 - -# Synchronize after the asynchronous copy from the source dir -wait - -# Build and Run the perftests -source ${src_dir}/.jenkins/cscs-perftests/launch_perftests.sh - -# Dummy ctest to upload the html report of the perftest -set +e -ctest \ - --verbose \ - -S ${src_dir}/.jenkins/cscs-perftests/ctest.cmake \ - -DCTEST_BUILD_CONFIGURATION_NAME="${configuration_name}" \ - -DCTEST_SOURCE_DIRECTORY="${src_dir}" \ - -DCTEST_BINARY_DIRECTORY="${build_dir}" -set -e diff --git a/.jenkins/cscs-perftests/comment_github.sh b/.jenkins/cscs-perftests/comment_github.sh deleted file mode 100755 index 8923f98cbce2..000000000000 --- a/.jenkins/cscs-perftests/comment_github.sh +++ /dev/null @@ -1,28 +0,0 @@ -#!/bin/bash -l - -# Copyright (c) 2021 ETH Zurich -# -# SPDX-License-Identifier: BSL-1.0 -# Distributed under the Boost Software License, Version 1.0. (See accompanying -# file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) - -set -eux - -pushd perftests-reports/reference-comparison - -# In the order of replacement rule in sed: -# - Remove the image as does not display in github comments (section Details in the report) -# - Escape double quotes for JSON compatibility -# - Escape slashes for JSON compatibility -report=$(cat index.html | \ - sed -e 's:

Details[-a-z0-9<>/"=\ \.]*

::Ig' \ - -e 's/"/\\"/g' \ - -e 's/\//\\\//g') - -curl \ - -X POST \ - -H "Authorization: token ${GITHUB_TOKEN}" \ - https://api.github.com/repos/STEllAR-GROUP/hpx/issues/${ghprbPullId}/comments \ - -d "{\"body\": \"
Performance test report${report}<\/details>\"}" - -popd diff --git a/.jenkins/cscs-perftests/ctest.cmake b/.jenkins/cscs-perftests/ctest.cmake deleted file mode 100644 index 62db5a2398c5..000000000000 --- a/.jenkins/cscs-perftests/ctest.cmake +++ /dev/null @@ -1,30 +0,0 @@ -# Copyright (c) 2020 ETH Zurich -# Copyright (c) 2017 John Biddiscombe -# -# SPDX-License-Identifier: BSL-1.0 -# Distributed under the Boost Software License, Version 1.0. (See accompanying -# file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) - -# This is a dummy file to trigger the upload of the perftests reports -cmake_minimum_required(VERSION 3.1 FATAL_ERROR) - -set(CTEST_TEST_TIMEOUT 300) -set(CTEST_BUILD_PARALLELISM 20) -set(CTEST_SITE "cscs(daint)") -set(CTEST_UPDATE_COMMAND "git") -set(CTEST_UPDATE_VERSION_ONLY "ON") -set(CTEST_SUBMIT_RETRY_COUNT 5) -set(CTEST_SUBMIT_RETRY_DELAY 60) - -if(NOT "$ENV{ghprbPullId}" STREQUAL "") - set(CTEST_BUILD_NAME "$ENV{ghprbPullId}-${CTEST_BUILD_CONFIGURATION_NAME}") - set(CTEST_TRACK "Experimental") -else() - set(CTEST_BUILD_NAME - "$ENV{git_local_branch}-${CTEST_BUILD_CONFIGURATION_NAME}" - ) - set(CTEST_TRACK "$ENV{git_local_branch}") -endif() - -ctest_start(Experimental TRACK "${CTEST_TRACK}") -ctest_update() diff --git a/.jenkins/cscs-perftests/entry.sh b/.jenkins/cscs-perftests/entry.sh deleted file mode 100755 index 45ece09bf6bc..000000000000 --- a/.jenkins/cscs-perftests/entry.sh +++ /dev/null @@ -1,58 +0,0 @@ -#!/bin/bash -l - -# Copyright (c) 2020 ETH Zurich -# -# SPDX-License-Identifier: BSL-1.0 -# Distributed under the Boost Software License, Version 1.0. (See accompanying -# file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) - -# Make undefined variables errors, print each command -set -eux - -# Clean up old artifacts -rm -f ./jenkins-hpx* ./*-Testing - -source .jenkins/cscs-perftests/slurm-constraint-${configuration_name}.sh - -if [[ -z "${ghprbPullId:-}" ]]; then - # Set name of branch if not building a pull request - export git_local_branch=$(echo ${GIT_BRANCH} | cut -f2 -d'/') - job_name="jenkins-hpx-${git_local_branch}-${configuration_name}" -else - job_name="jenkins-hpx-${ghprbPullId}-${configuration_name}" - - # Cancel currently running builds on the same branch, but only for pull - # requests - scancel --account="djenkssl" --jobname="${job_name}" -fi - -# Start the actual build -set +e -sbatch \ - --job-name="${job_name}" \ - --nodes="1" \ - --constraint="${configuration_slurm_constraint}" \ - --partition="cscsci" \ - --account="djenkssl" \ - --time="01:30:00" \ - --output="jenkins-hpx-${configuration_name}.out" \ - --error="jenkins-hpx-${configuration_name}.err" \ - --wait .jenkins/cscs-perftests/batch.sh - -# Print slurm logs -echo "= stdout ==================================================" -cat jenkins-hpx-${configuration_name}.out - -echo "= stderr ==================================================" -cat jenkins-hpx-${configuration_name}.err - -# Get build status -status_file="jenkins-hpx-${configuration_name}-ctest-status.txt" - -# Comment on the PR if any failures -if [[ $(cat ${status_file}) != 0 ]]; then - ./.jenkins/cscs-perftests/comment_github.sh -fi - -set -e -exit $(cat ${status_file}) diff --git a/.jenkins/cscs-perftests/env-perftests.sh b/.jenkins/cscs-perftests/env-perftests.sh deleted file mode 100644 index e815e13138d2..000000000000 --- a/.jenkins/cscs-perftests/env-perftests.sh +++ /dev/null @@ -1,28 +0,0 @@ -# Copyright (c) 2020 ETH Zurich -# -# SPDX-License-Identifier: BSL-1.0 -# Distributed under the Boost Software License, Version 1.0. (See accompanying -# file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) -set -eu - -source $SPACK_ROOT/share/spack/setup-env.sh - -export CRAYPE_LINK_TYPE=dynamic -export APPS_ROOT="/apps/daint/SSL/HPX/packages" -export CLANG_VER="11.0.0" -export CXX_STD="17" -export BOOST_VER="1.74.0" -export HWLOC_VER="2.2.0" -export CLANG_ROOT="${APPS_ROOT}/llvm-${CLANG_VER}" -export BOOST_ROOT="${APPS_ROOT}/boost-${BOOST_VER}-clang-${CLANG_VER}-c++${CXX_STD}-release" -export HWLOC_ROOT="${APPS_ROOT}/hwloc-${HWLOC_VER}-gcc-10.2.0" -export CXXFLAGS="-Wno-unused-command-line-argument -stdlib=libc++ -nostdinc++ -I${CLANG_ROOT}/include/c++/v1 -L${CLANG_ROOT}/lib -Wl,-rpath,${CLANG_ROOT}/lib,-lsupc++" -export LDCXXFLAGS="-stdlib=libc++ -L${CLANG_ROOT}/lib -Wl,-rpath,${CLANG_ROOT}/lib,-lsupc++" -export CXX="${CLANG_ROOT}/bin/clang++" -export CC="${CLANG_ROOT}/bin/clang" -export CPP="${CLANG_ROOT}/bin/clang -E" - -module load cray-jemalloc/5.1.0.3 -module load daint-mc -spack load cmake@3.18.6 -spack load ninja@1.10.0 diff --git a/.jenkins/cscs-perftests/launch_perftests.sh b/.jenkins/cscs-perftests/launch_perftests.sh deleted file mode 100644 index e0deade7f7b2..000000000000 --- a/.jenkins/cscs-perftests/launch_perftests.sh +++ /dev/null @@ -1,72 +0,0 @@ -#!/bin/bash -l - -# Copyright (c) 2020 ETH Zurich -# -# SPDX-License-Identifier: BSL-1.0 -# Distributed under the Boost Software License, Version 1.0. (See accompanying -# file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) - -set -ex - -hpx_targets=( - "foreach_report_test" - "future_overhead_report_test" - "stream_report_test") -hpx_test_options=( - "--hpx:ini=hpx.thread_queue.init_threads_count=100 \ - --hpx:threads=4 --vector_size=10000 --work_delay=1 \ - --chunk_size=0 --test_count=5000" - "--hpx:ini=hpx.thread_queue.init_threads_count=100 \ - --hpx:queuing=local-priority --hpx:threads=4 --test-all \ - --repetitions=100 --futures=500000" - "--hpx:ini=hpx.thread_queue.init_threads_count=100 \ - --vector_size=1048576 --hpx:threads=4 --iterations=5000 \ - --warmup_iterations=500") - -# Build binaries for performance tests -${perftests_dir}/driver.py -v -l $logfile build -b release -o build \ - --source-dir ${src_dir} --build-dir ${build_dir} -e $envfile \ - -t "${hpx_targets[@]}" || - { - echo 'Build failed' - configure_build_errors=1 - exit 1 - } - -index=0 -result_files="" - -# Run and compare for each targets specified -for executable in "${hpx_targets[@]}"; do - test_opts=${hpx_test_options[$index]} - result=${build_dir}/reports/${executable}.json - reference=${perftests_dir}/perftest/references/daint_default/${executable}.json - result_files+=(${result}) - references_files+=(${reference}) - logfile_tmp=log_perftests_${executable}.tmp - - run_command=("./bin/${executable} ${test_opts}") - - # TODO: make schedulers and other options vary - - # Run performance tests - ${perftests_dir}/driver.py -v -l $logfile_tmp perftest run --local True \ - --run_output $result --targets-and-opts "${run_command[@]}" || - { - echo 'Running failed' - test_errors=1 - exit 1 - } - - index=$((index + 1)) -done - -# Plot comparison of current result with references -${perftests_dir}/driver.py -v -l $logfile perftest plot compare --references \ - ${references_files[@]} --results ${result_files[@]} \ - -o ${build_dir}/reports/reference-comparison || - { - echo 'Plotting failed: performance drop or unknown' - plot_errors=1 - exit 1 - } diff --git a/.jenkins/cscs-perftests/slurm-constraint-perftests.sh b/.jenkins/cscs-perftests/slurm-constraint-perftests.sh deleted file mode 100644 index 1f9f300cc8fd..000000000000 --- a/.jenkins/cscs-perftests/slurm-constraint-perftests.sh +++ /dev/null @@ -1,7 +0,0 @@ -# Copyright (c) 2020 ETH Zurich -# -# SPDX-License-Identifier: BSL-1.0 -# Distributed under the Boost Software License, Version 1.0. (See accompanying -# file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) - -configuration_slurm_constraint="mc" diff --git a/.jenkins/cscs/Jenkinsfile b/.jenkins/cscs/Jenkinsfile deleted file mode 100644 index 3952d18f286c..000000000000 --- a/.jenkins/cscs/Jenkinsfile +++ /dev/null @@ -1,74 +0,0 @@ -#!groovy - -// Copyright (c) 2020 ETH Zurich -// -// SPDX-License-Identifier: BSL-1.0 -// Distributed under the Boost Software License, Version 1.0. (See accompanying -// file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) - -pipeline { - agent { - node { - label 'ssl_daintvm1' - } - } - options { - buildDiscarder( - logRotator( - daysToKeepStr: "14", - numToKeepStr: "50", - artifactDaysToKeepStr: "14", - artifactNumToKeepStr: "50" - ) - ) - } - environment { - SPACK_ROOT = '/apps/daint/SSL/HPX/spack' - GITHUB_TOKEN = credentials('STELLARBOT_GITHUB_TOKEN') - } - stages { - stage('checkout') { - steps { - dir('hpx') { - checkout scm - echo "Running ${env.BUILD_ID} on ${env.JENKINS_URL}" - } - } - } - stage('build') { - matrix { - axes { - // Configurations are currently disabled to reduce the - // number of node-hours consumed - axis { - name 'configuration_name' - values 'gcc-11', 'clang-10', 'clang-13' - } - axis { - name 'build_type' - values 'Debug' - } - } - stages { - stage('build') { - steps { - dir('hpx') { - sh ''' - #!/bin/bash -l - .jenkins/cscs/entry.sh - ''' - } - } - } - } - } - } - } - - post { - always { - archiveArtifacts artifacts: 'hpx/jenkins-hpx-*', fingerprint: true - archiveArtifacts artifacts: 'hpx/*-Testing/**', fingerprint: true - } - } -} diff --git a/.jenkins/cscs/batch.sh b/.jenkins/cscs/batch.sh deleted file mode 100755 index bf7a1eedb96e..000000000000 --- a/.jenkins/cscs/batch.sh +++ /dev/null @@ -1,61 +0,0 @@ -#!/bin/bash -l - -# Copyright (c) 2020 ETH Zurich -# -# SPDX-License-Identifier: BSL-1.0 -# Distributed under the Boost Software License, Version 1.0. (See accompanying -# file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) - -set -eux - -orig_src_dir="$(pwd)" -src_dir="/dev/shm/hpx/src" -build_dir="/dev/shm/hpx/build" -install_dir="/dev/shm/hpx/install" - -# Copy source directory to /dev/shm for faster builds -mkdir -p "${build_dir}" -cp -r "${orig_src_dir}" "${src_dir}" - -source ${src_dir}/.jenkins/cscs/env-common.sh -source ${src_dir}/.jenkins/cscs/env-${configuration_name}.sh - -set +e -ctest \ - --verbose \ - -S ${src_dir}/.jenkins/cscs/ctest.cmake \ - -DCTEST_CONFIGURE_EXTRA_OPTIONS="${configure_extra_options} -DCMAKE_INSTALL_PREFIX=${install_dir}" \ - -DCTEST_BUILD_CONFIGURATION_NAME="${configuration_name_with_build_type}" \ - -DCTEST_SOURCE_DIRECTORY="${src_dir}" \ - -DCTEST_BINARY_DIRECTORY="${build_dir}" -set -e - -# Copy the testing directory for saving as an artifact -cp -r ${build_dir}/Testing ${orig_src_dir}/${configuration_name_with_build_type}-Testing - -# Things went wrong by default -ctest_exit_code=$? -file_errors=1 -configure_errors=1 -build_errors=1 -test_errors=1 -if [[ -f ${build_dir}/Testing/TAG ]]; then - file_errors=0 - tag="$(head -n 1 ${build_dir}/Testing/TAG)" - - if [[ -f "${build_dir}/Testing/${tag}/Configure.xml" ]]; then - configure_errors=$(grep '' "${build_dir}/Testing/${tag}/Configure.xml" | wc -l) - fi - - if [[ -f "${build_dir}/Testing/${tag}/Build.xml" ]]; then - build_errors=$(grep '' "${build_dir}/Testing/${tag}/Build.xml" | wc -l) - fi - - if [[ -f "${build_dir}/Testing/${tag}/Test.xml" ]]; then - test_errors=$(grep '' "${build_dir}/Testing/${tag}/Test.xml" | wc -l) - fi -fi -ctest_status=$(( ctest_exit_code + file_errors + configure_errors + build_errors + test_errors )) - -echo "${ctest_status}" > "jenkins-hpx-${configuration_name_with_build_type}-ctest-status.txt" -exit $ctest_status diff --git a/.jenkins/cscs/boost_user_config_cray_clang.hpp b/.jenkins/cscs/boost_user_config_cray_clang.hpp deleted file mode 100644 index 7fca8451ab77..000000000000 --- a/.jenkins/cscs/boost_user_config_cray_clang.hpp +++ /dev/null @@ -1,417 +0,0 @@ -// (C) Copyright Boost.org 2001. -// Do not check in modified versions of this file, -// This file may be customised by the end user, but not by boost. - -// hpx-no-inspect - -// This file is used for compiling with the Cray clang compiler in CUDA mode. -// It's a concatenation of the nvcc and clang compiler configuration headers, -// with the exception that BOOST_HAS_FLOAT128 has been unconditionally -// disabled. It will hopefully not be necessary once either the Cray clang -// compiler or Boost gets a fix to their detection code. - -// NVIDIA CUDA C++ compiler setup - -#if defined __CUDACC__ -#ifndef BOOST_COMPILER -# define BOOST_COMPILER "NVIDIA CUDA C++ Compiler" -#endif - -#if defined(__CUDACC_VER_MAJOR__) && defined(__CUDACC_VER_MINOR__) && defined(__CUDACC_VER_BUILD__) -# define BOOST_CUDA_VERSION (__CUDACC_VER_MAJOR__ * 1000000 + __CUDACC_VER_MINOR__ * 10000 + __CUDACC_VER_BUILD__) -#else -// We don't really know what the CUDA version is, but it's definitely before 7.5: -# define BOOST_CUDA_VERSION 7000000 -#endif - -// NVIDIA Specific support -// BOOST_GPU_ENABLED : Flag a function or a method as being enabled on the host and device -#define BOOST_GPU_ENABLED __host__ __device__ - -// A bug in version 7.0 of CUDA prevents use of variadic templates in some occasions -// https://svn.boost.org/trac/boost/ticket/11897 -// This is fixed in 7.5. As the following version macro was introduced in 7.5 -// an existence check is enough to detect versions < 7.5 -#if BOOST_CUDA_VERSION < 7050000 -# define BOOST_NO_CXX11_VARIADIC_TEMPLATES -#endif -// The same bug is back again in 8.0: -#if (BOOST_CUDA_VERSION > 8000000) && (BOOST_CUDA_VERSION < 8010000) -# define BOOST_NO_CXX11_VARIADIC_TEMPLATES -#endif -// CUDA (8.0) has no constexpr support in msvc mode: -#if defined(_MSC_VER) && (BOOST_CUDA_VERSION < 9000000) -# define BOOST_NO_CXX11_CONSTEXPR -#endif - -#ifdef __CUDACC__ -// -// When compiing .cu files, there's a bunch of stuff that doesn't work with msvc: -// -#if defined(_MSC_VER) -# define BOOST_NO_CXX14_DIGIT_SEPARATORS -# define BOOST_NO_CXX11_UNICODE_LITERALS -#endif -// -// And this one effects the NVCC front end, -// See https://svn.boost.org/trac/boost/ticket/13049 -// -#if (BOOST_CUDA_VERSION >= 8000000) && (BOOST_CUDA_VERSION < 8010000) -# define BOOST_NO_CXX11_NOEXCEPT -#endif - -#endif -#endif - -// Clang compiler setup - -// define this to disable all config options, -// excluding the user config. Use if your -// setup is fully ISO compliant, and has no -// useful extensions, or for autoconf generated -// setups: -#ifndef BOOST_NO_CONFIG -# define BOOST_NO_CONFIG -#endif - -#define BOOST_HAS_PRAGMA_ONCE - -// Detecting `-fms-extension` compiler flag assuming that _MSC_VER defined when that flag is used. -#if defined (_MSC_VER) && (__clang_major__ > 3 || (__clang_major__ == 3 && __clang_minor__ >= 4)) -# define BOOST_HAS_PRAGMA_DETECT_MISMATCH -#endif - -// When compiling with clang before __has_extension was defined, -// even if one writes 'defined(__has_extension) && __has_extension(xxx)', -// clang reports a compiler error. So the only workaround found is: - -#ifndef __has_extension -#define __has_extension __has_feature -#endif - -#ifndef __has_attribute -#define __has_attribute(x) 0 -#endif - -#ifndef __has_cpp_attribute -#define __has_cpp_attribute(x) 0 -#endif - -#if !__has_feature(cxx_exceptions) && !defined(BOOST_NO_EXCEPTIONS) -# define BOOST_NO_EXCEPTIONS -#endif - -#if !__has_feature(cxx_rtti) && !defined(BOOST_NO_RTTI) -# define BOOST_NO_RTTI -#endif - -#if !__has_feature(cxx_rtti) && !defined(BOOST_NO_TYPEID) -# define BOOST_NO_TYPEID -#endif - -#if !__has_feature(cxx_thread_local) -# define BOOST_NO_CXX11_THREAD_LOCAL -#endif - -#ifdef __is_identifier -#if !__is_identifier(__int64) && !defined(__GNUC__) -# define BOOST_HAS_MS_INT64 -#endif -#endif - -#if __has_include() -# define BOOST_HAS_STDINT_H -#endif - -// See note at top of file and in .jenkins/cscs/env-clang-cuda.sh. -//#if (defined(linux) || defined(__linux) || defined(__linux__) || defined(__GNU__) || defined(__GLIBC__)) && !defined(_CRAYC) -//#if (__clang_major__ >= 4) && defined(__has_include) -//#if __has_include() -//# define BOOST_HAS_FLOAT128 -//#endif -//#endif -//#endif - -#define BOOST_HAS_NRVO - -// Branch prediction hints -#if !defined (__c2__) && defined(__has_builtin) -#if __has_builtin(__builtin_expect) -#define BOOST_LIKELY(x) __builtin_expect(x, 1) -#define BOOST_UNLIKELY(x) __builtin_expect(x, 0) -#endif -#endif - -// Clang supports "long long" in all compilation modes. -#define BOOST_HAS_LONG_LONG - -// -// We disable this if the compiler is really nvcc with C++03 as it -// doesn't actually support __int128 as of CUDA_VERSION=7500 -// even though it defines __SIZEOF_INT128__. -// See https://svn.boost.org/trac/boost/ticket/10418 -// https://svn.boost.org/trac/boost/ticket/11852 -// Only re-enable this for nvcc if you're absolutely sure -// of the circumstances under which it's supported. -// Similarly __SIZEOF_INT128__ is defined when targeting msvc -// compatibility even though the required support functions are absent. -// -#if defined(__CUDACC__) -# if defined(BOOST_GCC_CXX11) -# define BOOST_NVCC_CXX11 -# else -# define BOOST_NVCC_CXX03 -# endif -#endif - -#if defined(__SIZEOF_INT128__) && !defined(BOOST_NVCC_CXX03) && !defined(_MSC_VER) -# define BOOST_HAS_INT128 -#endif - - -// -// Dynamic shared object (DSO) and dynamic-link library (DLL) support -// -#if defined(_WIN32) || defined(__WIN32__) || defined(WIN32) || defined(__CYGWIN__) -# define BOOST_HAS_DECLSPEC -# define BOOST_SYMBOL_EXPORT __attribute__((__dllexport__)) -# define BOOST_SYMBOL_IMPORT __attribute__((__dllimport__)) -#else -# define BOOST_SYMBOL_EXPORT __attribute__((__visibility__("default"))) -# define BOOST_SYMBOL_VISIBLE __attribute__((__visibility__("default"))) -# define BOOST_SYMBOL_IMPORT -#endif - -// -// The BOOST_FALLTHROUGH macro can be used to annotate implicit fall-through -// between switch labels. -// -#if __cplusplus >= 201103L && defined(__has_warning) -# if __has_feature(cxx_attributes) && __has_warning("-Wimplicit-fallthrough") -# define BOOST_FALLTHROUGH [[clang::fallthrough]] -# endif -#endif - -#if !__has_feature(cxx_auto_type) -# define BOOST_NO_CXX11_AUTO_DECLARATIONS -# define BOOST_NO_CXX11_AUTO_MULTIDECLARATIONS -#endif - -// -// Currently clang on Windows using VC++ RTL does not support C++11's char16_t or char32_t -// -#if (defined(_MSC_VER) && (_MSC_VER < 1900)) || !(defined(__GXX_EXPERIMENTAL_CXX0X__) || __cplusplus >= 201103L) -# define BOOST_NO_CXX11_CHAR16_T -# define BOOST_NO_CXX11_CHAR32_T -#endif - -#if defined(_MSC_VER) && (_MSC_VER >= 1800) && !defined(__GNUC__) -#define BOOST_HAS_EXPM1 -#define BOOST_HAS_LOG1P -#endif - -#if !__has_feature(cxx_constexpr) -# define BOOST_NO_CXX11_CONSTEXPR -#endif - -#if !__has_feature(cxx_decltype) -# define BOOST_NO_CXX11_DECLTYPE -#endif - -#if !__has_feature(cxx_decltype_incomplete_return_types) -# define BOOST_NO_CXX11_DECLTYPE_N3276 -#endif - -#if !__has_feature(cxx_defaulted_functions) -# define BOOST_NO_CXX11_DEFAULTED_FUNCTIONS -#endif - -#if !__has_feature(cxx_deleted_functions) -# define BOOST_NO_CXX11_DELETED_FUNCTIONS -#endif - -#if !__has_feature(cxx_explicit_conversions) -# define BOOST_NO_CXX11_EXPLICIT_CONVERSION_OPERATORS -#endif - -#if !__has_feature(cxx_default_function_template_args) -# define BOOST_NO_CXX11_FUNCTION_TEMPLATE_DEFAULT_ARGS -#endif - -#if !__has_feature(cxx_generalized_initializers) -# define BOOST_NO_CXX11_HDR_INITIALIZER_LIST -#endif - -#if !__has_feature(cxx_lambdas) -# define BOOST_NO_CXX11_LAMBDAS -#endif - -#if !__has_feature(cxx_local_type_template_args) -# define BOOST_NO_CXX11_LOCAL_CLASS_TEMPLATE_PARAMETERS -#endif - -#if !__has_feature(cxx_noexcept) -# define BOOST_NO_CXX11_NOEXCEPT -#endif - -#if !__has_feature(cxx_nullptr) -# define BOOST_NO_CXX11_NULLPTR -#endif - -#if !__has_feature(cxx_range_for) -# define BOOST_NO_CXX11_RANGE_BASED_FOR -#endif - -#if !__has_feature(cxx_raw_string_literals) -# define BOOST_NO_CXX11_RAW_LITERALS -#endif - -#if !__has_feature(cxx_reference_qualified_functions) -# define BOOST_NO_CXX11_REF_QUALIFIERS -#endif - -#if !__has_feature(cxx_generalized_initializers) -# define BOOST_NO_CXX11_UNIFIED_INITIALIZATION_SYNTAX -#endif - -#if !__has_feature(cxx_rvalue_references) -# define BOOST_NO_CXX11_RVALUE_REFERENCES -#endif - -#if !__has_feature(cxx_strong_enums) -# define BOOST_NO_CXX11_SCOPED_ENUMS -#endif - -#if !__has_feature(cxx_static_assert) -# define BOOST_NO_CXX11_STATIC_ASSERT -#endif - -#if !__has_feature(cxx_alias_templates) -# define BOOST_NO_CXX11_TEMPLATE_ALIASES -#endif - -#if !__has_feature(cxx_unicode_literals) -# define BOOST_NO_CXX11_UNICODE_LITERALS -#endif - -#if !__has_feature(cxx_variadic_templates) -# define BOOST_NO_CXX11_VARIADIC_TEMPLATES -#endif - -#if !__has_feature(cxx_user_literals) -# define BOOST_NO_CXX11_USER_DEFINED_LITERALS -#endif - -#if !__has_feature(cxx_alignas) -# define BOOST_NO_CXX11_ALIGNAS -#endif - -#if !__has_feature(cxx_trailing_return) -# define BOOST_NO_CXX11_TRAILING_RESULT_TYPES -#endif - -#if !__has_feature(cxx_inline_namespaces) -# define BOOST_NO_CXX11_INLINE_NAMESPACES -#endif - -#if !__has_feature(cxx_override_control) -# define BOOST_NO_CXX11_FINAL -#endif - -#if !__has_feature(cxx_unrestricted_unions) -# define BOOST_NO_CXX11_UNRESTRICTED_UNION -#endif - -#if !(__has_feature(__cxx_binary_literals__) || __has_extension(__cxx_binary_literals__)) -# define BOOST_NO_CXX14_BINARY_LITERALS -#endif - -#if !__has_feature(__cxx_decltype_auto__) -# define BOOST_NO_CXX14_DECLTYPE_AUTO -#endif - -#if !__has_feature(__cxx_aggregate_nsdmi__) -# define BOOST_NO_CXX14_AGGREGATE_NSDMI -#endif - -#if !__has_feature(__cxx_init_captures__) -# define BOOST_NO_CXX14_INITIALIZED_LAMBDA_CAPTURES -#endif - -#if !__has_feature(__cxx_generic_lambdas__) -# define BOOST_NO_CXX14_GENERIC_LAMBDAS -#endif - -// clang < 3.5 has a defect with dependent type, like following. -// -// template -// constexpr typename enable_if >::type foo(T &) -// { } // error: no return statement in constexpr function -// -// This issue also affects C++11 mode, but C++11 constexpr requires return stmt. -// Therefore we don't care such case. -// -// Note that we can't check Clang version directly as the numbering system changes depending who's -// creating the Clang release (see https://github.com/boostorg/config/pull/39#issuecomment-59927873) -// so instead verify that we have a feature that was introduced at the same time as working C++14 -// constexpr (generic lambda's in this case): -// -#if !__has_feature(__cxx_generic_lambdas__) || !__has_feature(__cxx_relaxed_constexpr__) -# define BOOST_NO_CXX14_CONSTEXPR -#endif - -#if !__has_feature(__cxx_return_type_deduction__) -# define BOOST_NO_CXX14_RETURN_TYPE_DEDUCTION -#endif - -#if !__has_feature(__cxx_variable_templates__) -# define BOOST_NO_CXX14_VARIABLE_TEMPLATES -#endif - -#if !defined(__cpp_structured_bindings) || (__cpp_structured_bindings < 201606) -# define BOOST_NO_CXX17_STRUCTURED_BINDINGS -#endif - -#if !defined(__cpp_if_constexpr) || (__cpp_if_constexpr < 201606) -# define BOOST_NO_CXX17_IF_CONSTEXPR -#endif - -// Clang 3.9+ in c++1z -#if !__has_cpp_attribute(fallthrough) || __cplusplus < 201406L -# define BOOST_NO_CXX17_INLINE_VARIABLES -# define BOOST_NO_CXX17_FOLD_EXPRESSIONS -#endif - -#if __cplusplus < 201103L -#define BOOST_NO_CXX11_SFINAE_EXPR -#endif - -#if __cplusplus < 201400 -// All versions with __cplusplus above this value seem to support this: -# define BOOST_NO_CXX14_DIGIT_SEPARATORS -#endif -// -// __builtin_unreachable: -#if defined(__has_builtin) && __has_builtin(__builtin_unreachable) -#define BOOST_UNREACHABLE_RETURN(x) __builtin_unreachable(); -#endif - -#if (__clang_major__ == 3) && (__clang_minor__ == 0) -// Apparently a clang bug: -# define BOOST_NO_CXX11_FIXED_LENGTH_VARIADIC_TEMPLATE_EXPANSION_PACKS -#endif - -// Clang has supported the 'unused' attribute since the first release. -#define BOOST_ATTRIBUTE_UNUSED __attribute__((__unused__)) - -// Type aliasing hint. -#if __has_attribute(__may_alias__) -# define BOOST_MAY_ALIAS __attribute__((__may_alias__)) -#endif - -#ifndef BOOST_COMPILER -# define BOOST_COMPILER "Clang version " __clang_version__ -#endif - -// Macro used to identify the Clang compiler. -#define BOOST_CLANG 1 diff --git a/.jenkins/cscs/ctest.cmake b/.jenkins/cscs/ctest.cmake deleted file mode 100644 index 1d7a6c83657e..000000000000 --- a/.jenkins/cscs/ctest.cmake +++ /dev/null @@ -1,62 +0,0 @@ -# Copyright (c) 2020 ETH Zurich -# Copyright (c) 2017 John Biddiscombe -# -# SPDX-License-Identifier: BSL-1.0 -# Distributed under the Boost Software License, Version 1.0. (See accompanying -# file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) - -cmake_minimum_required(VERSION 3.1 FATAL_ERROR) - -set(CTEST_TEST_TIMEOUT 300) -set(CTEST_BUILD_PARALLELISM 20) -set(CTEST_TEST_PARALLELISM 4) -set(CTEST_CMAKE_GENERATOR Ninja) -set(CTEST_SITE "cscs(daint)") -set(CTEST_UPDATE_COMMAND "git") -set(CTEST_UPDATE_VERSION_ONLY "ON") -set(CTEST_SUBMIT_RETRY_COUNT 5) -set(CTEST_SUBMIT_RETRY_DELAY 60) - -# We reduce the number of concurrent jobs with icc since it has higher memory -# requirements than other compilers. -if("${CTEST_BUILD_CONFIGURATION_NAME}" STREQUAL "icc") - set(CTEST_BUILD_PARALLELISM 5) -endif() - -if(NOT "$ENV{ghprbPullId}" STREQUAL "") - set(CTEST_BUILD_NAME "$ENV{ghprbPullId}-${CTEST_BUILD_CONFIGURATION_NAME}") - set(CTEST_TRACK "Pull_Requests") -else() - set(CTEST_BUILD_NAME - "$ENV{git_local_branch}-${CTEST_BUILD_CONFIGURATION_NAME}" - ) - set(CTEST_TRACK "$ENV{git_local_branch}") -endif() - -set(CTEST_CONFIGURE_COMMAND "${CMAKE_COMMAND} ${CTEST_SOURCE_DIRECTORY}") -set(CTEST_CONFIGURE_COMMAND - "${CTEST_CONFIGURE_COMMAND} -G${CTEST_CMAKE_GENERATOR}" -) -set(CTEST_CONFIGURE_COMMAND - "${CTEST_CONFIGURE_COMMAND} -B${CTEST_BINARY_DIRECTORY}" -) -set(CTEST_CONFIGURE_COMMAND - "${CTEST_CONFIGURE_COMMAND} -DHPX_WITH_PARALLEL_TESTS_BIND_NONE=ON" -) -set(CTEST_CONFIGURE_COMMAND - "${CTEST_CONFIGURE_COMMAND} ${CTEST_CONFIGURE_EXTRA_OPTIONS}" -) - -ctest_start(Experimental TRACK "${CTEST_TRACK}") -ctest_update() -ctest_submit(PARTS Update) -ctest_configure() -ctest_submit(PARTS Configure) -ctest_build(TARGET install FLAGS "-k0 -j ${CTEST_BUILD_PARALLELISM}") -ctest_build(TARGET tests FLAGS "-k0 -j ${CTEST_BUILD_PARALLELISM}") -ctest_submit(PARTS Build) -ctest_test(PARALLEL_LEVEL "${CTEST_TEST_PARALLELISM}") -ctest_submit(PARTS Test BUILD_ID CTEST_BUILD_ID) -file(WRITE "jenkins-hpx-${CTEST_BUILD_CONFIGURATION_NAME}-cdash-build-id.txt" - "${CTEST_BUILD_ID}" -) diff --git a/.jenkins/cscs/entry.sh b/.jenkins/cscs/entry.sh deleted file mode 100755 index 4dfcd9503f63..000000000000 --- a/.jenkins/cscs/entry.sh +++ /dev/null @@ -1,87 +0,0 @@ -#!/bin/bash -l - -# Copyright (c) 2020 ETH Zurich -# -# SPDX-License-Identifier: BSL-1.0 -# Distributed under the Boost Software License, Version 1.0. (See accompanying -# file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) - -# Make undefined variables errors, print each command -set -eux - -# Clean up old artifacts -rm -f ./jenkins-hpx* ./*-Testing - -export configuration_name_with_build_type="${configuration_name}-${build_type,,}" - -source .jenkins/cscs/slurm-constraint-${configuration_name}.sh - -if [[ -z "${ghprbPullId:-}" ]]; then - # Set name of branch if not building a pull request - export git_local_branch=$(echo ${GIT_BRANCH} | cut -f2 -d'/') - job_name="jenkins-hpx-${git_local_branch}-${configuration_name_with_build_type}" -else - job_name="jenkins-hpx-${ghprbPullId}-${configuration_name_with_build_type}" - - # Cancel currently running builds on the same branch, but only for pull - # requests - scancel --account="djenkssl" --jobname="${job_name}" -fi - -# Start the actual build -set +e -sbatch \ - --job-name="${job_name}" \ - --nodes="1" \ - --constraint="${configuration_slurm_constraint}" \ - --partition="cscsci" \ - --account="djenkssl" \ - --time="03:00:00" \ - --output="jenkins-hpx-${configuration_name_with_build_type}.out" \ - --error="jenkins-hpx-${configuration_name_with_build_type}.err" \ - --wait .jenkins/cscs/batch.sh - -# Print slurm logs -echo "= stdout ==================================================" -cat jenkins-hpx-${configuration_name_with_build_type}.out - -echo "= stderr ==================================================" -cat jenkins-hpx-${configuration_name_with_build_type}.err - -# Get build status -status_file="jenkins-hpx-${configuration_name_with_build_type}-ctest-status.txt" -if [[ -f "${status_file}" && "$(cat ${status_file})" -eq "0" ]]; then - github_commit_status="success" -else - github_commit_status="failure" -fi - -# Get the CDash dashboard build id -cdash_build_id="$(cat jenkins-hpx-${configuration_name_with_build_type}-cdash-build-id.txt)" - -if [[ -z "${ghprbPullId:-}" ]]; then - .jenkins/common/set_github_status.sh \ - "${GITHUB_TOKEN}" \ - "STEllAR-GROUP/hpx" \ - "${GIT_COMMIT}" \ - "${github_commit_status}" \ - "${configuration_name_with_build_type}" \ - "${cdash_build_id}" \ - "jenkins/cscs" -else - # Extract just the organization and repo names "org/repo" from the full URL - github_commit_repo="$(echo $ghprbPullLink | sed -n 's/https:\/\/github.com\/\(.*\)\/pull\/[0-9]*/\1/p')" - - # Set GitHub status with CDash url - .jenkins/common/set_github_status.sh \ - "${GITHUB_TOKEN}" \ - "${github_commit_repo}" \ - "${ghprbActualCommit}" \ - "${github_commit_status}" \ - "${configuration_name_with_build_type}" \ - "${cdash_build_id}" \ - "jenkins/cscs" -fi - -set -e -exit $(cat ${status_file}) diff --git a/.jenkins/cscs/env-clang-10.sh b/.jenkins/cscs/env-clang-10.sh deleted file mode 100644 index 45c62f4fa2ce..000000000000 --- a/.jenkins/cscs/env-clang-10.sh +++ /dev/null @@ -1,30 +0,0 @@ -# Copyright (c) 2021 ETH Zurich -# -# SPDX-License-Identifier: BSL-1.0 -# Distributed under the Boost Software License, Version 1.0. (See accompanying -# file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) - -export CRAYPE_LINK_TYPE=dynamic -export APPS_ROOT="/apps/daint/SSL/HPX/packages" -export CLANG_VER="10.0.1" -export CXX_STD="17" -export BOOST_VER="1.74.0" -export HWLOC_VER="1.11.11" -export CLANG_ROOT="${APPS_ROOT}/llvm-${CLANG_VER}" -export BOOST_ROOT="${APPS_ROOT}/boost-${BOOST_VER}-clang-${CLANG_VER}-c++${CXX_STD}-debug" -export HWLOC_ROOT="${APPS_ROOT}/hwloc-${HWLOC_VER}-gcc-10.2.0" -export CXXFLAGS="-Wno-unused-command-line-argument -stdlib=libc++ -nostdinc++ -I${CLANG_ROOT}/include/c++/v1 -L${CLANG_ROOT}/lib -Wl,-rpath,${CLANG_ROOT}/lib,-lsupc++" -export LDCXXFLAGS="-stdlib=libc++ -L${CLANG_ROOT}/lib -Wl,-rpath,${CLANG_ROOT}/lib,-lsupc++" -export CXX="${CLANG_ROOT}/bin/clang++" -export CC="${CLANG_ROOT}/bin/clang" -export CPP="${CLANG_ROOT}/bin/clang -E" - -module load daint-mc -spack load cmake@3.18.6 -spack load ninja@1.10.0 - -configure_extra_options+=" -DHPX_WITH_MALLOC=system" -configure_extra_options+=" -DHPX_WITH_FETCH_ASIO=ON" -configure_extra_options+=" -DHPX_WITH_COMPILER_WARNINGS=ON" -configure_extra_options+=" -DHPX_WITH_COMPILER_WARNINGS_AS_ERRORS=ON" -configure_extra_options+=" -DHPX_WITH_DYNAMIC_HPX_MAIN=OFF" diff --git a/.jenkins/cscs/env-clang-13.sh b/.jenkins/cscs/env-clang-13.sh deleted file mode 100644 index 9d0d3a6f1138..000000000000 --- a/.jenkins/cscs/env-clang-13.sh +++ /dev/null @@ -1,43 +0,0 @@ -# Copyright (c) 2020 ETH Zurich -# -# SPDX-License-Identifier: BSL-1.0 -# Distributed under the Boost Software License, Version 1.0. (See accompanying -# file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) - -export CRAYPE_LINK_TYPE=dynamic -export APPS_ROOT="/apps/daint/SSL/HPX/packages" -export CLANG_VER="13.0.0" -export CXX_STD="20" -export BOOST_VER="1.78.0" -export HWLOC_VER="2.2.0" -export CLANG_ROOT="${APPS_ROOT}/llvm-${CLANG_VER}" -export BOOST_ROOT="${APPS_ROOT}/boost-${BOOST_VER}-clang-${CLANG_VER}-c++20-debug" -export HWLOC_ROOT="${APPS_ROOT}/hwloc-${HWLOC_VER}-gcc-10.2.0" -export CXXFLAGS="-Wno-unused-command-line-argument -stdlib=libc++ -nostdinc++ -isystem${CLANG_ROOT}/include/c++/v1 -L${CLANG_ROOT}/lib -Wl,-rpath,${CLANG_ROOT}/lib,-lsupc++" -export LDCXXFLAGS="-stdlib=libc++ -L${CLANG_ROOT}/lib -Wl,-rpath,${CLANG_ROOT}/lib,-lsupc++" -export CXX="${CLANG_ROOT}/bin/clang++" -export CC="${CLANG_ROOT}/bin/clang" -export CPP="${CLANG_ROOT}/bin/clang -E" - -module load daint-mc -spack load cmake@3.18.6 -spack load ninja@1.10.0 - -configure_extra_options+=" -DHPX_WITH_MALLOC=system" -configure_extra_options+=" -DHPX_WITH_FETCH_ASIO=ON" -configure_extra_options+=" -DHPX_WITH_CXX_STANDARD=${CXX_STD}" -configure_extra_options+=" -DHPX_WITH_COMPILER_WARNINGS=ON" -configure_extra_options+=" -DHPX_WITH_COMPILER_WARNINGS_AS_ERRORS=ON" -configure_extra_options+=" -DHPX_WITH_SPINLOCK_DEADLOCK_DETECTION=ON" -configure_extra_options+=" -DHPX_WITH_UNITY_BUILD=ON" -configure_extra_options+=" -DHPX_COROUTINES_WITH_THREAD_SCHEDULE_HINT_RUNS_AS_CHILD=ON" - -# enable extra counters to verify everything compiles -configure_extra_options+=" -DHPX_WITH_BACKGROUND_THREAD_COUNTERS=ON" -configure_extra_options+=" -DHPX_WITH_COROUTINE_COUNTERS=ON" -configure_extra_options+=" -DHPX_WITH_PARCELPORT_ACTION_COUNTERS=ON" -configure_extra_options+=" -DHPX_WITH_THREAD_IDLE_RATES=ON" -configure_extra_options+=" -DHPX_WITH_THREAD_CREATION_AND_CLEANUP_RATES=ON" -configure_extra_options+=" -DHPX_WITH_THREAD_CUMULATIVE_COUNTS=ON" -configure_extra_options+=" -DHPX_WITH_THREAD_QUEUE_WAITTIME=ON" -configure_extra_options+=" -DHPX_WITH_THREAD_STEALING_COUNTS=ON" diff --git a/.jenkins/cscs/env-common.sh b/.jenkins/cscs/env-common.sh deleted file mode 100644 index 75661346a15c..000000000000 --- a/.jenkins/cscs/env-common.sh +++ /dev/null @@ -1,23 +0,0 @@ -# Copyright (c) 2021 ETH Zurich -# -# SPDX-License-Identifier: BSL-1.0 -# Distributed under the Boost Software License, Version 1.0. (See accompanying -# file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) - -source $SPACK_ROOT/share/spack/setup-env.sh - -spack load ccache@3.7.9 -spack load cmake@3.18.6 -spack load ninja@1.10.0 - -export CMAKE_CXX_COMPILER_LAUNCHER=ccache -export CMAKE_GENERATOR=Ninja -export CCACHE_DIR=/scratch/snx3000/simbergm/ccache-jenkins-hpx -export CCACHE_MAXSIZE=100G -export CCACHE_MAXFILES=50000 - -configure_extra_options+=" -DCMAKE_BUILD_TYPE=${build_type}" -configure_extra_options+=" -DHPX_WITH_CHECK_MODULE_DEPENDENCIES=ON" -if [ "${build_type}" = "Debug" ]; then - configure_extra_options+=" -DHPX_WITH_PARCELPORT_COUNTERS=ON" -fi diff --git a/.jenkins/cscs/env-gcc-11.sh b/.jenkins/cscs/env-gcc-11.sh deleted file mode 100644 index 652891479313..000000000000 --- a/.jenkins/cscs/env-gcc-11.sh +++ /dev/null @@ -1,32 +0,0 @@ -# Copyright (c) 2021 ETH Zurich -# -# SPDX-License-Identifier: BSL-1.0 -# Distributed under the Boost Software License, Version 1.0. (See accompanying -# file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) - -export CRAYPE_LINK_TYPE=dynamic -export APPS_ROOT="/apps/daint/SSL/HPX/packages" -export GCC_VER="11.1.0" -export CXX_STD="20" -export BOOST_VER="1.78.0" -export HWLOC_VER="2.7.0" -export GCC_ROOT="${APPS_ROOT}/gcc-${GCC_VER}" -export BOOST_ROOT="${APPS_ROOT}/boost-${BOOST_VER}-gcc-${GCC_VER}-c++${CXX_STD}-debug" -export HWLOC_ROOT="${APPS_ROOT}/hwloc-${HWLOC_VER}-gcc-${GCC_VER}" -export CXXFLAGS="-nostdinc++ -I${GCC_ROOT}/include/c++/${GCC_VER} -I${GCC_ROOT}/include/c++/${GCC_VER}/x86_64-unknown-linux-gnu -I${GCC_ROOT}/include/c++/${GCC_VER}/x86_64-pc-linux-gnu -L${GCC_ROOT}/lib64 -Wl,-rpath,${GCC_ROOT}/lib64" -export LDFLAGS="-L${GCC_ROOT}/lib64" -export CXX=${GCC_ROOT}/bin/g++ -export CC=${GCC_ROOT}/bin/gcc - -module load daint-mc -spack load cmake@3.18.6 -spack load ninja@1.10.0 - -configure_extra_options+=" -DHPX_WITH_MAX_CPU_COUNT=128" -configure_extra_options+=" -DHPX_WITH_MALLOC=system" -configure_extra_options+=" -DHPX_WITH_FETCH_ASIO=ON" -configure_extra_options+=" -DHPX_WITH_CXX_STANDARD=${CXX_STD}" -configure_extra_options+=" -DHPX_WITH_COMPILER_WARNINGS=ON" -configure_extra_options+=" -DHPX_WITH_COMPILER_WARNINGS_AS_ERRORS=ON" -configure_extra_options+=" -DHPX_WITH_SPINLOCK_DEADLOCK_DETECTION=ON" -configure_extra_options+=" -DHPX_DATASTRUCTURES_WITH_ADAPT_STD_TUPLE=OFF" diff --git a/.jenkins/cscs/slurm-constraint-clang-10.sh b/.jenkins/cscs/slurm-constraint-clang-10.sh deleted file mode 100644 index 1f9f300cc8fd..000000000000 --- a/.jenkins/cscs/slurm-constraint-clang-10.sh +++ /dev/null @@ -1,7 +0,0 @@ -# Copyright (c) 2020 ETH Zurich -# -# SPDX-License-Identifier: BSL-1.0 -# Distributed under the Boost Software License, Version 1.0. (See accompanying -# file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) - -configuration_slurm_constraint="mc" diff --git a/.jenkins/cscs/slurm-constraint-clang-13.sh b/.jenkins/cscs/slurm-constraint-clang-13.sh deleted file mode 100644 index 1f9f300cc8fd..000000000000 --- a/.jenkins/cscs/slurm-constraint-clang-13.sh +++ /dev/null @@ -1,7 +0,0 @@ -# Copyright (c) 2020 ETH Zurich -# -# SPDX-License-Identifier: BSL-1.0 -# Distributed under the Boost Software License, Version 1.0. (See accompanying -# file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) - -configuration_slurm_constraint="mc" diff --git a/.jenkins/cscs/slurm-constraint-gcc-11.sh b/.jenkins/cscs/slurm-constraint-gcc-11.sh deleted file mode 100644 index 1f9f300cc8fd..000000000000 --- a/.jenkins/cscs/slurm-constraint-gcc-11.sh +++ /dev/null @@ -1,7 +0,0 @@ -# Copyright (c) 2020 ETH Zurich -# -# SPDX-License-Identifier: BSL-1.0 -# Distributed under the Boost Software License, Version 1.0. (See accompanying -# file LICENSE_1_0.txt or copy at http://www.boost.org/LICENSE_1_0.txt) - -configuration_slurm_constraint="mc"