diff options
Diffstat (limited to '.gitlab/ci')
313 files changed, 0 insertions, 4496 deletions
diff --git a/.gitlab/ci/CMakeCPack.cmake b/.gitlab/ci/CMakeCPack.cmake deleted file mode 100644 index 971fe54dc4..0000000000 --- a/.gitlab/ci/CMakeCPack.cmake +++ /dev/null @@ -1,3 +0,0 @@ -if(NOT "$ENV{CMAKE_CI_PACKAGE}" MATCHES "^(dev)?$") - configure_file(${CMAKE_CURRENT_LIST_DIR}/package_info.cmake.in ${CMake_BINARY_DIR}/ci_package_info.cmake @ONLY) -endif() diff --git a/.gitlab/ci/borland-env.ps1 b/.gitlab/ci/borland-env.ps1 deleted file mode 100644 index b3b532e37c..0000000000 --- a/.gitlab/ci/borland-env.ps1 +++ /dev/null @@ -1,3 +0,0 @@ -Invoke-Expression -Command .gitlab/ci/borland.ps1 -$pwdpath = $pwd.Path -Set-Item -Force -Path "env:PATH" -Value "$pwdpath\.gitlab\bcc\bin;$env:PATH" diff --git a/.gitlab/ci/borland.ps1 b/.gitlab/ci/borland.ps1 deleted file mode 100644 index c8daafda50..0000000000 --- a/.gitlab/ci/borland.ps1 +++ /dev/null @@ -1,38 +0,0 @@ -$erroractionpreference = "stop" - -if ("$env:CMAKE_CONFIGURATION".Contains("borland5.5")) { - # Borland C++ 5.5 Free Command-line Tools - # https://web.archive.org/web/20110402064356/https://www.embarcadero.com/products/cbuilder/free-compiler - $filename = "bcc5.5-1" - $sha256sum = "895B76F8F1AD8030F31ACE239EBC623DC7379C121A540F55F611B93F3CB9AF52" -} elseif ("$env:CMAKE_CONFIGURATION".Contains("borland5.8")) { - # Borland C++ Builder 2006 - # https://web.archive.org/web/20060303030019/https://www.borland.com/us/products/cbuilder/index.html - $filename = "bcc5.8-1" - $sha256sum = "C30981BFD540C933E76D82D873DEE05E7482F34F68E309065DE0D181C95F77E3" -} else { - throw ('unknown CMAKE_CONFIGURATION: ' + "$env:CMAKE_CONFIGURATION") -} -$tarball = "$filename.zip" - -$outdir = $pwd.Path -$outdir = "$outdir\.gitlab" -$ProgressPreference = 'SilentlyContinue' -# This URL is only visible inside of Kitware's network. See above filename table. -Invoke-WebRequest -Uri "https://cmake.org/files/dependencies/internal/$tarball" -OutFile "$outdir\$tarball" -$hash = Get-FileHash "$outdir\$tarball" -Algorithm SHA256 -if ($hash.Hash -ne $sha256sum) { - exit 1 -} - -Add-Type -AssemblyName System.IO.Compression.FileSystem -[System.IO.Compression.ZipFile]::ExtractToDirectory("$outdir\$tarball", "$outdir") -Move-Item -Path "$outdir\$filename" -Destination "$outdir\bcc" -Remove-Item "$outdir\$tarball" - -$tools = "bcc32", "ilink32" -foreach ($tool in $tools) { - $cfg = Get-Content -path "$outdir\bcc\bin\$tool.cfg.in" -Raw - $cfg = $cfg -replace "@BCC_ROOT@","$outdir\bcc" - $cfg | Set-Content -path "$outdir\bcc\bin\$tool.cfg" -} diff --git a/.gitlab/ci/clang-env.ps1 b/.gitlab/ci/clang-env.ps1 deleted file mode 100644 index 451fca3701..0000000000 --- a/.gitlab/ci/clang-env.ps1 +++ /dev/null @@ -1,15 +0,0 @@ -Invoke-Expression -Command .gitlab/ci/clang.ps1 -Invoke-Expression -Command .gitlab/ci/vcvarsall.ps1 - -$pwdpath = $pwd.Path -Set-Item -Force -Path "env:PATH" -Value "$pwdpath\.gitlab\llvm\bin;$env:PATH" - -if ("$env:CMAKE_CI_BUILD_NAME" -match "(^|_)gnu(_|$)") { - $env:CC = "clang" - $env:CXX = "clang++" - clang --version -} else { - $env:CC = "clang-cl" - $env:CXX = "clang-cl" - clang-cl --version -} diff --git a/.gitlab/ci/clang.ps1 b/.gitlab/ci/clang.ps1 deleted file mode 100644 index 61361b1438..0000000000 --- a/.gitlab/ci/clang.ps1 +++ /dev/null @@ -1,42 +0,0 @@ -$erroractionpreference = "stop" - -if ("$env:CMAKE_CI_BUILD_NAME".Contains("clang19.1")) { - # LLVM/Clang 19.1.0 - # https://github.com/llvm/llvm-project/releases/tag/llvmorg-19.1.0 - $filename = "llvm-19.1.0-win-x86_64-1" - $sha256sum = "C1F974511A6FA2DC5B4892996C064A55BF81D7F244514F8AB5A453110ADEC0EC" -} else { - throw ('unknown CMAKE_CI_BUILD_NAME: ' + "$env:CMAKE_CI_BUILD_NAME") -} -$tarball = "$filename.zip" - -$outdir = $pwd.Path -$outdir = "$outdir\.gitlab" -$ProgressPreference = 'SilentlyContinue' -# This URL is only visible inside of Kitware's network. See above filename table. -Invoke-WebRequest -Uri "https://cmake.org/files/dependencies/internal/$tarball" -OutFile "$outdir\$tarball" -$hash = Get-FileHash "$outdir\$tarball" -Algorithm SHA256 -if ($hash.Hash -ne $sha256sum) { - exit 1 -} - -Add-Type -AssemblyName System.IO.Compression.FileSystem -[System.IO.Compression.ZipFile]::ExtractToDirectory("$outdir\$tarball", "$outdir") -Move-Item -Path "$outdir\$filename" -Destination "$outdir\llvm" -Remove-Item "$outdir\$tarball" - -$bin = "$outdir\llvm\bin" -$lib = "$outdir\llvm\lib" -$null = New-Item -ItemType HardLink -Path "$bin\clang++.exe" -Target "$bin\clang.exe" -$null = New-Item -ItemType HardLink -Path "$bin\clang-cl.exe" -Target "$bin\clang.exe" -$null = New-Item -ItemType HardLink -Path "$bin\clang-cpp.exe" -Target "$bin\clang.exe" -$null = New-Item -ItemType HardLink -Path "$bin\ld.lld.exe" -Target "$bin\lld.exe" -$null = New-Item -ItemType HardLink -Path "$bin\ld64.lld.exe" -Target "$bin\lld.exe" -$null = New-Item -ItemType HardLink -Path "$bin\lld-link.exe" -Target "$bin\lld.exe" -$null = New-Item -ItemType HardLink -Path "$bin\llvm-lib.exe" -Target "$bin\llvm-ar.exe" -$null = New-Item -ItemType HardLink -Path "$bin\llvm-ranlib.exe" -Target "$bin\llvm-ar.exe" -$null = New-Item -ItemType HardLink -Path "$bin\llvm-objcopy.exe" -Target "$bin\llvm-strip.exe" -$null = New-Item -ItemType HardLink -Path "$bin\libiomp5md.dll" -Target "$bin\libomp.dll" -$null = New-Item -ItemType HardLink -Path "$lib\libiomp5md.lib" -Target "$lib\libomp.lib" -Clear-Variable -Name bin -Clear-Variable -Name lib diff --git a/.gitlab/ci/cmake-env.ps1 b/.gitlab/ci/cmake-env.ps1 deleted file mode 100644 index 505fa44631..0000000000 --- a/.gitlab/ci/cmake-env.ps1 +++ /dev/null @@ -1,5 +0,0 @@ -$pwdpath = $pwd.Path -& "$pwsh" -File ".gitlab/ci/cmake.ps1" -Set-Item -Force -Path "env:PATH" -Value "$pwdpath\.gitlab\cmake\bin;$env:PATH" -cmake --version -$cmake = "cmake" diff --git a/.gitlab/ci/cmake-env.sh b/.gitlab/ci/cmake-env.sh deleted file mode 100644 index 686a78f379..0000000000 --- a/.gitlab/ci/cmake-env.sh +++ /dev/null @@ -1,3 +0,0 @@ -.gitlab/ci/cmake.sh -export PATH="$PWD/.gitlab/cmake/bin:$PATH" -cmake --version diff --git a/.gitlab/ci/cmake.ps1 b/.gitlab/ci/cmake.ps1 deleted file mode 100644 index 1353150f18..0000000000 --- a/.gitlab/ci/cmake.ps1 +++ /dev/null @@ -1,30 +0,0 @@ -$erroractionpreference = "stop" - -$version = "3.31.5" - -if ("$env:PROCESSOR_ARCHITECTURE" -eq "AMD64") { - $sha256sum = "D4D2D4B9CCD68DAE975A066FCD42EA9807EF40F79EE6971923FD3788E7917585" - $platform = "windows-x86_64" -} elseif ("$env:PROCESSOR_ARCHITECTURE" -eq "ARM64") { - $sha256sum = "A734E4E970FDAA4B5957157C059556F56CA5D655014CD4B5FD9194AABA316F31" - $platform = "windows-arm64" -} else { - throw ('unknown PROCESSOR_ARCHITECTURE: ' + "$env:PROCESSOR_ARCHITECTURE") -} - -$filename = "cmake-$version-$platform" -$tarball = "$filename.zip" - -$outdir = $pwd.Path -$outdir = "$outdir\.gitlab" -$ProgressPreference = 'SilentlyContinue' -Invoke-WebRequest -Uri "https://github.com/Kitware/CMake/releases/download/v$version/$tarball" -OutFile "$outdir\$tarball" -$hash = Get-FileHash "$outdir\$tarball" -Algorithm SHA256 -if ($hash.Hash -ne $sha256sum) { - exit 1 -} - -Add-Type -AssemblyName System.IO.Compression.FileSystem -[System.IO.Compression.ZipFile]::ExtractToDirectory("$outdir\$tarball", "$outdir") -Move-Item -Path "$outdir\$filename" -Destination "$outdir\cmake" -Remove-Item "$outdir\$tarball" diff --git a/.gitlab/ci/cmake.sh b/.gitlab/ci/cmake.sh deleted file mode 100755 index 10aba43b8e..0000000000 --- a/.gitlab/ci/cmake.sh +++ /dev/null @@ -1,46 +0,0 @@ -#!/bin/sh - -set -e - -readonly version="3.31.5" - -case "$(uname -s)-$(uname -m)" in - Linux-x86_64) - shatool="sha256sum" - sha256sum="2984e70515ff60c5e4a41922b5d715a8168a696a89721e3b114e36f453244f72" - platform="linux-x86_64" - ;; - Linux-aarch64) - shatool="sha256sum" - sha256sum="eb92af175ea91e3706ff62484088c3a3774ef3e1a8c399111785dd5f47010164" - platform="linux-aarch64" - ;; - Darwin-*) - shatool="shasum -a 256" - sha256sum="cc8e3d9bef7eee70db52601a5ed60d221436a8def18388effdab0e7d0866f50d" - platform="macos-universal" - ;; - *) - echo "Unrecognized platform $(uname -s)-$(uname -m)" - exit 1 - ;; -esac -readonly shatool -readonly sha256sum -readonly platform - -readonly filename="cmake-$version-$platform" -readonly tarball="$filename.tar.gz" - -cd .gitlab - -echo "$sha256sum $tarball" > cmake.sha256sum -curl -OL "https://github.com/Kitware/CMake/releases/download/v$version/$tarball" -$shatool --check cmake.sha256sum -tar xf "$tarball" -mv "$filename" cmake -rm "$tarball" cmake.sha256sum - -if [ "$( uname -s )" = "Darwin" ]; then - ln -s CMake.app/Contents/bin cmake/bin -fi diff --git a/.gitlab/ci/cmake_version.cmake b/.gitlab/ci/cmake_version.cmake deleted file mode 100644 index ef9f7f287d..0000000000 --- a/.gitlab/ci/cmake_version.cmake +++ /dev/null @@ -1,3 +0,0 @@ -get_filename_component(CMake_SOURCE_DIR "${CMAKE_CURRENT_LIST_DIR}/../.." ABSOLUTE) -include("${CMake_SOURCE_DIR}/Source/CMakeVersion.cmake") -message(STATUS ${CMake_VERSION}) diff --git a/.gitlab/ci/cmake_version.sh b/.gitlab/ci/cmake_version.sh deleted file mode 100755 index 03b1614486..0000000000 --- a/.gitlab/ci/cmake_version.sh +++ /dev/null @@ -1,2 +0,0 @@ -#!/usr/bin/env bash -cmake -P "${BASH_SOURCE%/*}/cmake_version.cmake" | cut -d ' ' -f 2 diff --git a/.gitlab/ci/codespell.sh b/.gitlab/ci/codespell.sh deleted file mode 100755 index fd052bd0aa..0000000000 --- a/.gitlab/ci/codespell.sh +++ /dev/null @@ -1,16 +0,0 @@ -#!/bin/sh - -set -e - -result=0 -echo "Running codespell on source code..." -codespell || result=1 - -if [ -n "$CI_MERGE_REQUEST_DIFF_BASE_SHA" ]; then - for COMMIT in $(git rev-list "^$CI_MERGE_REQUEST_DIFF_BASE_SHA" "$CI_COMMIT_SHA"); do - echo "Running codespell on commit message of $COMMIT..." - git show --format=%B -s "$COMMIT" | codespell - || result=1 - done -fi - -exit $result diff --git a/.gitlab/ci/configure_common.cmake b/.gitlab/ci/configure_common.cmake deleted file mode 100644 index f03c4b8396..0000000000 --- a/.gitlab/ci/configure_common.cmake +++ /dev/null @@ -1,26 +0,0 @@ -if("$ENV{CMAKE_CI_BOOTSTRAP}") - # Launchers do not work during bootstrap: no ctest available. - set(CTEST_USE_LAUNCHERS "OFF" CACHE BOOL "") - # We configure by bootstrapping, so skip the BootstrapTest. - set(CMake_TEST_BOOTSTRAP OFF CACHE BOOL "") -else() - set(CTEST_USE_LAUNCHERS "ON" CACHE BOOL "") -endif() - -# We run the install right after the build. Avoid rerunning it when installing. -set(CMAKE_SKIP_INSTALL_ALL_DEPENDENCY "ON" CACHE BOOL "") -# Install CMake under the build tree. -set(CMAKE_INSTALL_PREFIX "${CMAKE_BINARY_DIR}/install" CACHE PATH "") -set(CMake_TEST_INSTALL "OFF" CACHE BOOL "") - -set(CTEST_TEST_CTEST ON CACHE BOOL "") -set(CMAKE_RUN_LONG_TESTS ON CACHE BOOL "") -set(CMAKE_TESTS_CDASH_SERVER "NOTFOUND" CACHE STRING "") - -if (NOT "$ENV{CMAKE_CI_BUILD_TYPE}" STREQUAL "") - set(CMAKE_BUILD_TYPE "$ENV{CMAKE_CI_BUILD_TYPE}" CACHE STRING "") -endif () - -if (NOT configure_no_sccache) - include("${CMAKE_CURRENT_LIST_DIR}/configure_sccache.cmake") -endif() diff --git a/.gitlab/ci/configure_cuda10.2_clang.cmake b/.gitlab/ci/configure_cuda10.2_clang.cmake deleted file mode 100644 index e2d5a9c9f2..0000000000 --- a/.gitlab/ci/configure_cuda10.2_clang.cmake +++ /dev/null @@ -1,4 +0,0 @@ -set(CMake_TEST_CUDA "Clang" CACHE STRING "") -set(CMake_TEST_CUDA_CUPTI "ON" CACHE STRING "") - -include("${CMAKE_CURRENT_LIST_DIR}/configure_external_test.cmake") diff --git a/.gitlab/ci/configure_cuda10.2_nvidia.cmake b/.gitlab/ci/configure_cuda10.2_nvidia.cmake deleted file mode 100644 index 2cb2950457..0000000000 --- a/.gitlab/ci/configure_cuda10.2_nvidia.cmake +++ /dev/null @@ -1,4 +0,0 @@ -set(CMake_TEST_CUDA "NVIDIA" CACHE STRING "") -set(CMake_TEST_CUDA_CUPTI "ON" CACHE STRING "") - -include("${CMAKE_CURRENT_LIST_DIR}/configure_external_test.cmake") diff --git a/.gitlab/ci/configure_cuda11.6_clang.cmake b/.gitlab/ci/configure_cuda11.6_clang.cmake deleted file mode 100644 index e13ca881d6..0000000000 --- a/.gitlab/ci/configure_cuda11.6_clang.cmake +++ /dev/null @@ -1,3 +0,0 @@ -set(CMake_TEST_CUDA "Clang" CACHE STRING "") - -include("${CMAKE_CURRENT_LIST_DIR}/configure_external_test.cmake") diff --git a/.gitlab/ci/configure_cuda11.6_nvidia.cmake b/.gitlab/ci/configure_cuda11.6_nvidia.cmake deleted file mode 100644 index 2cb2950457..0000000000 --- a/.gitlab/ci/configure_cuda11.6_nvidia.cmake +++ /dev/null @@ -1,4 +0,0 @@ -set(CMake_TEST_CUDA "NVIDIA" CACHE STRING "") -set(CMake_TEST_CUDA_CUPTI "ON" CACHE STRING "") - -include("${CMAKE_CURRENT_LIST_DIR}/configure_external_test.cmake") diff --git a/.gitlab/ci/configure_cuda11.8_minimal_nvidia.cmake b/.gitlab/ci/configure_cuda11.8_minimal_nvidia.cmake deleted file mode 100644 index 519699b0cc..0000000000 --- a/.gitlab/ci/configure_cuda11.8_minimal_nvidia.cmake +++ /dev/null @@ -1,3 +0,0 @@ -set(CMake_TEST_CUDA "NVIDIA" CACHE STRING "") - -include("${CMAKE_CURRENT_LIST_DIR}/configure_external_test.cmake") diff --git a/.gitlab/ci/configure_cuda11.8_splayed_nvidia.cmake b/.gitlab/ci/configure_cuda11.8_splayed_nvidia.cmake deleted file mode 100644 index 519699b0cc..0000000000 --- a/.gitlab/ci/configure_cuda11.8_splayed_nvidia.cmake +++ /dev/null @@ -1,3 +0,0 @@ -set(CMake_TEST_CUDA "NVIDIA" CACHE STRING "") - -include("${CMAKE_CURRENT_LIST_DIR}/configure_external_test.cmake") diff --git a/.gitlab/ci/configure_cuda12.2_clang.cmake b/.gitlab/ci/configure_cuda12.2_clang.cmake deleted file mode 100644 index ce4afaa33d..0000000000 --- a/.gitlab/ci/configure_cuda12.2_clang.cmake +++ /dev/null @@ -1,6 +0,0 @@ -set(CMake_TEST_CUDA "Clang" CACHE STRING "") -set(CMake_TEST_CUDA_STANDARDS "03;11;14;17;20;23" CACHE STRING "") -set(CMake_TEST_FindOpenMP "ON" CACHE BOOL "") -set(CMake_TEST_FindOpenMP_CUDA "ON" CACHE BOOL "") - -include("${CMAKE_CURRENT_LIST_DIR}/configure_external_test.cmake") diff --git a/.gitlab/ci/configure_cuda12.2_nvidia.cmake b/.gitlab/ci/configure_cuda12.2_nvidia.cmake deleted file mode 100644 index 3019a99f37..0000000000 --- a/.gitlab/ci/configure_cuda12.2_nvidia.cmake +++ /dev/null @@ -1 +0,0 @@ -include("${CMAKE_CURRENT_LIST_DIR}/configure_cuda12.2_nvidia_common.cmake") diff --git a/.gitlab/ci/configure_cuda12.2_nvidia_clang.cmake b/.gitlab/ci/configure_cuda12.2_nvidia_clang.cmake deleted file mode 100644 index 3019a99f37..0000000000 --- a/.gitlab/ci/configure_cuda12.2_nvidia_clang.cmake +++ /dev/null @@ -1 +0,0 @@ -include("${CMAKE_CURRENT_LIST_DIR}/configure_cuda12.2_nvidia_common.cmake") diff --git a/.gitlab/ci/configure_cuda12.2_nvidia_common.cmake b/.gitlab/ci/configure_cuda12.2_nvidia_common.cmake deleted file mode 100644 index 5dc178863c..0000000000 --- a/.gitlab/ci/configure_cuda12.2_nvidia_common.cmake +++ /dev/null @@ -1,7 +0,0 @@ -set(CMake_TEST_CUDA "NVIDIA" CACHE STRING "") -set(CMake_TEST_CUDA_CUPTI "ON" CACHE STRING "") -set(CMake_TEST_CUDA_STANDARDS "03;11;14;17;20" CACHE STRING "") -set(CMake_TEST_FindOpenMP "ON" CACHE BOOL "") -set(CMake_TEST_FindOpenMP_CUDA "ON" CACHE BOOL "") - -include("${CMAKE_CURRENT_LIST_DIR}/configure_external_test.cmake") diff --git a/.gitlab/ci/configure_cuda9.2_nvidia.cmake b/.gitlab/ci/configure_cuda9.2_nvidia.cmake deleted file mode 100644 index 519699b0cc..0000000000 --- a/.gitlab/ci/configure_cuda9.2_nvidia.cmake +++ /dev/null @@ -1,3 +0,0 @@ -set(CMake_TEST_CUDA "NVIDIA" CACHE STRING "") - -include("${CMAKE_CURRENT_LIST_DIR}/configure_external_test.cmake") diff --git a/.gitlab/ci/configure_debian10_legacy.cmake b/.gitlab/ci/configure_debian10_legacy.cmake deleted file mode 100644 index 11a5dc0254..0000000000 --- a/.gitlab/ci/configure_debian10_legacy.cmake +++ /dev/null @@ -1,6 +0,0 @@ -set(CMake_TEST_FindPython2 "ON" CACHE BOOL "") -set(CMake_TEST_FindPython2_IronPython "ON" CACHE BOOL "") -set(CMake_TEST_FindPython2_NumPy "ON" CACHE BOOL "") -set(CMake_TEST_FindPython2_PyPy "ON" CACHE BOOL "") - -include("${CMAKE_CURRENT_LIST_DIR}/configure_external_test.cmake") diff --git a/.gitlab/ci/configure_debian12_aarch64_extdeps.cmake b/.gitlab/ci/configure_debian12_aarch64_extdeps.cmake deleted file mode 100644 index 8e545f5622..0000000000 --- a/.gitlab/ci/configure_debian12_aarch64_extdeps.cmake +++ /dev/null @@ -1 +0,0 @@ -include("${CMAKE_CURRENT_LIST_DIR}/configure_extdeps_common.cmake") diff --git a/.gitlab/ci/configure_debian12_aarch64_ninja.cmake b/.gitlab/ci/configure_debian12_aarch64_ninja.cmake deleted file mode 100644 index d2a401e9af..0000000000 --- a/.gitlab/ci/configure_debian12_aarch64_ninja.cmake +++ /dev/null @@ -1,106 +0,0 @@ -set(CMake_TEST_C_STANDARDS "90;99;11;17;23" CACHE STRING "") -set(CMake_TEST_CXX_STANDARDS "98;11;14;17;20;23" CACHE STRING "") - -set(CMake_TEST_CTestUpdate_BZR "ON" CACHE BOOL "") -set(CMake_TEST_CTestUpdate_CVS "ON" CACHE BOOL "") -set(CMake_TEST_CTestUpdate_GIT "ON" CACHE BOOL "") -set(CMake_TEST_CTestUpdate_HG "ON" CACHE BOOL "") -set(CMake_TEST_CTestUpdate_SVN "ON" CACHE BOOL "") -set(CMake_TEST_FindALSA "ON" CACHE BOOL "") -set(CMake_TEST_FindBLAS "All;static=1;Generic" CACHE STRING "") -set(CMake_TEST_FindBoost "ON" CACHE BOOL "") -set(CMake_TEST_FindBoost_Python "ON" CACHE BOOL "") -set(CMake_TEST_FindBZip2 "ON" CACHE BOOL "") -set(CMake_TEST_FindCups "ON" CACHE BOOL "") -set(CMake_TEST_FindCURL "ON" CACHE BOOL "") -set(CMake_TEST_FindDevIL "ON" CACHE BOOL "") -set(CMake_TEST_FindDoxygen_Dot "ON" CACHE BOOL "") -set(CMake_TEST_FindDoxygen "ON" CACHE BOOL "") -set(CMake_TEST_FindEXPAT "ON" CACHE BOOL "") -set(CMake_TEST_FindFontconfig "ON" CACHE BOOL "") -set(CMake_TEST_FindFreetype "ON" CACHE BOOL "") -set(CMake_TEST_FindGDAL "ON" CACHE BOOL "") -set(CMake_TEST_FindGIF "ON" CACHE BOOL "") -set(CMake_TEST_FindGit "ON" CACHE BOOL "") -set(CMake_TEST_FindGLEW "ON" CACHE BOOL "") -set(CMake_TEST_FindGLUT "ON" CACHE BOOL "") -set(CMake_TEST_FindGnuTLS "ON" CACHE BOOL "") -set(CMake_TEST_FindGSL "ON" CACHE BOOL "") -set(CMake_TEST_FindGTest "ON" CACHE BOOL "") -set(CMake_TEST_FindGTK2 "ON" CACHE BOOL "") -set(CMake_TEST_FindHDF5 "ON" CACHE BOOL "") -set(CMake_TEST_FindHDF5_MPICH_C_COMPILER "/usr/bin/h5pcc.mpich" CACHE FILEPATH "") -set(CMake_TEST_FindHDF5_MPICH_C_COMPILER_EXPLICIT "ON" CACHE BOOL "") -set(CMake_TEST_FindHDF5_MPICH_CXX_COMPILER "/usr/bin/h5c++.mpich" CACHE FILEPATH "") -set(CMake_TEST_FindHDF5_MPICH_CXX_COMPILER_EXPLICIT "ON" CACHE BOOL "") -set(CMake_TEST_FindHDF5_MPICH_Fortran_COMPILER "/usr/bin/h5pfc.mpich" CACHE FILEPATH "") -set(CMake_TEST_FindHDF5_MPICH_Fortran_COMPILER_EXPLICIT "ON" CACHE BOOL "") -set(CMake_TEST_FindHDF5_OpenMPI_C_COMPILER "/usr/bin/h5pcc.openmpi" CACHE FILEPATH "") -set(CMake_TEST_FindHDF5_OpenMPI_C_COMPILER_EXPLICIT "ON" CACHE BOOL "") -set(CMake_TEST_FindHDF5_OpenMPI_CXX_COMPILER "/usr/bin/h5c++.openmpi" CACHE FILEPATH "") -set(CMake_TEST_FindHDF5_OpenMPI_CXX_COMPILER_EXPLICIT "ON" CACHE BOOL "") -set(CMake_TEST_FindHDF5_OpenMPI_Fortran_COMPILER "/usr/bin/h5pfc.openmpi" CACHE FILEPATH "") -set(CMake_TEST_FindHDF5_OpenMPI_Fortran_COMPILER_EXPLICIT "ON" CACHE BOOL "") -set(CMake_TEST_FindHDF5_Serial_C_COMPILER "/usr/bin/h5cc" CACHE FILEPATH "") -set(CMake_TEST_FindHDF5_Serial_CXX_COMPILER "/usr/bin/h5c++" CACHE FILEPATH "") -set(CMake_TEST_FindHDF5_Serial_Fortran_COMPILER "/usr/bin/h5fc" CACHE FILEPATH "") -set(CMake_TEST_FindIconv "ON" CACHE BOOL "") -set(CMake_TEST_FindICU "ON" CACHE BOOL "") -set(CMake_TEST_FindImageMagick "ON" CACHE BOOL "") -set(CMake_TEST_FindIntl "ON" CACHE BOOL "") -set(CMake_TEST_FindJNI "ON" CACHE BOOL "") -set(CMake_TEST_FindJPEG "ON" CACHE BOOL "") -set(CMake_TEST_FindJsonCpp "ON" CACHE BOOL "") -set(CMake_TEST_FindLAPACK "All;static=1;Generic" CACHE STRING "") -set(CMake_TEST_FindLibArchive "ON" CACHE BOOL "") -set(CMake_TEST_FindLibinput "ON" CACHE BOOL "") -set(CMake_TEST_FindLibLZMA "ON" CACHE BOOL "") -set(CMake_TEST_FindLibUV "ON" CACHE BOOL "") -set(CMake_TEST_FindLibXml2 "ON" CACHE BOOL "") -set(CMake_TEST_FindLibXslt "ON" CACHE BOOL "") -set(CMake_TEST_FindMPI_C "ON" CACHE BOOL "") -set(CMake_TEST_FindMPI_CXX "ON" CACHE BOOL "") -set(CMake_TEST_FindMPI_Fortran "ON" CACHE BOOL "") -set(CMake_TEST_FindMPI "ON" CACHE BOOL "") -set(CMake_TEST_FindODBC "ON" CACHE BOOL "") -set(CMake_TEST_FindOpenACC "ON" CACHE BOOL "") -set(CMake_TEST_FindOpenACC_C "ON" CACHE BOOL "") -set(CMake_TEST_FindOpenACC_CXX "ON" CACHE BOOL "") -set(CMake_TEST_FindOpenACC_Fortran "ON" CACHE BOOL "") -set(CMake_TEST_FindOpenAL "ON" CACHE BOOL "") -set(CMake_TEST_FindOpenGL "ON" CACHE BOOL "") -set(CMake_TEST_FindOpenMP_C "ON" CACHE BOOL "") -set(CMake_TEST_FindOpenMP_CXX "ON" CACHE BOOL "") -set(CMake_TEST_FindOpenMP_Fortran "ON" CACHE BOOL "") -set(CMake_TEST_FindOpenMP "ON" CACHE BOOL "") -set(CMake_TEST_FindOpenSP "ON" CACHE BOOL "") -set(CMake_TEST_FindOpenSSL "ON" CACHE BOOL "") -set(CMake_TEST_FindPatch "ON" CACHE BOOL "") -set(CMake_TEST_FindPNG "ON" CACHE BOOL "") -set(CMake_TEST_FindPostgreSQL "ON" CACHE BOOL "") -set(CMake_TEST_FindProtobuf "ON" CACHE BOOL "") -set(CMake_TEST_FindProtobuf_gRPC "ON" CACHE BOOL "") -set(CMake_TEST_FindPython3 "ON" CACHE BOOL "") -set(CMake_TEST_FindPython3_NumPy "ON" CACHE BOOL "") -set(CMake_TEST_FindPython3_PyPy "ON" CACHE BOOL "") -set(CMake_TEST_FindRuby "ON" CACHE BOOL "") -set(CMake_TEST_FindSDL "ON" CACHE BOOL "") -set(CMake_TEST_FindSQLite3 "ON" CACHE BOOL "") -set(CMake_TEST_FindTIFF "ON" CACHE BOOL "") -set(CMake_TEST_FindwxWidgets "ON" CACHE BOOL "") -set(CMake_TEST_FindX11 "ON" CACHE BOOL "") -set(CMake_TEST_FindXalanC "ON" CACHE BOOL "") -set(CMake_TEST_FindXercesC "ON" CACHE BOOL "") -set(CMake_TEST_Fortran_SUBMODULES "ON" CACHE BOOL "") -set(CMake_TEST_IPO_WORKS_C "ON" CACHE BOOL "") -set(CMake_TEST_IPO_WORKS_CXX "ON" CACHE BOOL "") -set(CMake_TEST_IPO_WORKS_Fortran "ON" CACHE BOOL "") -set(CMake_TEST_JQ "/usr/bin/jq" CACHE PATH "") -set(CMake_TEST_Qt5 "ON" CACHE BOOL "") -set(CMake_TEST_TLS_VERIFY_URL "https://gitlab.kitware.com" CACHE STRING "") -set(CMake_TEST_TLS_VERIFY_URL_BAD "https://badtls-expired.kitware.com" CACHE STRING "") -set(CMake_TEST_TLS_VERSION "1.3" CACHE STRING "") -set(CMake_TEST_TLS_VERSION_URL_BAD "https://badtls-v1-1.kitware.com:8011" CACHE STRING "") -set(CMake_TEST_UseSWIG "ON" CACHE BOOL "") - -include("${CMAKE_CURRENT_LIST_DIR}/configure_external_test.cmake") diff --git a/.gitlab/ci/configure_debian12_extdeps.cmake b/.gitlab/ci/configure_debian12_extdeps.cmake deleted file mode 100644 index 8e545f5622..0000000000 --- a/.gitlab/ci/configure_debian12_extdeps.cmake +++ /dev/null @@ -1 +0,0 @@ -include("${CMAKE_CURRENT_LIST_DIR}/configure_extdeps_common.cmake") diff --git a/.gitlab/ci/configure_debian12_hip_radeon.cmake b/.gitlab/ci/configure_debian12_hip_radeon.cmake deleted file mode 100644 index d12922aa6e..0000000000 --- a/.gitlab/ci/configure_debian12_hip_radeon.cmake +++ /dev/null @@ -1,4 +0,0 @@ -set(CMake_TEST_HIP "amd" CACHE BOOL "") -set(CMake_TEST_HIP_STANDARDS "98;11;14;17;20;23" CACHE STRING "") - -include("${CMAKE_CURRENT_LIST_DIR}/configure_external_test.cmake") diff --git a/.gitlab/ci/configure_debian12_iwyu.cmake b/.gitlab/ci/configure_debian12_iwyu.cmake deleted file mode 100644 index 37ccbf455d..0000000000 --- a/.gitlab/ci/configure_debian12_iwyu.cmake +++ /dev/null @@ -1,7 +0,0 @@ -set(CMake_RUN_IWYU ON CACHE BOOL "") -set(CMake_IWYU_OPTIONS "-DCMAKE_IWYU_FORWARD_STD_HASH" CACHE STRING "") -# Uncomment to diagnose IWYU problems as needed. -#set(CMake_IWYU_VERBOSE ON CACHE BOOL "") -set(IWYU_COMMAND "/usr/bin/include-what-you-use-15" CACHE FILEPATH "") - -include("${CMAKE_CURRENT_LIST_DIR}/configure_common.cmake") diff --git a/.gitlab/ci/configure_debian12_makefiles_clang.cmake b/.gitlab/ci/configure_debian12_makefiles_clang.cmake deleted file mode 100644 index 9bd6275145..0000000000 --- a/.gitlab/ci/configure_debian12_makefiles_clang.cmake +++ /dev/null @@ -1,9 +0,0 @@ -set(CMake_TEST_C_STANDARDS "90;99;11;17;23" CACHE STRING "") -set(CMake_TEST_CXX_STANDARDS "98;11;14;17;20;23" CACHE STRING "") - -if (NOT "$ENV{CMAKE_CI_NIGHTLY}" STREQUAL "") - set(CMake_TEST_IAR_TOOLCHAINS "/opt/iarsystems" CACHE PATH "") - set(CMake_TEST_TICLANG_TOOLCHAINS "$ENV{CI_PROJECT_DIR}/.gitlab/ticlang" CACHE PATH "") -endif() - -include("${CMAKE_CURRENT_LIST_DIR}/configure_external_test.cmake") diff --git a/.gitlab/ci/configure_debian12_makefiles_inplace.cmake b/.gitlab/ci/configure_debian12_makefiles_inplace.cmake deleted file mode 100644 index 33f0db0c61..0000000000 --- a/.gitlab/ci/configure_debian12_makefiles_inplace.cmake +++ /dev/null @@ -1 +0,0 @@ -include("${CMAKE_CURRENT_LIST_DIR}/configure_common.cmake") diff --git a/.gitlab/ci/configure_debian12_ninja.cmake b/.gitlab/ci/configure_debian12_ninja.cmake deleted file mode 100644 index efca7a1d19..0000000000 --- a/.gitlab/ci/configure_debian12_ninja.cmake +++ /dev/null @@ -1,4 +0,0 @@ -set(CMake_TEST_ASM_NASM "ON" CACHE BOOL "") - -include("${CMAKE_CURRENT_LIST_DIR}/configure_debian12_ninja_common.cmake") -set(CMake_TEST_UseSWIG "ON" CACHE BOOL "") diff --git a/.gitlab/ci/configure_debian12_ninja_clang.cmake b/.gitlab/ci/configure_debian12_ninja_clang.cmake deleted file mode 100644 index 1a8e192da3..0000000000 --- a/.gitlab/ci/configure_debian12_ninja_clang.cmake +++ /dev/null @@ -1,6 +0,0 @@ -if (NOT "$ENV{CMAKE_CI_NIGHTLY}" STREQUAL "") - set(CMake_TEST_IAR_TOOLCHAINS "/opt/iarsystems" CACHE PATH "") - set(CMake_TEST_TICLANG_TOOLCHAINS "$ENV{CI_PROJECT_DIR}/.gitlab/ticlang" CACHE PATH "") -endif() - -include("${CMAKE_CURRENT_LIST_DIR}/configure_external_test.cmake") diff --git a/.gitlab/ci/configure_debian12_ninja_common.cmake b/.gitlab/ci/configure_debian12_ninja_common.cmake deleted file mode 100644 index 751a6c8089..0000000000 --- a/.gitlab/ci/configure_debian12_ninja_common.cmake +++ /dev/null @@ -1,121 +0,0 @@ -set(CMake_TEST_C_STANDARDS "90;99;11;17;23" CACHE STRING "") -set(CMake_TEST_CXX_STANDARDS "98;11;14;17;20;23" CACHE STRING "") - -set(CMake_TEST_CTestUpdate_BZR "ON" CACHE BOOL "") -set(CMake_TEST_CTestUpdate_CVS "ON" CACHE BOOL "") -set(CMake_TEST_CTestUpdate_GIT "ON" CACHE BOOL "") -set(CMake_TEST_CTestUpdate_HG "ON" CACHE BOOL "") -set(CMake_TEST_CTestUpdate_SVN "ON" CACHE BOOL "") -if (NOT "$ENV{CMAKE_CI_NIGHTLY}" STREQUAL "") - set(CMake_TEST_CTestUpdate_P4 "ON" CACHE BOOL "") -endif() - -set(CMake_TEST_FindALSA "ON" CACHE BOOL "") -set(CMake_TEST_FindBacktrace "ON" CACHE BOOL "") -set(CMake_TEST_FindBLAS "All;static=1;Generic" CACHE STRING "") -set(CMake_TEST_FindBoost "ON" CACHE BOOL "") -set(CMake_TEST_FindBoost_Python "ON" CACHE BOOL "") -set(CMake_TEST_FindBZip2 "ON" CACHE BOOL "") -set(CMake_TEST_FindCups "ON" CACHE BOOL "") -set(CMake_TEST_FindCURL "ON" CACHE BOOL "") -set(CMake_TEST_FindDevIL "ON" CACHE BOOL "") -set(CMake_TEST_FindDoxygen_Dot "ON" CACHE BOOL "") -set(CMake_TEST_FindDoxygen "ON" CACHE BOOL "") -set(CMake_TEST_FindEXPAT "ON" CACHE BOOL "") -set(CMake_TEST_FindFontconfig "ON" CACHE BOOL "") -set(CMake_TEST_FindFreetype "ON" CACHE BOOL "") -set(CMake_TEST_FindGDAL "ON" CACHE BOOL "") -set(CMake_TEST_FindGIF "ON" CACHE BOOL "") -set(CMake_TEST_FindGit "ON" CACHE BOOL "") -set(CMake_TEST_FindGLEW "ON" CACHE BOOL "") -set(CMake_TEST_FindGLUT "ON" CACHE BOOL "") -set(CMake_TEST_FindGnuTLS "ON" CACHE BOOL "") -set(CMake_TEST_FindGSL "ON" CACHE BOOL "") -set(CMake_TEST_FindGTest "ON" CACHE BOOL "") -set(CMake_TEST_FindGTK2 "ON" CACHE BOOL "") -set(CMake_TEST_FindHDF5 "ON" CACHE BOOL "") -set(CMake_TEST_FindHDF5_MPICH_C_COMPILER "/usr/bin/h5pcc.mpich" CACHE FILEPATH "") -set(CMake_TEST_FindHDF5_MPICH_C_COMPILER_EXPLICIT "ON" CACHE BOOL "") -set(CMake_TEST_FindHDF5_MPICH_CXX_COMPILER "/usr/bin/h5c++.mpich" CACHE FILEPATH "") -set(CMake_TEST_FindHDF5_MPICH_CXX_COMPILER_EXPLICIT "ON" CACHE BOOL "") -set(CMake_TEST_FindHDF5_MPICH_Fortran_COMPILER "/usr/bin/h5pfc.mpich" CACHE FILEPATH "") -set(CMake_TEST_FindHDF5_MPICH_Fortran_COMPILER_EXPLICIT "ON" CACHE BOOL "") -set(CMake_TEST_FindHDF5_OpenMPI_C_COMPILER "/usr/bin/h5pcc.openmpi" CACHE FILEPATH "") -set(CMake_TEST_FindHDF5_OpenMPI_C_COMPILER_EXPLICIT "ON" CACHE BOOL "") -set(CMake_TEST_FindHDF5_OpenMPI_CXX_COMPILER "/usr/bin/h5c++.openmpi" CACHE FILEPATH "") -set(CMake_TEST_FindHDF5_OpenMPI_CXX_COMPILER_EXPLICIT "ON" CACHE BOOL "") -set(CMake_TEST_FindHDF5_OpenMPI_Fortran_COMPILER "/usr/bin/h5pfc.openmpi" CACHE FILEPATH "") -set(CMake_TEST_FindHDF5_OpenMPI_Fortran_COMPILER_EXPLICIT "ON" CACHE BOOL "") -set(CMake_TEST_FindHDF5_Serial_C_COMPILER "/usr/bin/h5cc" CACHE FILEPATH "") -set(CMake_TEST_FindHDF5_Serial_CXX_COMPILER "/usr/bin/h5c++" CACHE FILEPATH "") -set(CMake_TEST_FindHDF5_Serial_Fortran_COMPILER "/usr/bin/h5fc" CACHE FILEPATH "") -set(CMake_TEST_FindIconv "ON" CACHE BOOL "") -set(CMake_TEST_FindICU "ON" CACHE BOOL "") -set(CMake_TEST_FindImageMagick "ON" CACHE BOOL "") -set(CMake_TEST_FindIntl "ON" CACHE BOOL "") -set(CMake_TEST_FindJNI "ON" CACHE BOOL "") -set(CMake_TEST_FindJPEG "ON" CACHE BOOL "") -set(CMake_TEST_FindJsonCpp "ON" CACHE BOOL "") -set(CMake_TEST_FindLAPACK "All;static=1;Generic" CACHE STRING "") -set(CMake_TEST_FindLibArchive "ON" CACHE BOOL "") -set(CMake_TEST_FindLibinput "ON" CACHE BOOL "") -set(CMake_TEST_FindLibLZMA "ON" CACHE BOOL "") -set(CMake_TEST_FindLibUV "ON" CACHE BOOL "") -set(CMake_TEST_FindLibXml2 "ON" CACHE BOOL "") -set(CMake_TEST_FindLibXslt "ON" CACHE BOOL "") -set(CMake_TEST_FindMPI_C "ON" CACHE BOOL "") -set(CMake_TEST_FindMPI_CXX "ON" CACHE BOOL "") -set(CMake_TEST_FindMPI_Fortran "ON" CACHE BOOL "") -set(CMake_TEST_FindMPI "ON" CACHE BOOL "") -set(CMake_TEST_FindODBC "ON" CACHE BOOL "") -set(CMake_TEST_FindOpenACC "ON" CACHE BOOL "") -set(CMake_TEST_FindOpenACC_C "ON" CACHE BOOL "") -set(CMake_TEST_FindOpenACC_CXX "ON" CACHE BOOL "") -set(CMake_TEST_FindOpenACC_Fortran "ON" CACHE BOOL "") -set(CMake_TEST_FindOpenAL "ON" CACHE BOOL "") -set(CMake_TEST_FindOpenGL "ON" CACHE BOOL "") -set(CMake_TEST_FindOpenMP_C "ON" CACHE BOOL "") -set(CMake_TEST_FindOpenMP_CXX "ON" CACHE BOOL "") -set(CMake_TEST_FindOpenMP_Fortran "ON" CACHE BOOL "") -set(CMake_TEST_FindOpenMP "ON" CACHE BOOL "") -set(CMake_TEST_FindOpenSP "ON" CACHE BOOL "") -set(CMake_TEST_FindOpenSSL "ON" CACHE BOOL "") -set(CMake_TEST_FindPatch "ON" CACHE BOOL "") -set(CMake_TEST_FindPNG "ON" CACHE BOOL "") -set(CMake_TEST_FindPostgreSQL "ON" CACHE BOOL "") -set(CMake_TEST_FindProtobuf "ON" CACHE BOOL "") -set(CMake_TEST_FindProtobuf_gRPC "ON" CACHE BOOL "") -set(CMake_TEST_FindPython3 "ON" CACHE BOOL "") -set(CMake_TEST_FindPython3_IronPython "ON" CACHE BOOL "") -set(CMake_TEST_FindPython3_PyPy "ON" CACHE BOOL "") -set(CMake_TEST_FindRuby "ON" CACHE BOOL "") -set(CMake_TEST_FindRuby_RVM "ON" CACHE BOOL "") -set(CMake_TEST_FindSDL "ON" CACHE BOOL "") -set(CMake_TEST_FindSQLite3 "ON" CACHE BOOL "") -set(CMake_TEST_FindTIFF "ON" CACHE BOOL "") -set(CMake_TEST_FindwxWidgets "ON" CACHE BOOL "") -set(CMake_TEST_FindX11 "ON" CACHE BOOL "") -set(CMake_TEST_FindXalanC "ON" CACHE BOOL "") -set(CMake_TEST_FindXercesC "ON" CACHE BOOL "") - -set(CMake_TEST_ELF_LARGE "ON" CACHE BOOL "") -set(CMake_TEST_Fortran_SUBMODULES "ON" CACHE BOOL "") -set(CMake_TEST_IPO_WORKS_C "ON" CACHE BOOL "") -set(CMake_TEST_IPO_WORKS_CXX "ON" CACHE BOOL "") -set(CMake_TEST_IPO_WORKS_Fortran "ON" CACHE BOOL "") -set(CMake_TEST_JQ "/usr/bin/jq" CACHE PATH "") -set(CMake_TEST_Qt5 "ON" CACHE BOOL "") -set(CMake_TEST_TLS_VERIFY_URL "https://gitlab.kitware.com" CACHE STRING "") -set(CMake_TEST_TLS_VERIFY_URL_BAD "https://badtls-expired.kitware.com" CACHE STRING "") -set(CMake_TEST_TLS_VERSION "1.3" CACHE STRING "") -set(CMake_TEST_TLS_VERSION_URL_BAD "https://badtls-v1-1.kitware.com:8011" CACHE STRING "") - -if (NOT "$ENV{SWIFTC}" STREQUAL "") - set(CMAKE_Swift_COMPILER "$ENV{SWIFTC}" CACHE FILEPATH "") -endif() - -if (NOT "$ENV{CMAKE_CI_NIGHTLY}" STREQUAL "") - set(CMAKE_TESTS_CDASH_SERVER "https://open.cdash.org" CACHE STRING "") -endif() - -include("${CMAKE_CURRENT_LIST_DIR}/configure_external_test.cmake") diff --git a/.gitlab/ci/configure_debian12_ninja_multi_symlinked.cmake b/.gitlab/ci/configure_debian12_ninja_multi_symlinked.cmake deleted file mode 100644 index 646dac8c5f..0000000000 --- a/.gitlab/ci/configure_debian12_ninja_multi_symlinked.cmake +++ /dev/null @@ -1,7 +0,0 @@ -if (NOT "$ENV{CMAKE_CI_NIGHTLY}" STREQUAL "") - set(CMake_TEST_IAR_TOOLCHAINS "/opt/iarsystems" CACHE PATH "") -endif() - -include("${CMAKE_CURRENT_LIST_DIR}/configure_symlinked_common.cmake") -include("${CMAKE_CURRENT_LIST_DIR}/configure_debian12_ninja_common.cmake") -set(CMake_TEST_UseSWIG "OFF" CACHE BOOL "") diff --git a/.gitlab/ci/configure_extdeps_common.cmake b/.gitlab/ci/configure_extdeps_common.cmake deleted file mode 100644 index c06592c3c3..0000000000 --- a/.gitlab/ci/configure_extdeps_common.cmake +++ /dev/null @@ -1,5 +0,0 @@ -set(CMAKE_USE_SYSTEM_LIBRARIES ON CACHE BOOL "") -set(CMake_TEST_BOOTSTRAP OFF CACHE BOOL "") -set(CMake_TEST_Qt6 OFF CACHE BOOL "") - -include("${CMAKE_CURRENT_LIST_DIR}/configure_common.cmake") diff --git a/.gitlab/ci/configure_external_test.cmake b/.gitlab/ci/configure_external_test.cmake deleted file mode 100644 index 71397d1890..0000000000 --- a/.gitlab/ci/configure_external_test.cmake +++ /dev/null @@ -1,3 +0,0 @@ -set(CMake_TEST_HOST_CMAKE "ON" CACHE BOOL "") - -include("${CMAKE_CURRENT_LIST_DIR}/configure_common.cmake") diff --git a/.gitlab/ci/configure_fedora41_asan.cmake b/.gitlab/ci/configure_fedora41_asan.cmake deleted file mode 100644 index df9f46d3cb..0000000000 --- a/.gitlab/ci/configure_fedora41_asan.cmake +++ /dev/null @@ -1,4 +0,0 @@ -set(CMAKE_C_FLAGS "-fsanitize=address" CACHE STRING "") -set(CMAKE_CXX_FLAGS "-fsanitize=address" CACHE STRING "") - -include("${CMAKE_CURRENT_LIST_DIR}/configure_fedora41_common.cmake") diff --git a/.gitlab/ci/configure_fedora41_clang_analyzer.cmake b/.gitlab/ci/configure_fedora41_clang_analyzer.cmake deleted file mode 100644 index cdeaab43a1..0000000000 --- a/.gitlab/ci/configure_fedora41_clang_analyzer.cmake +++ /dev/null @@ -1,3 +0,0 @@ -set(configure_no_sccache 1) - -include("${CMAKE_CURRENT_LIST_DIR}/configure_fedora41_common.cmake") diff --git a/.gitlab/ci/configure_fedora41_common.cmake b/.gitlab/ci/configure_fedora41_common.cmake deleted file mode 100644 index 4484e264ff..0000000000 --- a/.gitlab/ci/configure_fedora41_common.cmake +++ /dev/null @@ -1,7 +0,0 @@ -set(BUILD_CursesDialog ON CACHE BOOL "") -set(BUILD_QtDialog ON CACHE BOOL "") -set(CMake_QT_MAJOR_VERSION "5" CACHE STRING "") -set(CMake_TEST_JQ "/usr/bin/jq" CACHE PATH "") -set(CMake_TEST_JSON_SCHEMA ON CACHE BOOL "") - -include("${CMAKE_CURRENT_LIST_DIR}/configure_common.cmake") diff --git a/.gitlab/ci/configure_fedora41_common_clang.cmake b/.gitlab/ci/configure_fedora41_common_clang.cmake deleted file mode 100644 index a4ae3f3f30..0000000000 --- a/.gitlab/ci/configure_fedora41_common_clang.cmake +++ /dev/null @@ -1,17 +0,0 @@ -set(CMAKE_Fortran_COMPILER "/usr/bin/flang-new" CACHE FILEPATH "") -set(CMAKE_Fortran_COMPILER_ID "LLVMFlang" CACHE STRING "") -set(CMAKE_Fortran_COMPILER_SUPPORTS_F90 "1" CACHE BOOL "") - -set(CMake_TEST_C_STANDARDS "90;99;11;17;23" CACHE STRING "") -set(CMake_TEST_CXX_STANDARDS "98;11;14;17;20;23;26" CACHE STRING "") - -set(CMake_TEST_FindOpenACC "ON" CACHE BOOL "") -set(CMake_TEST_FindOpenACC_C "ON" CACHE BOOL "") -set(CMake_TEST_FindOpenACC_CXX "ON" CACHE BOOL "") -set(CMake_TEST_FindOpenACC_Fortran "OFF" CACHE BOOL "") # flang-new fails producing LLVM IR -set(CMake_TEST_FindOpenMP_C "ON" CACHE BOOL "") -set(CMake_TEST_FindOpenMP_CXX "ON" CACHE BOOL "") -set(CMake_TEST_FindOpenMP_Fortran "ON" CACHE BOOL "") -set(CMake_TEST_FindOpenMP "ON" CACHE BOOL "") - -include("${CMAKE_CURRENT_LIST_DIR}/configure_external_test.cmake") diff --git a/.gitlab/ci/configure_fedora41_common_lfortran.cmake b/.gitlab/ci/configure_fedora41_common_lfortran.cmake deleted file mode 100644 index 48469e2378..0000000000 --- a/.gitlab/ci/configure_fedora41_common_lfortran.cmake +++ /dev/null @@ -1,5 +0,0 @@ -set(CMAKE_Fortran_COMPILER "/usr/bin/lfortran" CACHE FILEPATH "") -set(CMAKE_Fortran_COMPILER_ID "LFortran" CACHE STRING "") -set(CMAKE_Fortran_COMPILER_SUPPORTS_F90 "1" CACHE BOOL "") - -include("${CMAKE_CURRENT_LIST_DIR}/configure_external_test.cmake") diff --git a/.gitlab/ci/configure_fedora41_extdeps.cmake b/.gitlab/ci/configure_fedora41_extdeps.cmake deleted file mode 100644 index 8e545f5622..0000000000 --- a/.gitlab/ci/configure_fedora41_extdeps.cmake +++ /dev/null @@ -1 +0,0 @@ -include("${CMAKE_CURRENT_LIST_DIR}/configure_extdeps_common.cmake") diff --git a/.gitlab/ci/configure_fedora41_hip_radeon.cmake b/.gitlab/ci/configure_fedora41_hip_radeon.cmake deleted file mode 100644 index 8271af3e14..0000000000 --- a/.gitlab/ci/configure_fedora41_hip_radeon.cmake +++ /dev/null @@ -1,4 +0,0 @@ -set(CMake_TEST_HIP "amd" CACHE BOOL "") -set(CMake_TEST_HIP_STANDARDS "98;11;14;17;20;23;26" CACHE STRING "") - -include("${CMAKE_CURRENT_LIST_DIR}/configure_external_test.cmake") diff --git a/.gitlab/ci/configure_fedora41_makefiles.cmake b/.gitlab/ci/configure_fedora41_makefiles.cmake deleted file mode 100644 index de57fded34..0000000000 --- a/.gitlab/ci/configure_fedora41_makefiles.cmake +++ /dev/null @@ -1,115 +0,0 @@ -set(CMake_TEST_C_STANDARDS "90;99;11;17;23" CACHE STRING "") -set(CMake_TEST_CXX_STANDARDS "98;11;14;17;20;23;26" CACHE STRING "") - -set(CMake_TEST_CTestUpdate_BZR "ON" CACHE BOOL "") -set(CMake_TEST_CTestUpdate_GIT "ON" CACHE BOOL "") -set(CMake_TEST_CTestUpdate_HG "ON" CACHE BOOL "") -set(CMake_TEST_CTestUpdate_SVN "ON" CACHE BOOL "") -if (NOT "$ENV{CMAKE_CI_NIGHTLY}" STREQUAL "") - set(CMake_TEST_CTestUpdate_P4 "ON" CACHE BOOL "") -endif() - -set(CMake_TEST_ASM_NASM "ON" CACHE BOOL "") -set(CMake_TEST_FindALSA "ON" CACHE BOOL "") -set(CMake_TEST_FindBacktrace "ON" CACHE BOOL "") -set(CMake_TEST_FindBLAS "All;static=1;Generic" CACHE STRING "") -set(CMake_TEST_FindBoost "ON" CACHE BOOL "") -set(CMake_TEST_FindBoost_Python "ON" CACHE BOOL "") -set(CMake_TEST_FindBZip2 "ON" CACHE BOOL "") -set(CMake_TEST_FindCups "ON" CACHE BOOL "") -set(CMake_TEST_FindCURL "ON" CACHE BOOL "") -set(CMake_TEST_FindDevIL "ON" CACHE BOOL "") -set(CMake_TEST_FindDoxygen_Dot "ON" CACHE BOOL "") -set(CMake_TEST_FindDoxygen "ON" CACHE BOOL "") -set(CMake_TEST_FindEXPAT "ON" CACHE BOOL "") -set(CMake_TEST_FindFontconfig "ON" CACHE BOOL "") -set(CMake_TEST_FindFreetype "ON" CACHE BOOL "") -set(CMake_TEST_FindGDAL "ON" CACHE BOOL "") -set(CMake_TEST_FindGIF "ON" CACHE BOOL "") -set(CMake_TEST_FindGit "ON" CACHE BOOL "") -set(CMake_TEST_FindGLEW "ON" CACHE BOOL "") -set(CMake_TEST_FindGLUT "ON" CACHE BOOL "") -set(CMake_TEST_FindGnuTLS "ON" CACHE BOOL "") -set(CMake_TEST_FindGSL "ON" CACHE BOOL "") -set(CMake_TEST_FindGTest "ON" CACHE BOOL "") -set(CMake_TEST_FindGTK2 "ON" CACHE BOOL "") -set(CMake_TEST_FindHDF5 "ON" CACHE BOOL "") -set(CMake_TEST_FindHDF5_MPICH_C_COMPILER "/usr/lib64/mpich/bin/h5pcc" CACHE FILEPATH "") -# set(CMake_TEST_FindHDF5_MPICH_CXX_COMPILER "/usr/lib64/mpich/bin/h5pc++" CACHE FILEPATH "") # h5pc++ does not exist -set(CMake_TEST_FindHDF5_MPICH_ENVMOD "PATH=path_list_prepend:/usr/lib64/mpich/bin;LD_LIBRARY_PATH=path_list_prepend:/usr/lib64/mpich/lib" CACHE STRING "") -set(CMake_TEST_FindHDF5_MPICH_Fortran_COMPILER "/usr/lib64/mpich/bin/h5pfc" CACHE FILEPATH "") -set(CMake_TEST_FindHDF5_OpenMPI_C_COMPILER "/usr/lib64/openmpi/bin/h5pcc" CACHE FILEPATH "") -set(CMake_TEST_FindHDF5_OpenMPI_ENVMOD "PATH=path_list_prepend:/usr/lib64/openmpi/bin;LD_LIBRARY_PATH=path_list_prepend:/usr/lib64/openmpi/lib" CACHE STRING "") -# set(CMake_TEST_FindHDF5_OpenMPI_CXX_COMPILER "/usr/lib64/openmpi/bin/h5pc++" CACHE FILEPATH "") # h5pc++ does not exist -set(CMake_TEST_FindHDF5_OpenMPI_Fortran_COMPILER "/usr/lib64/openmpi/bin/h5pfc" CACHE FILEPATH "") -set(CMake_TEST_FindHDF5_Serial_C_COMPILER "/usr/bin/h5cc" CACHE FILEPATH "") -set(CMake_TEST_FindHDF5_Serial_CXX_COMPILER "/usr/bin/h5c++" CACHE FILEPATH "") -set(CMake_TEST_FindHDF5_Serial_Fortran_COMPILER "/usr/bin/h5fc" CACHE FILEPATH "") -set(CMake_TEST_FindIconv "ON" CACHE BOOL "") -set(CMake_TEST_FindICU "ON" CACHE BOOL "") -set(CMake_TEST_FindImageMagick "ON" CACHE BOOL "") -set(CMake_TEST_FindIntl "ON" CACHE BOOL "") -set(CMake_TEST_FindJasper "ON" CACHE BOOL "") -set(CMake_TEST_FindJNI "ON" CACHE BOOL "") -set(CMake_TEST_FindJPEG "ON" CACHE BOOL "") -set(CMake_TEST_FindJsonCpp "ON" CACHE BOOL "") -set(CMake_TEST_FindLAPACK "All;static=1;Generic" CACHE STRING "") -set(CMake_TEST_FindLibArchive "ON" CACHE BOOL "") -set(CMake_TEST_FindLibinput "ON" CACHE BOOL "") -set(CMake_TEST_FindLibLZMA "ON" CACHE BOOL "") -set(CMake_TEST_FindLibUV "ON" CACHE BOOL "") -set(CMake_TEST_FindLibXml2 "ON" CACHE BOOL "") -set(CMake_TEST_FindLibXslt "ON" CACHE BOOL "") -set(CMake_TEST_FindMPI_C "ON" CACHE BOOL "") -set(CMake_TEST_FindMPI_CXX "ON" CACHE BOOL "") -set(CMake_TEST_FindMPI_Fortran "ON" CACHE BOOL "") -set(CMake_TEST_FindMPI_ENVMOD "PATH=path_list_prepend:/usr/lib64/mpich/bin;LD_LIBRARY_PATH=path_list_prepend:/usr/lib64/mpich/lib;FI_PROVIDER=set:tcp" CACHE STRING "") -set(CMake_TEST_FindMPI "ON" CACHE BOOL "") -set(CMake_TEST_FindODBC "ON" CACHE BOOL "") -set(CMake_TEST_FindOpenACC "ON" CACHE BOOL "") -set(CMake_TEST_FindOpenACC_C "ON" CACHE BOOL "") -set(CMake_TEST_FindOpenACC_CXX "ON" CACHE BOOL "") -set(CMake_TEST_FindOpenACC_Fortran "ON" CACHE BOOL "") -set(CMake_TEST_FindOpenAL "ON" CACHE BOOL "") -set(CMake_TEST_FindOpenGL "ON" CACHE BOOL "") -set(CMake_TEST_FindOpenMP_C "ON" CACHE BOOL "") -set(CMake_TEST_FindOpenMP_CXX "ON" CACHE BOOL "") -set(CMake_TEST_FindOpenMP_Fortran "ON" CACHE BOOL "") -set(CMake_TEST_FindOpenMP "ON" CACHE BOOL "") -set(CMake_TEST_FindOpenSP "ON" CACHE BOOL "") -set(CMake_TEST_FindOpenSSL "ON" CACHE BOOL "") -set(CMake_TEST_FindPatch "ON" CACHE BOOL "") -set(CMake_TEST_FindPNG "ON" CACHE BOOL "") -set(CMake_TEST_FindPostgreSQL "ON" CACHE BOOL "") -set(CMake_TEST_FindProtobuf "ON" CACHE BOOL "") -set(CMake_TEST_FindProtobuf_gRPC "ON" CACHE BOOL "") -set(CMake_TEST_FindPython3 "ON" CACHE BOOL "") -set(CMake_TEST_FindPython3_NumPy "ON" CACHE BOOL "") -set(CMake_TEST_FindPython2_PyPy "ON" CACHE BOOL "") -set(CMake_TEST_FindPython3_PyPy "ON" CACHE BOOL "") -set(CMake_TEST_FindRuby "ON" CACHE BOOL "") -set(CMake_TEST_FindRuby_RVM "ON" CACHE BOOL "") -set(CMake_TEST_FindSDL "ON" CACHE BOOL "") -set(CMake_TEST_FindSQLite3 "ON" CACHE BOOL "") -set(CMake_TEST_FindTIFF "ON" CACHE BOOL "") -set(CMake_TEST_FindwxWidgets "ON" CACHE BOOL "") -set(CMake_TEST_FindX11 "ON" CACHE BOOL "") -set(CMake_TEST_FindXalanC "ON" CACHE BOOL "") -set(CMake_TEST_FindXercesC "ON" CACHE BOOL "") - -set(CMake_TEST_ELF_LARGE "ON" CACHE BOOL "") -set(CMake_TEST_Fortran_SUBMODULES "ON" CACHE BOOL "") -set(CMake_TEST_IPO_WORKS_C "ON" CACHE BOOL "") -set(CMake_TEST_IPO_WORKS_CXX "ON" CACHE BOOL "") -set(CMake_TEST_IPO_WORKS_Fortran "ON" CACHE BOOL "") -if (NOT "$ENV{CMAKE_CI_NIGHTLY}" STREQUAL "") - set(CMake_TEST_ISPC "ON" CACHE STRING "") -endif() -set(CMake_TEST_Qt5 "ON" CACHE BOOL "") -set(CMake_TEST_TLS_VERIFY_URL "https://gitlab.kitware.com" CACHE STRING "") -set(CMake_TEST_TLS_VERIFY_URL_BAD "https://badtls-expired.kitware.com" CACHE STRING "") -set(CMake_TEST_TLS_VERSION "1.3" CACHE STRING "") -set(CMake_TEST_TLS_VERSION_URL_BAD "https://badtls-v1-1.kitware.com:8011" CACHE STRING "") -set(CMake_TEST_UseSWIG "ON" CACHE BOOL "") - -include("${CMAKE_CURRENT_LIST_DIR}/configure_external_test.cmake") diff --git a/.gitlab/ci/configure_fedora41_makefiles_clang.cmake b/.gitlab/ci/configure_fedora41_makefiles_clang.cmake deleted file mode 100644 index 3d6614e5f5..0000000000 --- a/.gitlab/ci/configure_fedora41_makefiles_clang.cmake +++ /dev/null @@ -1,5 +0,0 @@ -if (NOT "$ENV{CMAKE_CI_NIGHTLY}" STREQUAL "") - set(CMAKE_TESTS_CDASH_SERVER "https://open.cdash.org" CACHE STRING "") -endif() - -include("${CMAKE_CURRENT_LIST_DIR}/configure_fedora41_common_clang.cmake") diff --git a/.gitlab/ci/configure_fedora41_makefiles_lfortran.cmake b/.gitlab/ci/configure_fedora41_makefiles_lfortran.cmake deleted file mode 100644 index 951ce0df09..0000000000 --- a/.gitlab/ci/configure_fedora41_makefiles_lfortran.cmake +++ /dev/null @@ -1 +0,0 @@ -include("${CMAKE_CURRENT_LIST_DIR}/configure_fedora41_common_lfortran.cmake") diff --git a/.gitlab/ci/configure_fedora41_makefiles_symlinked.cmake b/.gitlab/ci/configure_fedora41_makefiles_symlinked.cmake deleted file mode 100644 index e4434c125e..0000000000 --- a/.gitlab/ci/configure_fedora41_makefiles_symlinked.cmake +++ /dev/null @@ -1,2 +0,0 @@ -include("${CMAKE_CURRENT_LIST_DIR}/configure_symlinked_common.cmake") -include("${CMAKE_CURRENT_LIST_DIR}/configure_fedora41_common.cmake") diff --git a/.gitlab/ci/configure_fedora41_ninja.cmake b/.gitlab/ci/configure_fedora41_ninja.cmake deleted file mode 100644 index 217d24aa75..0000000000 --- a/.gitlab/ci/configure_fedora41_ninja.cmake +++ /dev/null @@ -1,18 +0,0 @@ -set(CMake_TEST_GUI "ON" CACHE BOOL "") -if (NOT "$ENV{CMAKE_CI_NIGHTLY}" STREQUAL "") - set(CMake_TEST_ISPC "ON" CACHE STRING "") -endif() -set(CMake_TEST_MODULE_COMPILATION "named,compile_commands,collation,partitions,internal_partitions,export_bmi,install_bmi,shared,bmionly,build_database" CACHE STRING "") -set(CMake_TEST_TLS_VERIFY_URL "https://gitlab.kitware.com" CACHE STRING "") -set(CMake_TEST_TLS_VERIFY_URL_BAD "https://badtls-expired.kitware.com" CACHE STRING "") -set(CMake_TEST_TLS_VERSION "1.3" CACHE STRING "") -set(CMake_TEST_TLS_VERSION_URL_BAD "https://badtls-v1-1.kitware.com:8011" CACHE STRING "") - -# "Release" flags without "-DNDEBUG" so we get assertions. -set(CMAKE_C_FLAGS_RELEASE "-O3" CACHE STRING "") -set(CMAKE_CXX_FLAGS_RELEASE "-O3" CACHE STRING "") - -# Cover compilation with C++11 only and not higher standards. -set(CMAKE_CXX_STANDARD "11" CACHE STRING "") - -include("${CMAKE_CURRENT_LIST_DIR}/configure_fedora41_common.cmake") diff --git a/.gitlab/ci/configure_fedora41_ninja_clang.cmake b/.gitlab/ci/configure_fedora41_ninja_clang.cmake deleted file mode 100644 index a6e7e2aa00..0000000000 --- a/.gitlab/ci/configure_fedora41_ninja_clang.cmake +++ /dev/null @@ -1,3 +0,0 @@ -set(CMake_TEST_MODULE_COMPILATION "named,compile_commands,collation,partitions,internal_partitions,export_bmi,install_bmi,shared,bmionly,build_database" CACHE STRING "") - -include("${CMAKE_CURRENT_LIST_DIR}/configure_fedora41_common_clang.cmake") diff --git a/.gitlab/ci/configure_fedora41_ninja_lfortran.cmake b/.gitlab/ci/configure_fedora41_ninja_lfortran.cmake deleted file mode 100644 index 951ce0df09..0000000000 --- a/.gitlab/ci/configure_fedora41_ninja_lfortran.cmake +++ /dev/null @@ -1 +0,0 @@ -include("${CMAKE_CURRENT_LIST_DIR}/configure_fedora41_common_lfortran.cmake") diff --git a/.gitlab/ci/configure_fedora41_ninja_multi.cmake b/.gitlab/ci/configure_fedora41_ninja_multi.cmake deleted file mode 100644 index b4d9a70ddf..0000000000 --- a/.gitlab/ci/configure_fedora41_ninja_multi.cmake +++ /dev/null @@ -1,6 +0,0 @@ -if (NOT "$ENV{CMAKE_CI_NIGHTLY}" STREQUAL "") - set(CMake_TEST_ISPC "ON" CACHE STRING "") -endif() -set(CMake_TEST_MODULE_COMPILATION "named,compile_commands,collation,partitions,internal_partitions,export_bmi,install_bmi,shared,bmionly,build_database" CACHE STRING "") - -include("${CMAKE_CURRENT_LIST_DIR}/configure_external_test.cmake") diff --git a/.gitlab/ci/configure_fedora41_ninja_multi_clang.cmake b/.gitlab/ci/configure_fedora41_ninja_multi_clang.cmake deleted file mode 100644 index a6e7e2aa00..0000000000 --- a/.gitlab/ci/configure_fedora41_ninja_multi_clang.cmake +++ /dev/null @@ -1,3 +0,0 @@ -set(CMake_TEST_MODULE_COMPILATION "named,compile_commands,collation,partitions,internal_partitions,export_bmi,install_bmi,shared,bmionly,build_database" CACHE STRING "") - -include("${CMAKE_CURRENT_LIST_DIR}/configure_fedora41_common_clang.cmake") diff --git a/.gitlab/ci/configure_fedora41_sphinx.cmake b/.gitlab/ci/configure_fedora41_sphinx.cmake deleted file mode 100644 index 90d159b739..0000000000 --- a/.gitlab/ci/configure_fedora41_sphinx.cmake +++ /dev/null @@ -1,2 +0,0 @@ -include("${CMAKE_CURRENT_LIST_DIR}/configure_sphinx.cmake") -include("${CMAKE_CURRENT_LIST_DIR}/configure_common.cmake") diff --git a/.gitlab/ci/configure_fedora41_sphinx_package.cmake b/.gitlab/ci/configure_fedora41_sphinx_package.cmake deleted file mode 100644 index e839de80c2..0000000000 --- a/.gitlab/ci/configure_fedora41_sphinx_package.cmake +++ /dev/null @@ -1,13 +0,0 @@ -# Disable formats not wanted in the package's documentation. -set(SPHINX_INFO OFF CACHE BOOL "") -set(SPHINX_SINGLEHTML OFF CACHE BOOL "") -set(SPHINX_TEXT OFF CACHE BOOL "") - -# Set the destination directory for docs that packages expect. -set(CMAKE_DOC_DIR "doc/cmake" CACHE STRING "") - -# Use a custom prefix to avoid conflicting with other builds. -set(CMAKE_INSTALL_PREFIX "${CMAKE_BINARY_DIR}/install-doc" CACHE PATH "") - -include("${CMAKE_CURRENT_LIST_DIR}/configure_sphinx.cmake") -include("${CMAKE_CURRENT_LIST_DIR}/configure_common.cmake") diff --git a/.gitlab/ci/configure_fedora41_tidy.cmake b/.gitlab/ci/configure_fedora41_tidy.cmake deleted file mode 100644 index 40bde10c56..0000000000 --- a/.gitlab/ci/configure_fedora41_tidy.cmake +++ /dev/null @@ -1,6 +0,0 @@ -set(CMake_RUN_CLANG_TIDY ON CACHE BOOL "") -set(CMake_USE_CLANG_TIDY_MODULE ON CACHE BOOL "") -set(CMake_CLANG_TIDY_MODULE "$ENV{CI_PROJECT_DIR}/Utilities/ClangTidyModule/build/libcmake-clang-tidy-module.so" CACHE FILEPATH "") -set(CMake_CLANG_TIDY_EXPORT_FIXES_DIR "$ENV{CI_PROJECT_DIR}/.gitlab/clang-tidy-fixes" CACHE PATH "") - -include("${CMAKE_CURRENT_LIST_DIR}/configure_fedora41_common.cmake") diff --git a/.gitlab/ci/configure_hip5.5_nvidia.cmake b/.gitlab/ci/configure_hip5.5_nvidia.cmake deleted file mode 100644 index 036a2275b4..0000000000 --- a/.gitlab/ci/configure_hip5.5_nvidia.cmake +++ /dev/null @@ -1,4 +0,0 @@ -set(CMake_TEST_HIP "nvidia" CACHE BOOL "") -set(CMake_TEST_HIP_STANDARDS "98;11;14;17" CACHE STRING "") - -include("${CMAKE_CURRENT_LIST_DIR}/configure_external_test.cmake") diff --git a/.gitlab/ci/configure_hip5.5_radeon.cmake b/.gitlab/ci/configure_hip5.5_radeon.cmake deleted file mode 100644 index 06e47c9fd8..0000000000 --- a/.gitlab/ci/configure_hip5.5_radeon.cmake +++ /dev/null @@ -1,4 +0,0 @@ -set(CMake_TEST_HIP "amd" CACHE BOOL "") -set(CMake_TEST_CUDA_STANDARDS "98;11;14;17;20;23;26" CACHE STRING "") - -include("${CMAKE_CURRENT_LIST_DIR}/configure_external_test.cmake") diff --git a/.gitlab/ci/configure_intelclassic_makefiles.cmake b/.gitlab/ci/configure_intelclassic_makefiles.cmake deleted file mode 100644 index 469b825661..0000000000 --- a/.gitlab/ci/configure_intelclassic_makefiles.cmake +++ /dev/null @@ -1 +0,0 @@ -include("${CMAKE_CURRENT_LIST_DIR}/configure_intelcompiler_common.cmake") diff --git a/.gitlab/ci/configure_intelcompiler_common.cmake b/.gitlab/ci/configure_intelcompiler_common.cmake deleted file mode 100644 index bd34740f0c..0000000000 --- a/.gitlab/ci/configure_intelcompiler_common.cmake +++ /dev/null @@ -1,13 +0,0 @@ -set(blas_lapack_cases - model=lp64 all=Intel10_64lp - static=0 All Intel10_64lp compiler=gcc Intel10_64lp compiler= - static=1 All Intel10_64lp compiler=gcc Intel10_64lp compiler= - - model=ilp64 all=Intel10_64ilp - static=0 All Intel10_64ilp compiler=gcc Intel10_64ilp compiler= - static=1 All Intel10_64ilp compiler=gcc Intel10_64ilp compiler= - ) -set(CMake_TEST_FindBLAS "${blas_lapack_cases}" CACHE STRING "") -set(CMake_TEST_FindLAPACK "${blas_lapack_cases}" CACHE STRING "") - -include("${CMAKE_CURRENT_LIST_DIR}/configure_external_test.cmake") diff --git a/.gitlab/ci/configure_inteloneapi_makefiles.cmake b/.gitlab/ci/configure_inteloneapi_makefiles.cmake deleted file mode 100644 index 469b825661..0000000000 --- a/.gitlab/ci/configure_inteloneapi_makefiles.cmake +++ /dev/null @@ -1 +0,0 @@ -include("${CMAKE_CURRENT_LIST_DIR}/configure_intelcompiler_common.cmake") diff --git a/.gitlab/ci/configure_macos10.10_package.cmake b/.gitlab/ci/configure_macos10.10_package.cmake deleted file mode 100644 index 280d91e88e..0000000000 --- a/.gitlab/ci/configure_macos10.10_package.cmake +++ /dev/null @@ -1,6 +0,0 @@ -set(CPACK_SYSTEM_NAME "macos10.10-universal" CACHE STRING "") -set(CMAKE_OSX_DEPLOYMENT_TARGET "10.10" CACHE STRING "") -set(CMAKE_C_STANDARD "11" CACHE STRING "") -set(CMAKE_CXX_STANDARD "14" CACHE STRING "") - -include("${CMAKE_CURRENT_LIST_DIR}/configure_macos_package_common.cmake") diff --git a/.gitlab/ci/configure_macos_arm64_curl.cmake b/.gitlab/ci/configure_macos_arm64_curl.cmake deleted file mode 100644 index 73263cb194..0000000000 --- a/.gitlab/ci/configure_macos_arm64_curl.cmake +++ /dev/null @@ -1,10 +0,0 @@ -# Build with our vendored curl instead of the default system version. -set(CMAKE_USE_SYSTEM_CURL "OFF" CACHE BOOL "") - -set(CMake_TEST_TLS_VERIFY_URL "https://gitlab.kitware.com" CACHE STRING "") -set(CMake_TEST_TLS_VERIFY_URL_BAD "https://badtls-expired.kitware.com" CACHE STRING "") -set(CMake_TEST_TLS_VERSION "1.2" CACHE STRING "") -set(CMake_TEST_TLS_VERSION_URL_BAD "https://badtls-v1-1.kitware.com:8011" CACHE STRING "") - -include("${CMAKE_CURRENT_LIST_DIR}/configure_macos_common.cmake") -include("${CMAKE_CURRENT_LIST_DIR}/configure_common.cmake") diff --git a/.gitlab/ci/configure_macos_arm64_ninja.cmake b/.gitlab/ci/configure_macos_arm64_ninja.cmake deleted file mode 100644 index d49205f9ab..0000000000 --- a/.gitlab/ci/configure_macos_arm64_ninja.cmake +++ /dev/null @@ -1,15 +0,0 @@ -set(CMake_TEST_C_STANDARDS "90;99;11;17;23" CACHE STRING "") -set(CMake_TEST_CXX_STANDARDS "98;11;14;17;20;23" CACHE STRING "") - -set(CMake_TEST_FindOpenAL "ON" CACHE BOOL "") -set(CMake_TEST_FindOpenMP "ON" CACHE BOOL "") -set(CMake_TEST_FindOpenMP_C "ON" CACHE BOOL "") -set(CMake_TEST_FindOpenMP_CXX "ON" CACHE BOOL "") -set(CMake_TEST_GUI "ON" CACHE BOOL "") -set(CMake_TEST_TLS_VERIFY_URL "https://gitlab.kitware.com" CACHE STRING "") -set(CMake_TEST_TLS_VERIFY_URL_BAD "https://badtls-expired.kitware.com" CACHE STRING "") -set(CMake_TEST_TLS_VERSION "1.2" CACHE STRING "") -set(CMake_TEST_TLS_VERSION_URL_BAD "https://badtls-v1-1.kitware.com:8011" CACHE STRING "") - -include("${CMAKE_CURRENT_LIST_DIR}/configure_macos_common.cmake") -include("${CMAKE_CURRENT_LIST_DIR}/configure_common.cmake") diff --git a/.gitlab/ci/configure_macos_arm64_ninja_multi.cmake b/.gitlab/ci/configure_macos_arm64_ninja_multi.cmake deleted file mode 100644 index 5b19c60c1b..0000000000 --- a/.gitlab/ci/configure_macos_arm64_ninja_multi.cmake +++ /dev/null @@ -1,11 +0,0 @@ -if (NOT "$ENV{CMAKE_CI_NIGHTLY}" STREQUAL "") - set(CMake_TEST_ISPC "ON" CACHE STRING "") - set(CMAKE_TESTS_CDASH_SERVER "https://open.cdash.org" CACHE STRING "") -endif() - -# FIXME: sccache sometimes fails with "Compiler killed by signal 9". -# This job does not compile much anyway, so suppress it for now. -set(configure_no_sccache 1) - -include("${CMAKE_CURRENT_LIST_DIR}/configure_macos_common.cmake") -include("${CMAKE_CURRENT_LIST_DIR}/configure_external_test.cmake") diff --git a/.gitlab/ci/configure_macos_arm64_ninja_symlinked.cmake b/.gitlab/ci/configure_macos_arm64_ninja_symlinked.cmake deleted file mode 100644 index 63d0dc73e7..0000000000 --- a/.gitlab/ci/configure_macos_arm64_ninja_symlinked.cmake +++ /dev/null @@ -1,2 +0,0 @@ -include("${CMAKE_CURRENT_LIST_DIR}/configure_symlinked_common.cmake") -include("${CMAKE_CURRENT_LIST_DIR}/configure_macos_arm64_ninja.cmake") diff --git a/.gitlab/ci/configure_macos_arm64_pch.cmake b/.gitlab/ci/configure_macos_arm64_pch.cmake deleted file mode 100644 index e2676ba8b0..0000000000 --- a/.gitlab/ci/configure_macos_arm64_pch.cmake +++ /dev/null @@ -1,7 +0,0 @@ -set(CMake_BUILD_PCH "ON" CACHE BOOL "") - -# sccache does not forward the PCH '-Xarch_arm64 "-include/..."' flag correctly. -set(configure_no_sccache 1) - -include("${CMAKE_CURRENT_LIST_DIR}/configure_macos_common.cmake") -include("${CMAKE_CURRENT_LIST_DIR}/configure_common.cmake") diff --git a/.gitlab/ci/configure_macos_arm64_xcode.cmake b/.gitlab/ci/configure_macos_arm64_xcode.cmake deleted file mode 100644 index 1b976d261a..0000000000 --- a/.gitlab/ci/configure_macos_arm64_xcode.cmake +++ /dev/null @@ -1,2 +0,0 @@ -include("${CMAKE_CURRENT_LIST_DIR}/configure_macos_common.cmake") -include("${CMAKE_CURRENT_LIST_DIR}/configure_external_test.cmake") diff --git a/.gitlab/ci/configure_macos_arm64_xcode_symlinked.cmake b/.gitlab/ci/configure_macos_arm64_xcode_symlinked.cmake deleted file mode 100644 index 66b18e16b2..0000000000 --- a/.gitlab/ci/configure_macos_arm64_xcode_symlinked.cmake +++ /dev/null @@ -1,2 +0,0 @@ -include("${CMAKE_CURRENT_LIST_DIR}/configure_symlinked_common.cmake") -include("${CMAKE_CURRENT_LIST_DIR}/configure_macos_arm64_xcode.cmake") diff --git a/.gitlab/ci/configure_macos_arm64_xcode_ub.cmake b/.gitlab/ci/configure_macos_arm64_xcode_ub.cmake deleted file mode 100644 index 1b976d261a..0000000000 --- a/.gitlab/ci/configure_macos_arm64_xcode_ub.cmake +++ /dev/null @@ -1,2 +0,0 @@ -include("${CMAKE_CURRENT_LIST_DIR}/configure_macos_common.cmake") -include("${CMAKE_CURRENT_LIST_DIR}/configure_external_test.cmake") diff --git a/.gitlab/ci/configure_macos_common.cmake b/.gitlab/ci/configure_macos_common.cmake deleted file mode 100644 index e78c9cec33..0000000000 --- a/.gitlab/ci/configure_macos_common.cmake +++ /dev/null @@ -1,18 +0,0 @@ -# Our CI machines do not consistently have Java installed, so a build may -# detect that Java is available and working, but a test machine then not have a -# working Java installed. To work around this, just act as if Java is not -# available on any CI machine. -set(CMake_TEST_Java OFF CACHE BOOL "") - -# Qt binaries get placed inside the source directory, which causes them to not -# be included in the install-time rpath, but we still want them in the -# build-time rpath. CMake sets CMAKE_BUILD_WITH_INSTALL_RPATH to ON by default, -# so set it to OFF. -set(CMAKE_BUILD_WITH_INSTALL_RPATH OFF CACHE BOOL "") - -set(BUILD_QtDialog ON CACHE BOOL "") - -# The "XCTest" test uses an explicit deployment target chosen -# when CMake itself is configured. Use a version that is not -# newer than the macOS version running on any CI host. -set(CMake_TEST_XCTest_DEPLOYMENT_TARGET "10.15" CACHE STRING "") diff --git a/.gitlab/ci/configure_macos_package.cmake b/.gitlab/ci/configure_macos_package.cmake deleted file mode 100644 index cdc8fd23a3..0000000000 --- a/.gitlab/ci/configure_macos_package.cmake +++ /dev/null @@ -1,6 +0,0 @@ -set(CPACK_SYSTEM_NAME "macos-universal" CACHE STRING "") -set(CMAKE_OSX_DEPLOYMENT_TARGET "10.13" CACHE STRING "") -set(CMAKE_C_STANDARD "11" CACHE STRING "") -set(CMAKE_CXX_STANDARD "17" CACHE STRING "") - -include("${CMAKE_CURRENT_LIST_DIR}/configure_macos_package_common.cmake") diff --git a/.gitlab/ci/configure_macos_package_common.cmake b/.gitlab/ci/configure_macos_package_common.cmake deleted file mode 100644 index 2ac7ad611e..0000000000 --- a/.gitlab/ci/configure_macos_package_common.cmake +++ /dev/null @@ -1,23 +0,0 @@ -set(CMake_DOC_ARTIFACT_PREFIX "$ENV{CI_PROJECT_DIR}/build/install-doc" CACHE PATH "") - -# Set up install destinations as expected by the packaging scripts. -set(CMAKE_INSTALL_PREFIX "/" CACHE PATH "") -set(CMAKE_DOC_DIR "doc/cmake" CACHE STRING "") - -# Settings for CMake packages for macOS. -set(CPACK_DMG_FORMAT "UDBZ" CACHE STRING "") -set(CMAKE_OSX_ARCHITECTURES "x86_64;arm64" CACHE STRING "") -set(BUILD_CursesDialog "ON" CACHE BOOL "") -set(BUILD_QtDialog "TRUE" CACHE BOOL "") -set(CMake_GUI_DISTRIBUTE_WITH_Qt_LGPL "3" CACHE STRING "") -set(CMake_INSTALL_DEPENDENCIES "ON" CACHE BOOL "") -set(CMAKE_SKIP_RPATH "TRUE" CACHE BOOL "") -set(CMake_TEST_BOOTSTRAP OFF CACHE BOOL "") -set(CMake_TEST_NO_FindPackageModeMakefileTest "TRUE" CACHE BOOL "") - -# XXX(sccache): restore sccache when it works for multiple architectures: -# https://github.com/mozilla/sccache/issues/847 -set(configure_no_sccache 1) - -include("${CMAKE_CURRENT_LIST_DIR}/configure_macos_common.cmake") -include("${CMAKE_CURRENT_LIST_DIR}/configure_common.cmake") diff --git a/.gitlab/ci/configure_macos_x86_64_makefiles.cmake b/.gitlab/ci/configure_macos_x86_64_makefiles.cmake deleted file mode 100644 index 99beb68fbe..0000000000 --- a/.gitlab/ci/configure_macos_x86_64_makefiles.cmake +++ /dev/null @@ -1,15 +0,0 @@ -set(CMake_TEST_FindOpenAL "ON" CACHE BOOL "") -set(CMake_TEST_FindOpenMP "ON" CACHE BOOL "") -set(CMake_TEST_FindOpenMP_C "ON" CACHE BOOL "") -set(CMake_TEST_FindOpenMP_CXX "ON" CACHE BOOL "") -set(CMake_TEST_GUI "ON" CACHE BOOL "") -if (NOT "$ENV{CMAKE_CI_NIGHTLY}" STREQUAL "") - set(CMake_TEST_ISPC "ON" CACHE STRING "") -endif() -set(CMake_TEST_TLS_VERIFY_URL "https://gitlab.kitware.com" CACHE STRING "") -set(CMake_TEST_TLS_VERIFY_URL_BAD "https://badtls-expired.kitware.com" CACHE STRING "") -set(CMake_TEST_TLS_VERSION "1.2" CACHE STRING "") -set(CMake_TEST_TLS_VERSION_URL_BAD "https://badtls-v1-1.kitware.com:8011" CACHE STRING "") - -include("${CMAKE_CURRENT_LIST_DIR}/configure_macos_common.cmake") -include("${CMAKE_CURRENT_LIST_DIR}/configure_common.cmake") diff --git a/.gitlab/ci/configure_macos_x86_64_ninja.cmake b/.gitlab/ci/configure_macos_x86_64_ninja.cmake deleted file mode 100644 index c82391711f..0000000000 --- a/.gitlab/ci/configure_macos_x86_64_ninja.cmake +++ /dev/null @@ -1,18 +0,0 @@ -set(CMake_TEST_C_STANDARDS "90;99;11;17;23" CACHE STRING "") -set(CMake_TEST_CXX_STANDARDS "98;11;14;17;20;23" CACHE STRING "") - -set(CMake_TEST_FindOpenAL "ON" CACHE BOOL "") -set(CMake_TEST_FindOpenMP "ON" CACHE BOOL "") -set(CMake_TEST_FindOpenMP_C "ON" CACHE BOOL "") -set(CMake_TEST_FindOpenMP_CXX "ON" CACHE BOOL "") -set(CMake_TEST_GUI "ON" CACHE BOOL "") -if (NOT "$ENV{CMAKE_CI_NIGHTLY}" STREQUAL "") - set(CMake_TEST_ISPC "ON" CACHE STRING "") -endif() -set(CMake_TEST_TLS_VERIFY_URL "https://gitlab.kitware.com" CACHE STRING "") -set(CMake_TEST_TLS_VERIFY_URL_BAD "https://badtls-expired.kitware.com" CACHE STRING "") -set(CMake_TEST_TLS_VERSION "1.2" CACHE STRING "") -set(CMake_TEST_TLS_VERSION_URL_BAD "https://badtls-v1-1.kitware.com:8011" CACHE STRING "") - -include("${CMAKE_CURRENT_LIST_DIR}/configure_macos_common.cmake") -include("${CMAKE_CURRENT_LIST_DIR}/configure_common.cmake") diff --git a/.gitlab/ci/configure_macos_x86_64_ninja_ub.cmake b/.gitlab/ci/configure_macos_x86_64_ninja_ub.cmake deleted file mode 100644 index 1b976d261a..0000000000 --- a/.gitlab/ci/configure_macos_x86_64_ninja_ub.cmake +++ /dev/null @@ -1,2 +0,0 @@ -include("${CMAKE_CURRENT_LIST_DIR}/configure_macos_common.cmake") -include("${CMAKE_CURRENT_LIST_DIR}/configure_external_test.cmake") diff --git a/.gitlab/ci/configure_macos_x86_64_xcode.cmake b/.gitlab/ci/configure_macos_x86_64_xcode.cmake deleted file mode 100644 index f1b91ec9a3..0000000000 --- a/.gitlab/ci/configure_macos_x86_64_xcode.cmake +++ /dev/null @@ -1,3 +0,0 @@ -set(CMake_TEST_RunCMake_ExternalProject_RUN_SERIAL ON CACHE BOOL "") -include("${CMAKE_CURRENT_LIST_DIR}/configure_macos_common.cmake") -include("${CMAKE_CURRENT_LIST_DIR}/configure_external_test.cmake") diff --git a/.gitlab/ci/configure_mingw_osdn_io_common.cmake b/.gitlab/ci/configure_mingw_osdn_io_common.cmake deleted file mode 100644 index d316233028..0000000000 --- a/.gitlab/ci/configure_mingw_osdn_io_common.cmake +++ /dev/null @@ -1,8 +0,0 @@ -set(CMake_TEST_Java OFF CACHE BOOL "") - -get_filename_component(mingw_dir "${CMAKE_CURRENT_LIST_DIR}/../mingw" ABSOLUTE) -set(CMake_TEST_MSYSTEM_PREFIX "${mingw_dir}" CACHE STRING "") - -set(configure_no_sccache 1) - -include("${CMAKE_CURRENT_LIST_DIR}/configure_external_test.cmake") diff --git a/.gitlab/ci/configure_mingw_osdn_io_mingw_makefiles.cmake b/.gitlab/ci/configure_mingw_osdn_io_mingw_makefiles.cmake deleted file mode 100644 index 5ddd410be6..0000000000 --- a/.gitlab/ci/configure_mingw_osdn_io_mingw_makefiles.cmake +++ /dev/null @@ -1 +0,0 @@ -include("${CMAKE_CURRENT_LIST_DIR}/configure_mingw_osdn_io_common.cmake") diff --git a/.gitlab/ci/configure_mingw_osdn_io_msys_makefiles.cmake b/.gitlab/ci/configure_mingw_osdn_io_msys_makefiles.cmake deleted file mode 100644 index 5ddd410be6..0000000000 --- a/.gitlab/ci/configure_mingw_osdn_io_msys_makefiles.cmake +++ /dev/null @@ -1 +0,0 @@ -include("${CMAKE_CURRENT_LIST_DIR}/configure_mingw_osdn_io_common.cmake") diff --git a/.gitlab/ci/configure_nvhpc_ninja.cmake b/.gitlab/ci/configure_nvhpc_ninja.cmake deleted file mode 100644 index 07e47c45a8..0000000000 --- a/.gitlab/ci/configure_nvhpc_ninja.cmake +++ /dev/null @@ -1,6 +0,0 @@ -set(CMake_TEST_CUDA "NVIDIA" CACHE STRING "") -set(CMake_TEST_CUDA_CUPTI "ON" CACHE STRING "") - -set(configure_no_sccache 1) - -include("${CMAKE_CURRENT_LIST_DIR}/configure_external_test.cmake") diff --git a/.gitlab/ci/configure_sccache.cmake b/.gitlab/ci/configure_sccache.cmake deleted file mode 100644 index 261bb285f9..0000000000 --- a/.gitlab/ci/configure_sccache.cmake +++ /dev/null @@ -1,2 +0,0 @@ -set(CMAKE_C_COMPILER_LAUNCHER "sccache" CACHE STRING "") -set(CMAKE_CXX_COMPILER_LAUNCHER "sccache" CACHE STRING "") diff --git a/.gitlab/ci/configure_sphinx.cmake b/.gitlab/ci/configure_sphinx.cmake deleted file mode 100644 index 9f3f0bea7c..0000000000 --- a/.gitlab/ci/configure_sphinx.cmake +++ /dev/null @@ -1,9 +0,0 @@ -set(SPHINX_INFO ON CACHE BOOL "") -set(SPHINX_MAN ON CACHE BOOL "") -set(SPHINX_HTML ON CACHE BOOL "") -set(SPHINX_SINGLEHTML ON CACHE BOOL "") -set(SPHINX_QTHELP ON CACHE BOOL "") -set(SPHINX_TEXT ON CACHE BOOL "") -if(NOT "$ENV{CMAKE_CI_NIGHTLY}" STREQUAL "") - set(SPHINX_LINKCHECK ON CACHE BOOL "") -endif() diff --git a/.gitlab/ci/configure_symlinked_common.cmake b/.gitlab/ci/configure_symlinked_common.cmake deleted file mode 100644 index a5e427e422..0000000000 --- a/.gitlab/ci/configure_symlinked_common.cmake +++ /dev/null @@ -1,7 +0,0 @@ -# Ensure that the symlink tree is set up correctly. -if(NOT CMAKE_SOURCE_DIR STREQUAL "$ENV{CI_PROJECT_DIR}/work/cmake") - message(FATAL_ERROR "Expected value of CMAKE_SOURCE_DIR:\n $ENV{CI_PROJECT_DIR}/work/cmake\nActual value:\n ${CMAKE_SOURCE_DIR}") -endif() -if(NOT CMAKE_BINARY_DIR STREQUAL "$ENV{CI_PROJECT_DIR}/work/build") - message(FATAL_ERROR "Expected value of CMAKE_BINARY_DIR:\n $ENV{CI_PROJECT_DIR}/work/build\nActual value:\n ${CMAKE_BINARY_DIR}") -endif() diff --git a/.gitlab/ci/configure_windows_arm64_package.cmake b/.gitlab/ci/configure_windows_arm64_package.cmake deleted file mode 100644 index f3ce85330e..0000000000 --- a/.gitlab/ci/configure_windows_arm64_package.cmake +++ /dev/null @@ -1,16 +0,0 @@ -# CPack package file name component for this platform. -set(CPACK_SYSTEM_NAME "windows-arm64" CACHE STRING "") - -# Tell WiX to package for this architecture. -set(CPACK_WIX_ARCHITECTURE "arm64" CACHE STRING "") - -# Use APIs from at most Windows 7 -set(CMAKE_C_FLAGS "-D_WIN32_WINNT=0x0A00 -DNTDDI_VERSION=0x0A000008" CACHE STRING "") -set(CMAKE_CXX_FLAGS "-GR -EHsc -D_WIN32_WINNT=0x0A00 -DNTDDI_VERSION=0x0A000008" CACHE STRING "") -set(CMAKE_EXE_LINKER_FLAGS "-machine:arm64 -subsystem:console,6.02" CACHE STRING "") - -set(qt "$ENV{CI_PROJECT_DIR}/.gitlab/qt") -set(qt_host "$ENV{CI_PROJECT_DIR}/.gitlab/qt-host") -set(CMAKE_PREFIX_PATH "${qt};${qt_host}" CACHE STRING "") - -include("${CMAKE_CURRENT_LIST_DIR}/configure_windows_package_common.cmake") diff --git a/.gitlab/ci/configure_windows_arm64_vs2022.cmake b/.gitlab/ci/configure_windows_arm64_vs2022.cmake deleted file mode 100644 index 290d3806ff..0000000000 --- a/.gitlab/ci/configure_windows_arm64_vs2022.cmake +++ /dev/null @@ -1,4 +0,0 @@ -set(CMake_TEST_MODULE_COMPILATION "named,partitions,internal_partitions" CACHE STRING "") - -include("${CMAKE_CURRENT_LIST_DIR}/configure_windows_msvc_cxx_modules_common.cmake") -include("${CMAKE_CURRENT_LIST_DIR}/configure_windows_vs_common.cmake") diff --git a/.gitlab/ci/configure_windows_arm64_vs2022_ninja.cmake b/.gitlab/ci/configure_windows_arm64_vs2022_ninja.cmake deleted file mode 100644 index 71dee5e8b6..0000000000 --- a/.gitlab/ci/configure_windows_arm64_vs2022_ninja.cmake +++ /dev/null @@ -1,13 +0,0 @@ -# Qt host tools are not yet available natively on windows-arm64. -set(CMake_TEST_GUI "OFF" CACHE BOOL "") -set(BUILD_QtDialog "OFF" CACHE BOOL "") -set(CMAKE_PREFIX_PATH "" CACHE STRING "") - -set(CMake_TEST_TLS_VERIFY_URL "https://gitlab.kitware.com" CACHE STRING "") -set(CMake_TEST_TLS_VERIFY_URL_BAD "https://badtls-expired.kitware.com" CACHE STRING "") -set(CMake_TEST_TLS_VERSION "1.2" CACHE STRING "") -set(CMake_TEST_TLS_VERSION_URL_BAD "https://badtls-v1-1.kitware.com:8011" CACHE STRING "") - -include("${CMAKE_CURRENT_LIST_DIR}/configure_windows_msvc_cxx_modules_common.cmake") -include("${CMAKE_CURRENT_LIST_DIR}/configure_windows_wix_common.cmake") -include("${CMAKE_CURRENT_LIST_DIR}/configure_windows_vs_common_ninja.cmake") diff --git a/.gitlab/ci/configure_windows_borland5.5.cmake b/.gitlab/ci/configure_windows_borland5.5.cmake deleted file mode 100644 index 82c4178aea..0000000000 --- a/.gitlab/ci/configure_windows_borland5.5.cmake +++ /dev/null @@ -1 +0,0 @@ -include("${CMAKE_CURRENT_LIST_DIR}/configure_windows_borland_common.cmake") diff --git a/.gitlab/ci/configure_windows_borland5.8.cmake b/.gitlab/ci/configure_windows_borland5.8.cmake deleted file mode 100644 index 82c4178aea..0000000000 --- a/.gitlab/ci/configure_windows_borland5.8.cmake +++ /dev/null @@ -1 +0,0 @@ -include("${CMAKE_CURRENT_LIST_DIR}/configure_windows_borland_common.cmake") diff --git a/.gitlab/ci/configure_windows_borland_common.cmake b/.gitlab/ci/configure_windows_borland_common.cmake deleted file mode 100644 index 55dce1d3ed..0000000000 --- a/.gitlab/ci/configure_windows_borland_common.cmake +++ /dev/null @@ -1,5 +0,0 @@ -set(CMake_TEST_Java OFF CACHE BOOL "") - -set(configure_no_sccache 1) - -include("${CMAKE_CURRENT_LIST_DIR}/configure_external_test.cmake") diff --git a/.gitlab/ci/configure_windows_clang_common.cmake b/.gitlab/ci/configure_windows_clang_common.cmake deleted file mode 100644 index 738477e21a..0000000000 --- a/.gitlab/ci/configure_windows_clang_common.cmake +++ /dev/null @@ -1,18 +0,0 @@ -if("$ENV{CMAKE_CI_BUILD_NAME}" MATCHES "(^|_)gnu(_|$)") - set(CMake_TEST_C_STANDARDS "90;99;11;17;23" CACHE STRING "") - set(CMake_TEST_CXX_STANDARDS "98;11;14;17;20;23;26" CACHE STRING "") -else() - # FIXME: Implement C23 support for clang-cl. - set(CMake_TEST_C_STANDARDS "90;99;11;17" CACHE STRING "") - set(CMake_TEST_CXX_STANDARDS "98;11;14;17;20;23" CACHE STRING "") -endif() - -set(CMake_TEST_FindOpenMP "ON" CACHE BOOL "") -set(CMake_TEST_FindOpenMP_C "ON" CACHE BOOL "") -set(CMake_TEST_FindOpenMP_CXX "ON" CACHE BOOL "") -set(CMake_TEST_FindOpenMP_Fortran "OFF" CACHE BOOL "") -set(CMake_TEST_Java OFF CACHE BOOL "") - -set(configure_no_sccache 1) - -include("${CMAKE_CURRENT_LIST_DIR}/configure_external_test.cmake") diff --git a/.gitlab/ci/configure_windows_clang_ninja.cmake b/.gitlab/ci/configure_windows_clang_ninja.cmake deleted file mode 100644 index 214c754891..0000000000 --- a/.gitlab/ci/configure_windows_clang_ninja.cmake +++ /dev/null @@ -1,4 +0,0 @@ -if("$ENV{CMAKE_CI_BUILD_NAME}" MATCHES "(^|_)gnu(_|$)") - set(CMake_TEST_MODULE_COMPILATION "named,compile_commands,collation,partitions,internal_partitions,export_bmi,install_bmi,shared,bmionly,build_database" CACHE STRING "") -endif() -include("${CMAKE_CURRENT_LIST_DIR}/configure_windows_clang_common.cmake") diff --git a/.gitlab/ci/configure_windows_clang_nmake.cmake b/.gitlab/ci/configure_windows_clang_nmake.cmake deleted file mode 100644 index ba19834a88..0000000000 --- a/.gitlab/ci/configure_windows_clang_nmake.cmake +++ /dev/null @@ -1 +0,0 @@ -include("${CMAKE_CURRENT_LIST_DIR}/configure_windows_clang_common.cmake") diff --git a/.gitlab/ci/configure_windows_common.cmake b/.gitlab/ci/configure_windows_common.cmake deleted file mode 100644 index 7467cfdf4c..0000000000 --- a/.gitlab/ci/configure_windows_common.cmake +++ /dev/null @@ -1,7 +0,0 @@ -set(BUILD_QtDialog ON CACHE BOOL "") -set(BUILD_CursesDialog ON CACHE BOOL "") -set(CMAKE_PREFIX_PATH "$ENV{CI_PROJECT_DIR}/.gitlab/qt" CACHE STRING "") -set(CMake_TEST_Java OFF CACHE BOOL "") -set(Python_FIND_REGISTRY NEVER CACHE STRING "") - -include("${CMAKE_CURRENT_LIST_DIR}/configure_common.cmake") diff --git a/.gitlab/ci/configure_windows_i386_package.cmake b/.gitlab/ci/configure_windows_i386_package.cmake deleted file mode 100644 index c80ebcce2e..0000000000 --- a/.gitlab/ci/configure_windows_i386_package.cmake +++ /dev/null @@ -1,13 +0,0 @@ -# CPack package file name component for this platform. -set(CPACK_SYSTEM_NAME "windows-i386" CACHE STRING "") - -# Tell WiX to package for this architecture. -set(CPACK_WIX_ARCHITECTURE "x86" CACHE STRING "") - -# Use APIs from at most Windows 7 -set(CMAKE_C_FLAGS "-D_WIN32_WINNT=0x601 -DNTDDI_VERSION=0x06010000" CACHE STRING "") -set(CMAKE_CXX_FLAGS "-GR -EHsc -D_WIN32_WINNT=0x601 -DNTDDI_VERSION=0x06010000" CACHE STRING "") -set(CMAKE_EXE_LINKER_FLAGS "-machine:x86 -subsystem:console,6.01" CACHE STRING "") - -include("${CMAKE_CURRENT_LIST_DIR}/configure_windows_package_common_x86.cmake") -include("${CMAKE_CURRENT_LIST_DIR}/configure_windows_package_common.cmake") diff --git a/.gitlab/ci/configure_windows_intelclassic_ninja.cmake b/.gitlab/ci/configure_windows_intelclassic_ninja.cmake deleted file mode 100644 index c2d708baf3..0000000000 --- a/.gitlab/ci/configure_windows_intelclassic_ninja.cmake +++ /dev/null @@ -1 +0,0 @@ -include("${CMAKE_CURRENT_LIST_DIR}/configure_windows_intelcompiler_common.cmake") diff --git a/.gitlab/ci/configure_windows_intelcompiler_common.cmake b/.gitlab/ci/configure_windows_intelcompiler_common.cmake deleted file mode 100644 index 0777eaf8d3..0000000000 --- a/.gitlab/ci/configure_windows_intelcompiler_common.cmake +++ /dev/null @@ -1,9 +0,0 @@ -set(CMake_TEST_FindOpenMP "ON" CACHE BOOL "") -set(CMake_TEST_FindOpenMP_C "ON" CACHE BOOL "") -set(CMake_TEST_FindOpenMP_CXX "ON" CACHE BOOL "") -set(CMake_TEST_FindOpenMP_Fortran "ON" CACHE BOOL "") -set(CMake_TEST_Java OFF CACHE BOOL "") - -set(configure_no_sccache 1) - -include("${CMAKE_CURRENT_LIST_DIR}/configure_external_test.cmake") diff --git a/.gitlab/ci/configure_windows_inteloneapi_ninja.cmake b/.gitlab/ci/configure_windows_inteloneapi_ninja.cmake deleted file mode 100644 index c2d708baf3..0000000000 --- a/.gitlab/ci/configure_windows_inteloneapi_ninja.cmake +++ /dev/null @@ -1 +0,0 @@ -include("${CMAKE_CURRENT_LIST_DIR}/configure_windows_intelcompiler_common.cmake") diff --git a/.gitlab/ci/configure_windows_msvc_common.cmake b/.gitlab/ci/configure_windows_msvc_common.cmake deleted file mode 100644 index 946eca75de..0000000000 --- a/.gitlab/ci/configure_windows_msvc_common.cmake +++ /dev/null @@ -1,4 +0,0 @@ -set(CMake_TEST_Java OFF CACHE BOOL "") - -set(configure_no_sccache 1) -include("${CMAKE_CURRENT_LIST_DIR}/configure_external_test.cmake") diff --git a/.gitlab/ci/configure_windows_msvc_cxx_modules_common.cmake b/.gitlab/ci/configure_windows_msvc_cxx_modules_common.cmake deleted file mode 100644 index 89a58413f1..0000000000 --- a/.gitlab/ci/configure_windows_msvc_cxx_modules_common.cmake +++ /dev/null @@ -1 +0,0 @@ -set(CMake_TEST_MODULE_COMPILATION "named,compile_commands,collation,partitions,internal_partitions,shared,export_bmi,install_bmi,bmionly,import_std23,build_database" CACHE STRING "") diff --git a/.gitlab/ci/configure_windows_msvc_v71_nmake.cmake b/.gitlab/ci/configure_windows_msvc_v71_nmake.cmake deleted file mode 100644 index 166690abe0..0000000000 --- a/.gitlab/ci/configure_windows_msvc_v71_nmake.cmake +++ /dev/null @@ -1 +0,0 @@ -include("${CMAKE_CURRENT_LIST_DIR}/configure_windows_msvc_common.cmake") diff --git a/.gitlab/ci/configure_windows_openwatcom1.9.cmake b/.gitlab/ci/configure_windows_openwatcom1.9.cmake deleted file mode 100644 index f29c3f486a..0000000000 --- a/.gitlab/ci/configure_windows_openwatcom1.9.cmake +++ /dev/null @@ -1 +0,0 @@ -include("${CMAKE_CURRENT_LIST_DIR}/configure_windows_openwatcom_common.cmake") diff --git a/.gitlab/ci/configure_windows_openwatcom_common.cmake b/.gitlab/ci/configure_windows_openwatcom_common.cmake deleted file mode 100644 index 55dce1d3ed..0000000000 --- a/.gitlab/ci/configure_windows_openwatcom_common.cmake +++ /dev/null @@ -1,5 +0,0 @@ -set(CMake_TEST_Java OFF CACHE BOOL "") - -set(configure_no_sccache 1) - -include("${CMAKE_CURRENT_LIST_DIR}/configure_external_test.cmake") diff --git a/.gitlab/ci/configure_windows_orangec6.73.1.cmake b/.gitlab/ci/configure_windows_orangec6.73.1.cmake deleted file mode 100644 index e667b942db..0000000000 --- a/.gitlab/ci/configure_windows_orangec6.73.1.cmake +++ /dev/null @@ -1 +0,0 @@ -include("${CMAKE_CURRENT_LIST_DIR}/configure_windows_orangec_common.cmake") diff --git a/.gitlab/ci/configure_windows_orangec_common.cmake b/.gitlab/ci/configure_windows_orangec_common.cmake deleted file mode 100644 index 55dce1d3ed..0000000000 --- a/.gitlab/ci/configure_windows_orangec_common.cmake +++ /dev/null @@ -1,5 +0,0 @@ -set(CMake_TEST_Java OFF CACHE BOOL "") - -set(configure_no_sccache 1) - -include("${CMAKE_CURRENT_LIST_DIR}/configure_external_test.cmake") diff --git a/.gitlab/ci/configure_windows_package_common.cmake b/.gitlab/ci/configure_windows_package_common.cmake deleted file mode 100644 index 11bfad5b6f..0000000000 --- a/.gitlab/ci/configure_windows_package_common.cmake +++ /dev/null @@ -1,26 +0,0 @@ -set(CMake_DOC_ARTIFACT_PREFIX "$ENV{CI_PROJECT_DIR}/build/install-doc" CACHE PATH "") - -# Set up install destinations as expected by the packaging scripts. -set(CMAKE_DOC_DIR "doc/cmake" CACHE STRING "") - -# Link C/C++ runtime library statically. -set(CMAKE_MSVC_RUNTIME_LIBRARY "MultiThreaded$<$<CONFIG:Debug>:Debug>" CACHE STRING "") - -# Enable cmake-gui. -set(BUILD_QtDialog "TRUE" CACHE BOOL "") -set(CMake_GUI_DISTRIBUTE_WITH_Qt_LGPL "3" CACHE STRING "") - -# Disable ccmake. -set(BUILD_CursesDialog "OFF" CACHE BOOL "") - -set(CMake_TEST_BOOTSTRAP OFF CACHE BOOL "") -set(CMake_TEST_Java OFF CACHE BOOL "") -set(CMake_TEST_Qt5 OFF CACHE BOOL "") -set(CMake_TEST_Qt6 OFF CACHE BOOL "") -set(Python_FIND_REGISTRY NEVER CACHE STRING "") - -set(CMake_BUILD_WIX_CUSTOM_ACTION ON CACHE BOOL "") - -set(CMake_CPACK_CUSTOM_SCRIPT "${CMAKE_CURRENT_LIST_DIR}/CMakeCPack.cmake" CACHE FILEPATH "") - -include("${CMAKE_CURRENT_LIST_DIR}/configure_common.cmake") diff --git a/.gitlab/ci/configure_windows_package_common_x86.cmake b/.gitlab/ci/configure_windows_package_common_x86.cmake deleted file mode 100644 index a8b59283bd..0000000000 --- a/.gitlab/ci/configure_windows_package_common_x86.cmake +++ /dev/null @@ -1,13 +0,0 @@ -set(qt "$ENV{CI_PROJECT_DIR}/.gitlab/qt") -set(CMake_QT_STATIC_QWindowsIntegrationPlugin_LIBRARIES - ${qt}/plugins/platforms/qwindows.lib - ${qt}/plugins/styles/qwindowsvistastyle.lib - ${qt}/lib/Qt5EventDispatcherSupport.lib - ${qt}/lib/Qt5FontDatabaseSupport.lib - ${qt}/lib/Qt5ThemeSupport.lib - ${qt}/lib/qtfreetype.lib - ${qt}/lib/qtlibpng.lib - imm32.lib - wtsapi32.lib - CACHE STRING "") -set(CMAKE_PREFIX_PATH "${qt}" CACHE STRING "") diff --git a/.gitlab/ci/configure_windows_vs2019_x64.cmake b/.gitlab/ci/configure_windows_vs2019_x64.cmake deleted file mode 100644 index e4795b94ca..0000000000 --- a/.gitlab/ci/configure_windows_vs2019_x64.cmake +++ /dev/null @@ -1,6 +0,0 @@ -if (NOT "$ENV{CMAKE_CI_NIGHTLY}" STREQUAL "") - set(CMake_TEST_ANDROID_VS16 ON CACHE BOOL "") - set(CMAKE_TESTS_CDASH_SERVER "https://open.cdash.org" CACHE STRING "") -endif() - -include("${CMAKE_CURRENT_LIST_DIR}/configure_windows_vs_common.cmake") diff --git a/.gitlab/ci/configure_windows_vs2019_x64_ninja.cmake b/.gitlab/ci/configure_windows_vs2019_x64_ninja.cmake deleted file mode 100644 index c078f9049e..0000000000 --- a/.gitlab/ci/configure_windows_vs2019_x64_ninja.cmake +++ /dev/null @@ -1 +0,0 @@ -include("${CMAKE_CURRENT_LIST_DIR}/configure_windows_vs_common_ninja.cmake") diff --git a/.gitlab/ci/configure_windows_vs2022_x64.cmake b/.gitlab/ci/configure_windows_vs2022_x64.cmake deleted file mode 100644 index c29a9ec03e..0000000000 --- a/.gitlab/ci/configure_windows_vs2022_x64.cmake +++ /dev/null @@ -1,8 +0,0 @@ -if (NOT "$ENV{CMAKE_CI_NIGHTLY}" STREQUAL "") - set(CMake_TEST_ANDROID_VS17 ON CACHE BOOL "") -endif() - -set(CMake_TEST_MODULE_COMPILATION "named,partitions,internal_partitions,shared" CACHE STRING "") - -include("${CMAKE_CURRENT_LIST_DIR}/configure_windows_msvc_cxx_modules_common.cmake") -include("${CMAKE_CURRENT_LIST_DIR}/configure_windows_vs_common.cmake") diff --git a/.gitlab/ci/configure_windows_vs2022_x64_jom.cmake b/.gitlab/ci/configure_windows_vs2022_x64_jom.cmake deleted file mode 100644 index 166690abe0..0000000000 --- a/.gitlab/ci/configure_windows_vs2022_x64_jom.cmake +++ /dev/null @@ -1 +0,0 @@ -include("${CMAKE_CURRENT_LIST_DIR}/configure_windows_msvc_common.cmake") diff --git a/.gitlab/ci/configure_windows_vs2022_x64_ninja.cmake b/.gitlab/ci/configure_windows_vs2022_x64_ninja.cmake deleted file mode 100644 index f31c1b568e..0000000000 --- a/.gitlab/ci/configure_windows_vs2022_x64_ninja.cmake +++ /dev/null @@ -1,19 +0,0 @@ -set(CMake_TEST_C_STANDARDS "90;99;11;17" CACHE STRING "") -set(CMake_TEST_CXX_STANDARDS "98;11;14;17;20;23" CACHE STRING "") - -if (NOT "$ENV{CMAKE_CI_NIGHTLY}" STREQUAL "") - set(CMake_TEST_CPACK_INNOSETUP "ON" CACHE STRING "") - set(CMake_TEST_CPACK_NUGET "ON" CACHE STRING "") - set(CMake_TEST_IAR_TOOLCHAINS "$ENV{CI_PROJECT_DIR}/.gitlab/iar" CACHE PATH "") - set(CMake_TEST_ISPC "ON" CACHE STRING "") - set(CMake_TEST_Swift "ON" CACHE STRING "") -endif() - -set(CMake_TEST_TLS_VERIFY_URL "https://gitlab.kitware.com" CACHE STRING "") -set(CMake_TEST_TLS_VERIFY_URL_BAD "https://badtls-expired.kitware.com" CACHE STRING "") -set(CMake_TEST_TLS_VERSION "1.2" CACHE STRING "") -set(CMake_TEST_TLS_VERSION_URL_BAD "https://badtls-v1-1.kitware.com:8011" CACHE STRING "") - -include("${CMAKE_CURRENT_LIST_DIR}/configure_windows_msvc_cxx_modules_common.cmake") -include("${CMAKE_CURRENT_LIST_DIR}/configure_windows_wix_common.cmake") -include("${CMAKE_CURRENT_LIST_DIR}/configure_windows_vs_common_ninja.cmake") diff --git a/.gitlab/ci/configure_windows_vs2022_x64_ninja_multi.cmake b/.gitlab/ci/configure_windows_vs2022_x64_ninja_multi.cmake deleted file mode 100644 index 6857c2c91b..0000000000 --- a/.gitlab/ci/configure_windows_vs2022_x64_ninja_multi.cmake +++ /dev/null @@ -1,7 +0,0 @@ -if (NOT "$ENV{CMAKE_CI_NIGHTLY}" STREQUAL "") - set(CMake_TEST_IAR_TOOLCHAINS "$ENV{CI_PROJECT_DIR}/.gitlab/iar" CACHE PATH "") - set(CMake_TEST_ISPC "ON" CACHE STRING "") -endif() - -include("${CMAKE_CURRENT_LIST_DIR}/configure_windows_msvc_cxx_modules_common.cmake") -include("${CMAKE_CURRENT_LIST_DIR}/configure_windows_msvc_common.cmake") diff --git a/.gitlab/ci/configure_windows_vs2022_x64_nmake.cmake b/.gitlab/ci/configure_windows_vs2022_x64_nmake.cmake deleted file mode 100644 index 166690abe0..0000000000 --- a/.gitlab/ci/configure_windows_vs2022_x64_nmake.cmake +++ /dev/null @@ -1 +0,0 @@ -include("${CMAKE_CURRENT_LIST_DIR}/configure_windows_msvc_common.cmake") diff --git a/.gitlab/ci/configure_windows_vs2022_x64_pch.cmake b/.gitlab/ci/configure_windows_vs2022_x64_pch.cmake deleted file mode 100644 index 2a2eed7a0e..0000000000 --- a/.gitlab/ci/configure_windows_vs2022_x64_pch.cmake +++ /dev/null @@ -1,2 +0,0 @@ -set(CMake_BUILD_PCH "ON" CACHE BOOL "") -include("${CMAKE_CURRENT_LIST_DIR}/configure_windows_common.cmake") diff --git a/.gitlab/ci/configure_windows_vs_common.cmake b/.gitlab/ci/configure_windows_vs_common.cmake deleted file mode 100644 index daf9aaad3e..0000000000 --- a/.gitlab/ci/configure_windows_vs_common.cmake +++ /dev/null @@ -1,11 +0,0 @@ -set(CMake_TEST_WIX_NO_VERIFY "ON" CACHE BOOL "") -set(CMake_TEST_FindODBC "ON" CACHE BOOL "") -set(CMake_TEST_FindOpenMP "ON" CACHE BOOL "") -set(CMake_TEST_FindOpenMP_C "ON" CACHE BOOL "") -set(CMake_TEST_FindOpenMP_CXX "ON" CACHE BOOL "") -set(CMake_TEST_FindOpenMP_Fortran "OFF" CACHE BOOL "") -set(CMake_TEST_FindPatch "ON" CACHE BOOL "") -set(CMake_TEST_Java OFF CACHE BOOL "") -set(CMake_TEST_MFC "ON" CACHE BOOL "") - -include("${CMAKE_CURRENT_LIST_DIR}/configure_external_test.cmake") diff --git a/.gitlab/ci/configure_windows_vs_common_ninja.cmake b/.gitlab/ci/configure_windows_vs_common_ninja.cmake deleted file mode 100644 index 9f7acc3246..0000000000 --- a/.gitlab/ci/configure_windows_vs_common_ninja.cmake +++ /dev/null @@ -1,14 +0,0 @@ -set(CMake_TEST_WIX_NO_VERIFY "ON" CACHE BOOL "") -set(CMake_TEST_GUI "ON" CACHE BOOL "") -set(CMake_TEST_FindODBC "ON" CACHE BOOL "") -set(CMake_TEST_FindOpenGL "ON" CACHE BOOL "") -set(CMake_TEST_FindOpenMP "ON" CACHE BOOL "") -set(CMake_TEST_FindOpenMP_C "ON" CACHE BOOL "") -set(CMake_TEST_FindOpenMP_CXX "ON" CACHE BOOL "") -set(CMake_TEST_FindOpenMP_Fortran "OFF" CACHE BOOL "") -set(CMake_TEST_FindPatch "ON" CACHE BOOL "") -set(CMake_TEST_IPO_WORKS_C "ON" CACHE BOOL "") -set(CMake_TEST_IPO_WORKS_CXX "ON" CACHE BOOL "") -set(CMake_TEST_MFC "ON" CACHE BOOL "") - -include("${CMAKE_CURRENT_LIST_DIR}/configure_windows_common.cmake") diff --git a/.gitlab/ci/configure_windows_wix_common.cmake b/.gitlab/ci/configure_windows_wix_common.cmake deleted file mode 100644 index 4219c41a48..0000000000 --- a/.gitlab/ci/configure_windows_wix_common.cmake +++ /dev/null @@ -1,5 +0,0 @@ -get_filename_component(wix3_dir "${CMAKE_CURRENT_LIST_DIR}/../wix3" ABSOLUTE) -set(CMake_TEST_CPACK_WIX3 "${wix3_dir}" CACHE PATH "") - -get_filename_component(wix4_dir "${CMAKE_CURRENT_LIST_DIR}/../wix4" ABSOLUTE) -set(CMake_TEST_CPACK_WIX4 "${wix4_dir}" CACHE PATH "") diff --git a/.gitlab/ci/configure_windows_x86_64_package.cmake b/.gitlab/ci/configure_windows_x86_64_package.cmake deleted file mode 100644 index 051e3fc629..0000000000 --- a/.gitlab/ci/configure_windows_x86_64_package.cmake +++ /dev/null @@ -1,13 +0,0 @@ -# CPack package file name component for this platform. -set(CPACK_SYSTEM_NAME "windows-x86_64" CACHE STRING "") - -# Tell WiX to package for this architecture. -set(CPACK_WIX_ARCHITECTURE "x64" CACHE STRING "") - -# Use APIs from at most Windows 7 -set(CMAKE_C_FLAGS "-D_WIN32_WINNT=0x601 -DNTDDI_VERSION=0x06010000" CACHE STRING "") -set(CMAKE_CXX_FLAGS "-GR -EHsc -D_WIN32_WINNT=0x601 -DNTDDI_VERSION=0x06010000" CACHE STRING "") -set(CMAKE_EXE_LINKER_FLAGS "-machine:x64 -subsystem:console,6.01" CACHE STRING "") - -include("${CMAKE_CURRENT_LIST_DIR}/configure_windows_package_common_x86.cmake") -include("${CMAKE_CURRENT_LIST_DIR}/configure_windows_package_common.cmake") diff --git a/.gitlab/ci/ctest_annotation.cmake b/.gitlab/ci/ctest_annotation.cmake deleted file mode 100644 index a219753230..0000000000 --- a/.gitlab/ci/ctest_annotation.cmake +++ /dev/null @@ -1,32 +0,0 @@ -function (ctest_annotation_report file) - set(label "") - - if (EXISTS "${file}") - file(READ "${file}" json) - else () - set(json "{\"CDash\": []}") - endif () - - foreach (arg IN LISTS ARGN) - if (NOT label) - set(label "${arg}") - continue () - endif () - - set(item "{\"external_link\":{\"label\":\"${label}\",\"url\":\"${arg}\"}}") - set(label "") - - string(JSON length LENGTH "${json}" "CDash") - string(JSON json SET "${json}" "CDash" "${length}" "${item}") - endforeach () - - file(WRITE "${file}" "${json}") -endfunction () - -if (NOT DEFINED build_id) - include("${CTEST_BINARY_DIRECTORY}/cdash-build-id" OPTIONAL) -endif () -function (store_build_id build_id) - file(WRITE "${CTEST_BINARY_DIRECTORY}/cdash-build-id" - "set(build_id \"${build_id}\")\n") -endfunction () diff --git a/.gitlab/ci/ctest_build.cmake b/.gitlab/ci/ctest_build.cmake deleted file mode 100644 index 15b4dab6cc..0000000000 --- a/.gitlab/ci/ctest_build.cmake +++ /dev/null @@ -1,84 +0,0 @@ -cmake_minimum_required(VERSION 3.29) - -include("${CMAKE_CURRENT_LIST_DIR}/gitlab_ci.cmake") - -# Read the files from the build directory. -ctest_read_custom_files("${CTEST_BINARY_DIRECTORY}") - -# Pick up from where the configure left off. -ctest_start(APPEND) - -include(ProcessorCount) -ProcessorCount(nproc) -if (NOT "$ENV{CTEST_MAX_PARALLELISM}" STREQUAL "") - if (nproc GREATER "$ENV{CTEST_MAX_PARALLELISM}") - set(nproc "$ENV{CTEST_MAX_PARALLELISM}") - endif () -endif () - -if (CTEST_CMAKE_GENERATOR STREQUAL "Unix Makefiles") - set(CTEST_BUILD_FLAGS "-j${nproc} -l${nproc}") -elseif (CTEST_CMAKE_GENERATOR MATCHES "Ninja") - set(CTEST_BUILD_FLAGS "-l${nproc}") -endif () - -set(ctest_build_args) - -# IWYU debugging: -# - set the name of the target (if not one of the main libraries) -# - set the name of the source (without extension, relative to `Source/`) -# - uncomment the debugging support in the relevant `configure_*_iwyu.cmake` file -set(iwyu_source_target) # set for "other" targets not the "main" 3 libraries -set(iwyu_source_name) # e.g., cmTarget -if (iwyu_source_name AND "$ENV{CMAKE_CONFIGURATION}" MATCHES "iwyu") - if (NOT iwyu_source_target) - if (iwyu_source_name MATCHES "^(CTest/|cmCTest$)") - set(iwyu_source_target "CTestLib") - elseif (iwyu_source_name MATCHES "^CPack/") - set(iwyu_source_target "CPackLib") - else () # Assume everything else is in CMakeLib - set(iwyu_source_target "CMakeLib") - endif () - endif () - list(APPEND ctest_build_args - TARGET "Source/CMakeFiles/${iwyu_source_target}.dir/${iwyu_source_name}.cxx.o") -endif () - -ctest_build( - NUMBER_ERRORS num_errors - NUMBER_WARNINGS num_warnings - RETURN_VALUE build_result - ${ctest_build_args}) -ctest_submit(PARTS Build) - -include("${CMAKE_CURRENT_LIST_DIR}/ctest_annotation.cmake") -ctest_annotation_report("${CTEST_BINARY_DIRECTORY}/annotations.json" - "Build Errors (${num_errors})" "https://open.cdash.org/viewBuildError.php?buildid=${build_id}" - "Build Warnings (${num_warnings})" "https://open.cdash.org/viewBuildError.php?type=1&buildid=${build_id}") - -if (build_result) - message(FATAL_ERROR - "Failed to build") -endif () - -if ("$ENV{CTEST_NO_WARNINGS_ALLOWED}" AND num_warnings GREATER 0) - message(FATAL_ERROR - "Found ${num_warnings} warnings (treating as fatal).") -endif () -file(WRITE "$ENV{CI_PROJECT_DIR}/.gitlab/num_warnings.txt" "${num_warnings}\n") - -if (ctest_build_args) - message(FATAL_ERROR - "Failing to prevent debugging support from being committed.") -endif () - -if (NOT "$ENV{CMAKE_CI_NO_INSTALL}") - ctest_build(APPEND - TARGET install - RETURN_VALUE install_result) - - if (install_result) - message(FATAL_ERROR - "Failed to install") - endif () -endif () diff --git a/.gitlab/ci/ctest_configure.cmake b/.gitlab/ci/ctest_configure.cmake deleted file mode 100644 index 13ed4c6505..0000000000 --- a/.gitlab/ci/ctest_configure.cmake +++ /dev/null @@ -1,40 +0,0 @@ -cmake_minimum_required(VERSION 3.29) - -include("${CMAKE_CURRENT_LIST_DIR}/gitlab_ci.cmake") - -set(cmake_args - -C "${CMAKE_CURRENT_LIST_DIR}/configure_$ENV{CMAKE_CONFIGURATION}.cmake") - -# Create an entry in CDash. -ctest_start("${ctest_model}" GROUP "${ctest_group}") - -# Gather update information. -find_package(Git) -set(CTEST_UPDATE_VERSION_ONLY ON) -set(CTEST_UPDATE_COMMAND "${GIT_EXECUTABLE}") -ctest_update() - -# Configure the project. -ctest_configure( - OPTIONS "${cmake_args}" - RETURN_VALUE configure_result) - -# Read the files from the build directory. -ctest_read_custom_files("${CTEST_BINARY_DIRECTORY}") - -# We can now submit because we've configured. -ctest_submit(PARTS Update - BUILD_ID build_id) -ctest_submit(PARTS Configure) - -include("${CMAKE_CURRENT_LIST_DIR}/ctest_annotation.cmake") -ctest_annotation_report("${CTEST_BINARY_DIRECTORY}/annotations.json" - "Build Summary" "https://open.cdash.org/build/${build_id}" - "Update" "https://open.cdash.org/build/${build_id}/update" - "Configure" "https://open.cdash.org/build/${build_id}/configure") -store_build_id("${build_id}") - -if (configure_result) - message(FATAL_ERROR - "Failed to configure") -endif () diff --git a/.gitlab/ci/ctest_exclusions.cmake b/.gitlab/ci/ctest_exclusions.cmake deleted file mode 100644 index e9c148f80c..0000000000 --- a/.gitlab/ci/ctest_exclusions.cmake +++ /dev/null @@ -1,47 +0,0 @@ -set(test_exclusions - # This test hits global resources and can be handled by nightly testing. - # https://gitlab.kitware.com/cmake/cmake/-/merge_requests/4769 - "^BundleGeneratorTest$" -) - -if (CTEST_CMAKE_GENERATOR MATCHES "Visual Studio") - list(APPEND test_exclusions - # This test takes around 5 minutes with Visual Studio. - # https://gitlab.kitware.com/cmake/cmake/-/issues/20733 - "^ExternalProjectUpdate$" - # This test is a dependency of the above and is only required for it. - "^ExternalProjectUpdateSetup$") -endif () - -if (CTEST_CMAKE_GENERATOR MATCHES "Xcode") - list(APPEND test_exclusions - # FIXME(#26301): The XCTest fails with Xcode 16.0. - "^XCTest$" - ) -endif () - -if ("$ENV{CMAKE_CONFIGURATION}" MATCHES "_asan") - list(APPEND test_exclusions - CTestTest2 # crashes on purpose - BootstrapTest # no need to cover this for asan - ) -endif() - -if ("$ENV{CMAKE_CONFIGURATION}" MATCHES "_jom") - list(APPEND test_exclusions - # JOM often fails with "Couldn't change working directory to ...". - "^ExternalProject$" - ) -endif() - -if ("$ENV{CMAKE_CONFIGURATION}" MATCHES "nvhpc_") - list(APPEND test_exclusions - # FIXME(#24187): This test fails with NVHPC as the CUDA host compiler. - "^CudaOnly.SeparateCompilationPTX$" - ) -endif() - -string(REPLACE ";" "|" test_exclusions "${test_exclusions}") -if (test_exclusions) - set(test_exclusions "(${test_exclusions})") -endif () diff --git a/.gitlab/ci/ctest_memcheck.cmake b/.gitlab/ci/ctest_memcheck.cmake deleted file mode 100644 index 36c7777e17..0000000000 --- a/.gitlab/ci/ctest_memcheck.cmake +++ /dev/null @@ -1,54 +0,0 @@ -cmake_minimum_required(VERSION 3.29) - -include("${CMAKE_CURRENT_LIST_DIR}/gitlab_ci.cmake") - -# Read the files from the build directory. -ctest_read_custom_files("${CTEST_BINARY_DIRECTORY}") - -# Pick up from where the configure left off. -ctest_start(APPEND) - -include(ProcessorCount) -ProcessorCount(nproc) -if (NOT "$ENV{CTEST_MAX_PARALLELISM}" STREQUAL "") - if (nproc GREATER "$ENV{CTEST_MAX_PARALLELISM}") - set(nproc "$ENV{CTEST_MAX_PARALLELISM}") - endif () -endif () - -set(CTEST_MEMORYCHECK_TYPE "$ENV{CTEST_MEMORYCHECK_TYPE}") -set(CTEST_MEMORYCHECK_SANITIZER_OPTIONS "$ENV{CTEST_MEMORYCHECK_SANITIZER_OPTIONS}") - -set(lsan_suppressions "${CMAKE_CURRENT_LIST_DIR}/ctest_memcheck_$ENV{CMAKE_CONFIGURATION}.lsan.supp") -if (EXISTS "${lsan_suppressions}") - set(ENV{LSAN_OPTIONS} "suppressions='${lsan_suppressions}'") -endif () - -include("${CMAKE_CURRENT_LIST_DIR}/ctest_exclusions.cmake") -ctest_memcheck( - PARALLEL_LEVEL "${nproc}" - TEST_LOAD "${nproc}" - RETURN_VALUE test_result - EXCLUDE "${test_exclusions}" - DEFECT_COUNT defects) -ctest_submit(PARTS Test) -ctest_submit(PARTS Memcheck) - -include("${CMAKE_CURRENT_LIST_DIR}/ctest_annotation.cmake") -ctest_annotation_report("${CTEST_BINARY_DIRECTORY}/annotations.json" - "Build Summary" "https://open.cdash.org/build/${build_id}" - "All Tests" "https://open.cdash.org/viewTest.php?buildid=${build_id}" - "Dynamic Analysis" "https://open.cdash.org/viewDynamicAnalysis.php?buildid=${build_id}" - "Test Failures" "https://open.cdash.org/viewTest.php?onlyfailed&buildid=${build_id}" - "Tests Not Run" "https://open.cdash.org/viewTest.php?onlynotrun&buildid=${build_id}" - "Test Passes" "https://open.cdash.org/viewTest.php?onlypassed&buildid=${build_id}") - -if (test_result) - message(FATAL_ERROR - "Failed to test") -endif () - -if (defects) - message(FATAL_ERROR - "Found ${defects} memcheck defects") -endif () diff --git a/.gitlab/ci/ctest_memcheck_fedora41_asan.lsan.supp b/.gitlab/ci/ctest_memcheck_fedora41_asan.lsan.supp deleted file mode 100644 index 8ec1a0358b..0000000000 --- a/.gitlab/ci/ctest_memcheck_fedora41_asan.lsan.supp +++ /dev/null @@ -1 +0,0 @@ -# Add 'leak:<pattern>' lines here to suppress known leaks. diff --git a/.gitlab/ci/ctest_standalone.cmake b/.gitlab/ci/ctest_standalone.cmake deleted file mode 100644 index a55ab6cc29..0000000000 --- a/.gitlab/ci/ctest_standalone.cmake +++ /dev/null @@ -1,113 +0,0 @@ -cmake_minimum_required(VERSION 3.29) - -include("${CMAKE_CURRENT_LIST_DIR}/gitlab_ci.cmake") -include("${CMAKE_CURRENT_LIST_DIR}/env_$ENV{CMAKE_CONFIGURATION}.cmake" OPTIONAL) - -set(initial_cache "${CMAKE_CURRENT_LIST_DIR}/configure_$ENV{CMAKE_CONFIGURATION}.cmake") -set(cmake_args -C "${initial_cache}") - -include(ProcessorCount) -ProcessorCount(nproc) -if (NOT "$ENV{CTEST_MAX_PARALLELISM}" STREQUAL "") - if (nproc GREATER "$ENV{CTEST_MAX_PARALLELISM}") - set(nproc "$ENV{CTEST_MAX_PARALLELISM}") - endif () -endif () - -# Create an entry in CDash. -ctest_start("${ctest_model}" GROUP "${ctest_group}") - -# Gather update information. -find_package(Git) -set(CTEST_UPDATE_VERSION_ONLY ON) -set(CTEST_UPDATE_COMMAND "${GIT_EXECUTABLE}") -ctest_update() - -if("$ENV{CMAKE_CI_BOOTSTRAP}") - set(CTEST_CONFIGURE_COMMAND "\"${CTEST_SOURCE_DIRECTORY}/bootstrap\" --parallel=${nproc}") -elseif("$ENV{CMAKE_CONFIGURATION}" MATCHES "extdeps") - set(CTEST_CONFIGURE_COMMAND "/opt/extdeps/bin/cmake -C \"${initial_cache}\" -G \"${CTEST_CMAKE_GENERATOR}\" \"${CTEST_SOURCE_DIRECTORY}\"") -endif() - -# Configure the project. -ctest_configure( - OPTIONS "${cmake_args}" - RETURN_VALUE configure_result) - -# Read the files from the build directory. -ctest_read_custom_files("${CTEST_BINARY_DIRECTORY}") - -# We can now submit because we've configured. This is a cmb-superbuild-ism. -ctest_submit(PARTS Update - BUILD_ID build_id) -ctest_submit(PARTS Configure) - -include("${CMAKE_CURRENT_LIST_DIR}/ctest_annotation.cmake") -ctest_annotation_report("${CTEST_BINARY_DIRECTORY}/annotations.json" - "Build Summary" "https://open.cdash.org/build/${build_id}" - "Update" "https://open.cdash.org/build/${build_id}/update" - "Configure" "https://open.cdash.org/build/${build_id}/configure") - -if (configure_result) - ctest_submit(PARTS Done) - message(FATAL_ERROR - "Failed to configure") -endif () - -if (CTEST_CMAKE_GENERATOR STREQUAL "Unix Makefiles") - set(CTEST_BUILD_FLAGS "-j${nproc} -l${nproc}") -elseif (CTEST_CMAKE_GENERATOR MATCHES "Ninja") - set(CTEST_BUILD_FLAGS "-l${nproc}") -endif () - -ctest_build( - NUMBER_ERRORS num_errors - NUMBER_WARNINGS num_warnings - RETURN_VALUE build_result) -ctest_submit(PARTS Build) - -ctest_annotation_report("${CTEST_BINARY_DIRECTORY}/annotations.json" - "Build Errors (${num_errors})" "https://open.cdash.org/viewBuildError.php?buildid=${build_id}" - "Build Warnings (${num_warnings})" "https://open.cdash.org/viewBuildError.php?type=1&buildid=${build_id}") - -if (build_result) - ctest_submit(PARTS Done) - message(FATAL_ERROR - "Failed to build") -endif () - -if ("$ENV{CTEST_NO_WARNINGS_ALLOWED}" AND num_warnings GREATER 0) - ctest_submit(PARTS Done) - message(FATAL_ERROR - "Found ${num_warnings} warnings (treating as fatal).") -endif () - -set(ctest_label_args) -if (NOT "$ENV{CTEST_LABELS}" STREQUAL "") - list(APPEND ctest_label_args - INCLUDE_LABEL "$ENV{CTEST_LABELS}") -endif () - -include("${CMAKE_CURRENT_LIST_DIR}/ctest_exclusions.cmake") -ctest_test( - PARALLEL_LEVEL "${nproc}" - TEST_LOAD "${nproc}" - OUTPUT_JUNIT "${CTEST_BINARY_DIRECTORY}/junit.xml" - RETURN_VALUE test_result - ${ctest_label_args} - EXCLUDE "${test_exclusions}") -ctest_submit(PARTS Test) - -ctest_annotation_report("${CTEST_BINARY_DIRECTORY}/annotations.json" - "All Tests" "https://open.cdash.org/viewTest.php?buildid=${build_id}" - "Test Failures" "https://open.cdash.org/viewTest.php?onlyfailed&buildid=${build_id}" - "Tests Not Run" "https://open.cdash.org/viewTest.php?onlynotrun&buildid=${build_id}" - "Test Passes" "https://open.cdash.org/viewTest.php?onlypassed&buildid=${build_id}") - -if (test_result) - ctest_submit(PARTS Done) - message(FATAL_ERROR - "Failed to test") -endif () - -ctest_submit(PARTS Done) diff --git a/.gitlab/ci/ctest_test.cmake b/.gitlab/ci/ctest_test.cmake deleted file mode 100644 index fa60dd06da..0000000000 --- a/.gitlab/ci/ctest_test.cmake +++ /dev/null @@ -1,39 +0,0 @@ -cmake_minimum_required(VERSION 3.29) - -include("${CMAKE_CURRENT_LIST_DIR}/gitlab_ci.cmake") - -# Read the files from the build directory. -ctest_read_custom_files("${CTEST_BINARY_DIRECTORY}") - -# Pick up from where the configure left off. -ctest_start(APPEND) - -include(ProcessorCount) -ProcessorCount(nproc) -if (NOT "$ENV{CTEST_MAX_PARALLELISM}" STREQUAL "") - if (nproc GREATER "$ENV{CTEST_MAX_PARALLELISM}") - set(nproc "$ENV{CTEST_MAX_PARALLELISM}") - endif () -endif () - -include("${CMAKE_CURRENT_LIST_DIR}/ctest_exclusions.cmake") -ctest_test( - PARALLEL_LEVEL "${nproc}" - TEST_LOAD "${nproc}" - OUTPUT_JUNIT "${CTEST_BINARY_DIRECTORY}/junit.xml" - RETURN_VALUE test_result - EXCLUDE "${test_exclusions}") -ctest_submit(PARTS Test) - -include("${CMAKE_CURRENT_LIST_DIR}/ctest_annotation.cmake") -ctest_annotation_report("${CTEST_BINARY_DIRECTORY}/annotations.json" - "Build Summary" "https://open.cdash.org/build/${build_id}" - "All Tests" "https://open.cdash.org/viewTest.php?buildid=${build_id}" - "Test Failures" "https://open.cdash.org/viewTest.php?onlyfailed&buildid=${build_id}" - "Tests Not Run" "https://open.cdash.org/viewTest.php?onlynotrun&buildid=${build_id}" - "Test Passes" "https://open.cdash.org/viewTest.php?onlypassed&buildid=${build_id}") - -if (test_result) - message(FATAL_ERROR - "Failed to test") -endif () diff --git a/.gitlab/ci/docker/cuda10.2/Dockerfile b/.gitlab/ci/docker/cuda10.2/Dockerfile deleted file mode 100644 index cd30446c43..0000000000 --- a/.gitlab/ci/docker/cuda10.2/Dockerfile +++ /dev/null @@ -1,9 +0,0 @@ -FROM kitware/nvidia-cuda:10.2-devel-ubuntu18.04 -MAINTAINER Ben Boeckel <ben.boeckel@kitware.com> - -COPY llvm.list /etc/apt/sources.list.d/llvm.list -COPY llvm-snapshot.gpg.key /root/llvm-snapshot.gpg.key -RUN apt-key add /root/llvm-snapshot.gpg.key - -COPY install_deps.sh /root/install_deps.sh -RUN sh /root/install_deps.sh diff --git a/.gitlab/ci/docker/cuda10.2/install_deps.sh b/.gitlab/ci/docker/cuda10.2/install_deps.sh deleted file mode 100755 index 6d539979d9..0000000000 --- a/.gitlab/ci/docker/cuda10.2/install_deps.sh +++ /dev/null @@ -1,14 +0,0 @@ -#!/bin/sh - -set -e - -apt-get update - -# Install development tools. -apt-get install -y \ - g++ \ - clang-11 \ - curl \ - git - -apt-get clean diff --git a/.gitlab/ci/docker/cuda10.2/llvm-snapshot.gpg.key b/.gitlab/ci/docker/cuda10.2/llvm-snapshot.gpg.key deleted file mode 100644 index aa6b105aa3..0000000000 --- a/.gitlab/ci/docker/cuda10.2/llvm-snapshot.gpg.key +++ /dev/null @@ -1,52 +0,0 @@ ------BEGIN PGP PUBLIC KEY BLOCK----- -Version: GnuPG v1.4.12 (GNU/Linux) - -mQINBFE9lCwBEADi0WUAApM/mgHJRU8lVkkw0CHsZNpqaQDNaHefD6Rw3S4LxNmM -EZaOTkhP200XZM8lVdbfUW9xSjA3oPldc1HG26NjbqqCmWpdo2fb+r7VmU2dq3NM -R18ZlKixiLDE6OUfaXWKamZsXb6ITTYmgTO6orQWYrnW6ckYHSeaAkW0wkDAryl2 -B5v8aoFnQ1rFiVEMo4NGzw4UX+MelF7rxaaregmKVTPiqCOSPJ1McC1dHFN533FY -Wh/RVLKWo6npu+owtwYFQW+zyQhKzSIMvNujFRzhIxzxR9Gn87MoLAyfgKEzrbbT -DhqqNXTxS4UMUKCQaO93TzetX/EBrRpJj+vP640yio80h4Dr5pAd7+LnKwgpTDk1 -G88bBXJAcPZnTSKu9I2c6KY4iRNbvRz4i+ZdwwZtdW4nSdl2792L7Sl7Nc44uLL/ -ZqkKDXEBF6lsX5XpABwyK89S/SbHOytXv9o4puv+65Ac5/UShspQTMSKGZgvDauU -cs8kE1U9dPOqVNCYq9Nfwinkf6RxV1k1+gwtclxQuY7UpKXP0hNAXjAiA5KS5Crq -7aaJg9q2F4bub0mNU6n7UI6vXguF2n4SEtzPRk6RP+4TiT3bZUsmr+1ktogyOJCc -Ha8G5VdL+NBIYQthOcieYCBnTeIH7D3Sp6FYQTYtVbKFzmMK+36ERreL/wARAQAB -tD1TeWx2ZXN0cmUgTGVkcnUgLSBEZWJpYW4gTExWTSBwYWNrYWdlcyA8c3lsdmVz -dHJlQGRlYmlhbi5vcmc+iQI4BBMBAgAiBQJRPZQsAhsDBgsJCAcDAgYVCAIJCgsE -FgIDAQIeAQIXgAAKCRAVz00Yr090Ibx+EADArS/hvkDF8juWMXxh17CgR0WZlHCC -9CTBWkg5a0bNN/3bb97cPQt/vIKWjQtkQpav6/5JTVCSx2riL4FHYhH0iuo4iAPR -udC7Cvg8g7bSPrKO6tenQZNvQm+tUmBHgFiMBJi92AjZ/Qn1Shg7p9ITivFxpLyX -wpmnF1OKyI2Kof2rm4BFwfSWuf8Fvh7kDMRLHv+MlnK/7j/BNpKdozXxLcwoFBmn -l0WjpAH3OFF7Pvm1LJdf1DjWKH0Dc3sc6zxtmBR/KHHg6kK4BGQNnFKujcP7TVdv -gMYv84kun14pnwjZcqOtN3UJtcx22880DOQzinoMs3Q4w4o05oIF+sSgHViFpc3W -R0v+RllnH05vKZo+LDzc83DQVrdwliV12eHxrMQ8UYg88zCbF/cHHnlzZWAJgftg -hB08v1BKPgYRUzwJ6VdVqXYcZWEaUJmQAPuAALyZESw94hSo28FAn0/gzEc5uOYx -K+xG/lFwgAGYNb3uGM5m0P6LVTfdg6vDwwOeTNIExVk3KVFXeSQef2ZMkhwA7wya -KJptkb62wBHFE+o9TUdtMCY6qONxMMdwioRE5BYNwAsS1PnRD2+jtlI0DzvKHt7B -MWd8hnoUKhMeZ9TNmo+8CpsAtXZcBho0zPGz/R8NlJhAWpdAZ1CmcPo83EW86Yq7 -BxQUKnNHcwj2ebkCDQRRPZQsARAA4jxYmbTHwmMjqSizlMJYNuGOpIidEdx9zQ5g -zOr431/VfWq4S+VhMDhs15j9lyml0y4ok215VRFwrAREDg6UPMr7ajLmBQGau0Fc -bvZJ90l4NjXp5p0NEE/qOb9UEHT7EGkEhaZ1ekkWFTWCgsy7rRXfZLxB6sk7pzLC -DshyW3zjIakWAnpQ5j5obiDy708pReAuGB94NSyb1HoW/xGsGgvvCw4r0w3xPStw -F1PhmScE6NTBIfLliea3pl8vhKPlCh54Hk7I8QGjo1ETlRP4Qll1ZxHJ8u25f/ta -RES2Aw8Hi7j0EVcZ6MT9JWTI83yUcnUlZPZS2HyeWcUj+8nUC8W4N8An+aNps9l/ -21inIl2TbGo3Yn1JQLnA1YCoGwC34g8QZTJhElEQBN0X29ayWW6OdFx8MDvllbBV -ymmKq2lK1U55mQTfDli7S3vfGz9Gp/oQwZ8bQpOeUkc5hbZszYwP4RX+68xDPfn+ -M9udl+qW9wu+LyePbW6HX90LmkhNkkY2ZzUPRPDHZANU5btaPXc2H7edX4y4maQa -xenqD0lGh9LGz/mps4HEZtCI5CY8o0uCMF3lT0XfXhuLksr7Pxv57yue8LLTItOJ -d9Hmzp9G97SRYYeqU+8lyNXtU2PdrLLq7QHkzrsloG78lCpQcalHGACJzrlUWVP/ -fN3Ht3kAEQEAAYkCHwQYAQIACQUCUT2ULAIbDAAKCRAVz00Yr090IbhWEADbr50X -OEXMIMGRLe+YMjeMX9NG4jxs0jZaWHc/WrGR+CCSUb9r6aPXeLo+45949uEfdSsB -pbaEdNWxF5Vr1CSjuO5siIlgDjmT655voXo67xVpEN4HhMrxugDJfCa6z97P0+ML -PdDxim57uNqkam9XIq9hKQaurxMAECDPmlEXI4QT3eu5qw5/knMzDMZj4Vi6hovL -wvvAeLHO/jsyfIdNmhBGU2RWCEZ9uo/MeerPHtRPfg74g+9PPfP6nyHD2Wes6yGd -oVQwtPNAQD6Cj7EaA2xdZYLJ7/jW6yiPu98FFWP74FN2dlyEA2uVziLsfBrgpS4l -tVOlrO2YzkkqUGrybzbLpj6eeHx+Cd7wcjI8CalsqtL6cG8cUEjtWQUHyTbQWAgG -5VPEgIAVhJ6RTZ26i/G+4J8neKyRs4vz+57UGwY6zI4AB1ZcWGEE3Bf+CDEDgmnP -LSwbnHefK9IljT9XU98PelSryUO/5UPw7leE0akXKB4DtekToO226px1VnGp3Bov -1GBGvpHvL2WizEwdk+nfk8LtrLzej+9FtIcq3uIrYnsac47Pf7p0otcFeTJTjSq3 -krCaoG4Hx0zGQG2ZFpHrSrZTVy6lxvIdfi0beMgY6h78p6M9eYZHQHc02DjFkQXN -bXb5c6gCHESH5PXwPU4jQEE7Ib9J6sbk7ZT2Mw== -=j+4q ------END PGP PUBLIC KEY BLOCK----- diff --git a/.gitlab/ci/docker/cuda10.2/llvm.list b/.gitlab/ci/docker/cuda10.2/llvm.list deleted file mode 100644 index 79f8265e72..0000000000 --- a/.gitlab/ci/docker/cuda10.2/llvm.list +++ /dev/null @@ -1,2 +0,0 @@ -deb http://apt.llvm.org/bionic/ llvm-toolchain-bionic-11 main -deb-src http://apt.llvm.org/bionic/ llvm-toolchain-bionic-11 main diff --git a/.gitlab/ci/docker/cuda11.6/Dockerfile b/.gitlab/ci/docker/cuda11.6/Dockerfile deleted file mode 100644 index f69b0fdbbb..0000000000 --- a/.gitlab/ci/docker/cuda11.6/Dockerfile +++ /dev/null @@ -1,9 +0,0 @@ -FROM kitware/nvidia-cuda:11.6.0-devel-ubuntu20.04 -MAINTAINER Ben Boeckel <ben.boeckel@kitware.com> - -COPY llvm.list /etc/apt/sources.list.d/llvm.list -COPY llvm-snapshot.gpg.key /root/llvm-snapshot.gpg.key -RUN apt-key add /root/llvm-snapshot.gpg.key - -COPY install_deps.sh /root/install_deps.sh -RUN sh /root/install_deps.sh diff --git a/.gitlab/ci/docker/cuda11.6/install_deps.sh b/.gitlab/ci/docker/cuda11.6/install_deps.sh deleted file mode 100755 index cb18c83bd3..0000000000 --- a/.gitlab/ci/docker/cuda11.6/install_deps.sh +++ /dev/null @@ -1,20 +0,0 @@ -#!/bin/sh - -set -e - -apt-get update - -# Install dependency without interaction. -env DEBIAN_FRONTEND=noninteractive \ - TZ=America/New_York \ - apt-get install -y \ - tzdata - -# Install development tools. -apt-get install -y \ - g++ \ - clang-13 \ - curl \ - git - -apt-get clean diff --git a/.gitlab/ci/docker/cuda11.6/llvm-snapshot.gpg.key b/.gitlab/ci/docker/cuda11.6/llvm-snapshot.gpg.key deleted file mode 100644 index aa6b105aa3..0000000000 --- a/.gitlab/ci/docker/cuda11.6/llvm-snapshot.gpg.key +++ /dev/null @@ -1,52 +0,0 @@ ------BEGIN PGP PUBLIC KEY BLOCK----- -Version: GnuPG v1.4.12 (GNU/Linux) - -mQINBFE9lCwBEADi0WUAApM/mgHJRU8lVkkw0CHsZNpqaQDNaHefD6Rw3S4LxNmM -EZaOTkhP200XZM8lVdbfUW9xSjA3oPldc1HG26NjbqqCmWpdo2fb+r7VmU2dq3NM -R18ZlKixiLDE6OUfaXWKamZsXb6ITTYmgTO6orQWYrnW6ckYHSeaAkW0wkDAryl2 -B5v8aoFnQ1rFiVEMo4NGzw4UX+MelF7rxaaregmKVTPiqCOSPJ1McC1dHFN533FY -Wh/RVLKWo6npu+owtwYFQW+zyQhKzSIMvNujFRzhIxzxR9Gn87MoLAyfgKEzrbbT -DhqqNXTxS4UMUKCQaO93TzetX/EBrRpJj+vP640yio80h4Dr5pAd7+LnKwgpTDk1 -G88bBXJAcPZnTSKu9I2c6KY4iRNbvRz4i+ZdwwZtdW4nSdl2792L7Sl7Nc44uLL/ -ZqkKDXEBF6lsX5XpABwyK89S/SbHOytXv9o4puv+65Ac5/UShspQTMSKGZgvDauU -cs8kE1U9dPOqVNCYq9Nfwinkf6RxV1k1+gwtclxQuY7UpKXP0hNAXjAiA5KS5Crq -7aaJg9q2F4bub0mNU6n7UI6vXguF2n4SEtzPRk6RP+4TiT3bZUsmr+1ktogyOJCc -Ha8G5VdL+NBIYQthOcieYCBnTeIH7D3Sp6FYQTYtVbKFzmMK+36ERreL/wARAQAB -tD1TeWx2ZXN0cmUgTGVkcnUgLSBEZWJpYW4gTExWTSBwYWNrYWdlcyA8c3lsdmVz -dHJlQGRlYmlhbi5vcmc+iQI4BBMBAgAiBQJRPZQsAhsDBgsJCAcDAgYVCAIJCgsE -FgIDAQIeAQIXgAAKCRAVz00Yr090Ibx+EADArS/hvkDF8juWMXxh17CgR0WZlHCC -9CTBWkg5a0bNN/3bb97cPQt/vIKWjQtkQpav6/5JTVCSx2riL4FHYhH0iuo4iAPR -udC7Cvg8g7bSPrKO6tenQZNvQm+tUmBHgFiMBJi92AjZ/Qn1Shg7p9ITivFxpLyX -wpmnF1OKyI2Kof2rm4BFwfSWuf8Fvh7kDMRLHv+MlnK/7j/BNpKdozXxLcwoFBmn -l0WjpAH3OFF7Pvm1LJdf1DjWKH0Dc3sc6zxtmBR/KHHg6kK4BGQNnFKujcP7TVdv -gMYv84kun14pnwjZcqOtN3UJtcx22880DOQzinoMs3Q4w4o05oIF+sSgHViFpc3W -R0v+RllnH05vKZo+LDzc83DQVrdwliV12eHxrMQ8UYg88zCbF/cHHnlzZWAJgftg -hB08v1BKPgYRUzwJ6VdVqXYcZWEaUJmQAPuAALyZESw94hSo28FAn0/gzEc5uOYx -K+xG/lFwgAGYNb3uGM5m0P6LVTfdg6vDwwOeTNIExVk3KVFXeSQef2ZMkhwA7wya -KJptkb62wBHFE+o9TUdtMCY6qONxMMdwioRE5BYNwAsS1PnRD2+jtlI0DzvKHt7B -MWd8hnoUKhMeZ9TNmo+8CpsAtXZcBho0zPGz/R8NlJhAWpdAZ1CmcPo83EW86Yq7 -BxQUKnNHcwj2ebkCDQRRPZQsARAA4jxYmbTHwmMjqSizlMJYNuGOpIidEdx9zQ5g -zOr431/VfWq4S+VhMDhs15j9lyml0y4ok215VRFwrAREDg6UPMr7ajLmBQGau0Fc -bvZJ90l4NjXp5p0NEE/qOb9UEHT7EGkEhaZ1ekkWFTWCgsy7rRXfZLxB6sk7pzLC -DshyW3zjIakWAnpQ5j5obiDy708pReAuGB94NSyb1HoW/xGsGgvvCw4r0w3xPStw -F1PhmScE6NTBIfLliea3pl8vhKPlCh54Hk7I8QGjo1ETlRP4Qll1ZxHJ8u25f/ta -RES2Aw8Hi7j0EVcZ6MT9JWTI83yUcnUlZPZS2HyeWcUj+8nUC8W4N8An+aNps9l/ -21inIl2TbGo3Yn1JQLnA1YCoGwC34g8QZTJhElEQBN0X29ayWW6OdFx8MDvllbBV -ymmKq2lK1U55mQTfDli7S3vfGz9Gp/oQwZ8bQpOeUkc5hbZszYwP4RX+68xDPfn+ -M9udl+qW9wu+LyePbW6HX90LmkhNkkY2ZzUPRPDHZANU5btaPXc2H7edX4y4maQa -xenqD0lGh9LGz/mps4HEZtCI5CY8o0uCMF3lT0XfXhuLksr7Pxv57yue8LLTItOJ -d9Hmzp9G97SRYYeqU+8lyNXtU2PdrLLq7QHkzrsloG78lCpQcalHGACJzrlUWVP/ -fN3Ht3kAEQEAAYkCHwQYAQIACQUCUT2ULAIbDAAKCRAVz00Yr090IbhWEADbr50X -OEXMIMGRLe+YMjeMX9NG4jxs0jZaWHc/WrGR+CCSUb9r6aPXeLo+45949uEfdSsB -pbaEdNWxF5Vr1CSjuO5siIlgDjmT655voXo67xVpEN4HhMrxugDJfCa6z97P0+ML -PdDxim57uNqkam9XIq9hKQaurxMAECDPmlEXI4QT3eu5qw5/knMzDMZj4Vi6hovL -wvvAeLHO/jsyfIdNmhBGU2RWCEZ9uo/MeerPHtRPfg74g+9PPfP6nyHD2Wes6yGd -oVQwtPNAQD6Cj7EaA2xdZYLJ7/jW6yiPu98FFWP74FN2dlyEA2uVziLsfBrgpS4l -tVOlrO2YzkkqUGrybzbLpj6eeHx+Cd7wcjI8CalsqtL6cG8cUEjtWQUHyTbQWAgG -5VPEgIAVhJ6RTZ26i/G+4J8neKyRs4vz+57UGwY6zI4AB1ZcWGEE3Bf+CDEDgmnP -LSwbnHefK9IljT9XU98PelSryUO/5UPw7leE0akXKB4DtekToO226px1VnGp3Bov -1GBGvpHvL2WizEwdk+nfk8LtrLzej+9FtIcq3uIrYnsac47Pf7p0otcFeTJTjSq3 -krCaoG4Hx0zGQG2ZFpHrSrZTVy6lxvIdfi0beMgY6h78p6M9eYZHQHc02DjFkQXN -bXb5c6gCHESH5PXwPU4jQEE7Ib9J6sbk7ZT2Mw== -=j+4q ------END PGP PUBLIC KEY BLOCK----- diff --git a/.gitlab/ci/docker/cuda11.6/llvm.list b/.gitlab/ci/docker/cuda11.6/llvm.list deleted file mode 100644 index 27d0824c7a..0000000000 --- a/.gitlab/ci/docker/cuda11.6/llvm.list +++ /dev/null @@ -1,2 +0,0 @@ -deb http://apt.llvm.org/focal/ llvm-toolchain-focal-13 main -deb-src http://apt.llvm.org/focal/ llvm-toolchain-focal-13 main diff --git a/.gitlab/ci/docker/cuda11.8-minimal/Dockerfile b/.gitlab/ci/docker/cuda11.8-minimal/Dockerfile deleted file mode 100644 index e185848bbd..0000000000 --- a/.gitlab/ci/docker/cuda11.8-minimal/Dockerfile +++ /dev/null @@ -1,5 +0,0 @@ -FROM kitware/nvidia-cuda:11.8.0-devel-ubuntu20.04 -MAINTAINER Robert Maynard <rmaynard@nvidia.com> - -COPY install_deps.sh /root/install_deps.sh -RUN sh /root/install_deps.sh diff --git a/.gitlab/ci/docker/cuda11.8-minimal/install_deps.sh b/.gitlab/ci/docker/cuda11.8-minimal/install_deps.sh deleted file mode 100755 index 55f4ce5211..0000000000 --- a/.gitlab/ci/docker/cuda11.8-minimal/install_deps.sh +++ /dev/null @@ -1,26 +0,0 @@ -#!/bin/sh - -set -e - -apt-get update - -# Install dependency without interaction. -env DEBIAN_FRONTEND=noninteractive \ - TZ=America/New_York \ - apt-get install -y \ - tzdata - -# Install development tools. -apt-get install -y \ - g++ \ - curl \ - git - -# Reduce to minimal subset of libraries by removing static libraries -mkdir /tmp/cuda_required -mv /usr/local/cuda/lib64/libcuda* /tmp/cuda_required/ -rm -f /usr/local/cuda/lib64/*static.a -mv /tmp/cuda_required/libcuda* /usr/local/cuda/lib64/ -rmdir /tmp/cuda_required - -apt-get clean diff --git a/.gitlab/ci/docker/cuda12.2/Dockerfile b/.gitlab/ci/docker/cuda12.2/Dockerfile deleted file mode 100644 index e46f2287d8..0000000000 --- a/.gitlab/ci/docker/cuda12.2/Dockerfile +++ /dev/null @@ -1,9 +0,0 @@ -FROM kitware/nvidia-cuda:12.2.2-devel-ubuntu22.04 -MAINTAINER Brad King <brad.king@kitware.com> - -COPY llvm.list /etc/apt/sources.list.d/llvm.list -COPY llvm-snapshot.gpg.key /root/llvm-snapshot.gpg.key -RUN apt-key add /root/llvm-snapshot.gpg.key - -COPY install_deps.sh /root/install_deps.sh -RUN sh /root/install_deps.sh diff --git a/.gitlab/ci/docker/cuda12.2/install_deps.sh b/.gitlab/ci/docker/cuda12.2/install_deps.sh deleted file mode 100755 index 4708277972..0000000000 --- a/.gitlab/ci/docker/cuda12.2/install_deps.sh +++ /dev/null @@ -1,21 +0,0 @@ -#!/bin/sh - -set -e - -apt-get update - -# Install dependency without interaction. -env DEBIAN_FRONTEND=noninteractive \ - TZ=America/New_York \ - apt-get install -y \ - tzdata - -# Install development tools. -apt-get install -y \ - g++ \ - clang-18 \ - libomp-18-dev \ - curl \ - git - -apt-get clean diff --git a/.gitlab/ci/docker/cuda12.2/llvm-snapshot.gpg.key b/.gitlab/ci/docker/cuda12.2/llvm-snapshot.gpg.key deleted file mode 100644 index aa6b105aa3..0000000000 --- a/.gitlab/ci/docker/cuda12.2/llvm-snapshot.gpg.key +++ /dev/null @@ -1,52 +0,0 @@ ------BEGIN PGP PUBLIC KEY BLOCK----- -Version: GnuPG v1.4.12 (GNU/Linux) - -mQINBFE9lCwBEADi0WUAApM/mgHJRU8lVkkw0CHsZNpqaQDNaHefD6Rw3S4LxNmM -EZaOTkhP200XZM8lVdbfUW9xSjA3oPldc1HG26NjbqqCmWpdo2fb+r7VmU2dq3NM -R18ZlKixiLDE6OUfaXWKamZsXb6ITTYmgTO6orQWYrnW6ckYHSeaAkW0wkDAryl2 -B5v8aoFnQ1rFiVEMo4NGzw4UX+MelF7rxaaregmKVTPiqCOSPJ1McC1dHFN533FY -Wh/RVLKWo6npu+owtwYFQW+zyQhKzSIMvNujFRzhIxzxR9Gn87MoLAyfgKEzrbbT -DhqqNXTxS4UMUKCQaO93TzetX/EBrRpJj+vP640yio80h4Dr5pAd7+LnKwgpTDk1 -G88bBXJAcPZnTSKu9I2c6KY4iRNbvRz4i+ZdwwZtdW4nSdl2792L7Sl7Nc44uLL/ -ZqkKDXEBF6lsX5XpABwyK89S/SbHOytXv9o4puv+65Ac5/UShspQTMSKGZgvDauU -cs8kE1U9dPOqVNCYq9Nfwinkf6RxV1k1+gwtclxQuY7UpKXP0hNAXjAiA5KS5Crq -7aaJg9q2F4bub0mNU6n7UI6vXguF2n4SEtzPRk6RP+4TiT3bZUsmr+1ktogyOJCc -Ha8G5VdL+NBIYQthOcieYCBnTeIH7D3Sp6FYQTYtVbKFzmMK+36ERreL/wARAQAB -tD1TeWx2ZXN0cmUgTGVkcnUgLSBEZWJpYW4gTExWTSBwYWNrYWdlcyA8c3lsdmVz -dHJlQGRlYmlhbi5vcmc+iQI4BBMBAgAiBQJRPZQsAhsDBgsJCAcDAgYVCAIJCgsE -FgIDAQIeAQIXgAAKCRAVz00Yr090Ibx+EADArS/hvkDF8juWMXxh17CgR0WZlHCC -9CTBWkg5a0bNN/3bb97cPQt/vIKWjQtkQpav6/5JTVCSx2riL4FHYhH0iuo4iAPR -udC7Cvg8g7bSPrKO6tenQZNvQm+tUmBHgFiMBJi92AjZ/Qn1Shg7p9ITivFxpLyX -wpmnF1OKyI2Kof2rm4BFwfSWuf8Fvh7kDMRLHv+MlnK/7j/BNpKdozXxLcwoFBmn -l0WjpAH3OFF7Pvm1LJdf1DjWKH0Dc3sc6zxtmBR/KHHg6kK4BGQNnFKujcP7TVdv -gMYv84kun14pnwjZcqOtN3UJtcx22880DOQzinoMs3Q4w4o05oIF+sSgHViFpc3W -R0v+RllnH05vKZo+LDzc83DQVrdwliV12eHxrMQ8UYg88zCbF/cHHnlzZWAJgftg -hB08v1BKPgYRUzwJ6VdVqXYcZWEaUJmQAPuAALyZESw94hSo28FAn0/gzEc5uOYx -K+xG/lFwgAGYNb3uGM5m0P6LVTfdg6vDwwOeTNIExVk3KVFXeSQef2ZMkhwA7wya -KJptkb62wBHFE+o9TUdtMCY6qONxMMdwioRE5BYNwAsS1PnRD2+jtlI0DzvKHt7B -MWd8hnoUKhMeZ9TNmo+8CpsAtXZcBho0zPGz/R8NlJhAWpdAZ1CmcPo83EW86Yq7 -BxQUKnNHcwj2ebkCDQRRPZQsARAA4jxYmbTHwmMjqSizlMJYNuGOpIidEdx9zQ5g -zOr431/VfWq4S+VhMDhs15j9lyml0y4ok215VRFwrAREDg6UPMr7ajLmBQGau0Fc -bvZJ90l4NjXp5p0NEE/qOb9UEHT7EGkEhaZ1ekkWFTWCgsy7rRXfZLxB6sk7pzLC -DshyW3zjIakWAnpQ5j5obiDy708pReAuGB94NSyb1HoW/xGsGgvvCw4r0w3xPStw -F1PhmScE6NTBIfLliea3pl8vhKPlCh54Hk7I8QGjo1ETlRP4Qll1ZxHJ8u25f/ta -RES2Aw8Hi7j0EVcZ6MT9JWTI83yUcnUlZPZS2HyeWcUj+8nUC8W4N8An+aNps9l/ -21inIl2TbGo3Yn1JQLnA1YCoGwC34g8QZTJhElEQBN0X29ayWW6OdFx8MDvllbBV -ymmKq2lK1U55mQTfDli7S3vfGz9Gp/oQwZ8bQpOeUkc5hbZszYwP4RX+68xDPfn+ -M9udl+qW9wu+LyePbW6HX90LmkhNkkY2ZzUPRPDHZANU5btaPXc2H7edX4y4maQa -xenqD0lGh9LGz/mps4HEZtCI5CY8o0uCMF3lT0XfXhuLksr7Pxv57yue8LLTItOJ -d9Hmzp9G97SRYYeqU+8lyNXtU2PdrLLq7QHkzrsloG78lCpQcalHGACJzrlUWVP/ -fN3Ht3kAEQEAAYkCHwQYAQIACQUCUT2ULAIbDAAKCRAVz00Yr090IbhWEADbr50X -OEXMIMGRLe+YMjeMX9NG4jxs0jZaWHc/WrGR+CCSUb9r6aPXeLo+45949uEfdSsB -pbaEdNWxF5Vr1CSjuO5siIlgDjmT655voXo67xVpEN4HhMrxugDJfCa6z97P0+ML -PdDxim57uNqkam9XIq9hKQaurxMAECDPmlEXI4QT3eu5qw5/knMzDMZj4Vi6hovL -wvvAeLHO/jsyfIdNmhBGU2RWCEZ9uo/MeerPHtRPfg74g+9PPfP6nyHD2Wes6yGd -oVQwtPNAQD6Cj7EaA2xdZYLJ7/jW6yiPu98FFWP74FN2dlyEA2uVziLsfBrgpS4l -tVOlrO2YzkkqUGrybzbLpj6eeHx+Cd7wcjI8CalsqtL6cG8cUEjtWQUHyTbQWAgG -5VPEgIAVhJ6RTZ26i/G+4J8neKyRs4vz+57UGwY6zI4AB1ZcWGEE3Bf+CDEDgmnP -LSwbnHefK9IljT9XU98PelSryUO/5UPw7leE0akXKB4DtekToO226px1VnGp3Bov -1GBGvpHvL2WizEwdk+nfk8LtrLzej+9FtIcq3uIrYnsac47Pf7p0otcFeTJTjSq3 -krCaoG4Hx0zGQG2ZFpHrSrZTVy6lxvIdfi0beMgY6h78p6M9eYZHQHc02DjFkQXN -bXb5c6gCHESH5PXwPU4jQEE7Ib9J6sbk7ZT2Mw== -=j+4q ------END PGP PUBLIC KEY BLOCK----- diff --git a/.gitlab/ci/docker/cuda12.2/llvm.list b/.gitlab/ci/docker/cuda12.2/llvm.list deleted file mode 100644 index 350a712c3f..0000000000 --- a/.gitlab/ci/docker/cuda12.2/llvm.list +++ /dev/null @@ -1,2 +0,0 @@ -deb http://apt.llvm.org/jammy/ llvm-toolchain-jammy-18 main -deb-src http://apt.llvm.org/jammy/ llvm-toolchain-jammy-18 main diff --git a/.gitlab/ci/docker/cuda9.2/Dockerfile b/.gitlab/ci/docker/cuda9.2/Dockerfile deleted file mode 100644 index d7e483b1c3..0000000000 --- a/.gitlab/ci/docker/cuda9.2/Dockerfile +++ /dev/null @@ -1,5 +0,0 @@ -FROM kitware/nvidia-cuda:9.2-devel-ubuntu16.04 -MAINTAINER Brad King <brad.king@kitware.com> - -COPY install_deps.sh /root/install_deps.sh -RUN sh /root/install_deps.sh diff --git a/.gitlab/ci/docker/cuda9.2/install_deps.sh b/.gitlab/ci/docker/cuda9.2/install_deps.sh deleted file mode 100755 index 0dcb507e66..0000000000 --- a/.gitlab/ci/docker/cuda9.2/install_deps.sh +++ /dev/null @@ -1,20 +0,0 @@ -#!/bin/sh - -set -e - -apt-get update - -# Update base packages. -apt-get install -y \ - libgnutls30 \ - libssl1.0.0 \ - openssl - -# Install development tools. -apt-get install -y \ - g++ \ - clang-3.8 \ - curl \ - git - -apt-get clean diff --git a/.gitlab/ci/docker/debian10-x86_64/Dockerfile b/.gitlab/ci/docker/debian10-x86_64/Dockerfile deleted file mode 100644 index c39b380bc3..0000000000 --- a/.gitlab/ci/docker/debian10-x86_64/Dockerfile +++ /dev/null @@ -1,27 +0,0 @@ -# syntax=docker/dockerfile:1 - -ARG BASE_IMAGE=debian:10 - -FROM ${BASE_IMAGE} AS apt-cache -# Populate APT cache w/ the fresh metadata and prefetch packages. -# Use an empty `docker-clean` file to "hide" the image-provided -# file to disallow removing packages after `apt-get` operations. -RUN --mount=type=tmpfs,target=/var/log \ - --mount=type=bind,source=docker-clean,target=/etc/apt/apt.conf.d/docker-clean \ - --mount=type=bind,source=deps_packages.lst,target=/root/deps_packages.lst \ - apt-get update \ - && apt-get --download-only -y install $(grep -h '^[^#]\+$' /root/*.lst) - - -FROM ${BASE_IMAGE} -LABEL maintainer="Brad King <brad.king@kitware.com>" - -RUN --mount=type=bind,source=install_deps.sh,target=/root/install_deps.sh \ - --mount=type=bind,source=deps_packages.lst,target=/root/deps_packages.lst \ - --mount=type=bind,source=dpkg-exclude,target=/etc/dpkg/dpkg.cfg.d/exclude \ - --mount=type=bind,source=docker-clean,target=/etc/apt/apt.conf.d/docker-clean \ - --mount=type=cache,from=apt-cache,source=/var/lib/apt/lists,target=/var/lib/apt/lists \ - --mount=type=cache,from=apt-cache,source=/var/cache/apt,target=/var/cache/apt,sharing=private \ - --mount=type=tmpfs,target=/var/log \ - --mount=type=tmpfs,target=/tmp \ - sh /root/install_deps.sh diff --git a/.gitlab/ci/docker/debian10-x86_64/deps_packages.lst b/.gitlab/ci/docker/debian10-x86_64/deps_packages.lst deleted file mode 100644 index b415421645..0000000000 --- a/.gitlab/ci/docker/debian10-x86_64/deps_packages.lst +++ /dev/null @@ -1,16 +0,0 @@ -# Install build requirements. -libssl-dev - -# Install development tools. -g++ -curl -git - -# Tools needed for the test suite. -jq - -# Packages needed to test find modules. -python2 python2-dev python-numpy pypy pypy-dev - -# CMake_TEST_FindPython2_IronPython -libmono-system-windows-forms4.0-cil diff --git a/.gitlab/ci/docker/debian10-x86_64/docker-clean b/.gitlab/ci/docker/debian10-x86_64/docker-clean deleted file mode 100644 index e69de29bb2..0000000000 --- a/.gitlab/ci/docker/debian10-x86_64/docker-clean +++ /dev/null diff --git a/.gitlab/ci/docker/debian10-x86_64/dpkg-exclude b/.gitlab/ci/docker/debian10-x86_64/dpkg-exclude deleted file mode 100644 index 60b656549c..0000000000 --- a/.gitlab/ci/docker/debian10-x86_64/dpkg-exclude +++ /dev/null @@ -1,21 +0,0 @@ -# Drop all man pages -path-exclude=/usr/share/man/* - -# Drop all info pages -path-exclude=/usr/share/info/* - -# Drop all README files except from the some packages -path-exclude=/usr/**/*README* -path-include=/usr/share/devscripts/templates/README.mk-build-deps -path-include=/usr/share/equivs/template/debian/README.Debian.in - -# Drop all translations -path-exclude=/usr/share/locale/*/LC_MESSAGES/*.mo - -# Drop all documentation ... -path-exclude=/usr/share/doc/* -path-exclude=/usr/share/doc-base/* -path-exclude=/usr/share/gtk-doc/* - -# Per package excludes -path-exclude=/usr/share/gnupg/help.*.txt diff --git a/.gitlab/ci/docker/debian10-x86_64/install_deps.sh b/.gitlab/ci/docker/debian10-x86_64/install_deps.sh deleted file mode 100755 index 002f136c05..0000000000 --- a/.gitlab/ci/docker/debian10-x86_64/install_deps.sh +++ /dev/null @@ -1,11 +0,0 @@ -#!/bin/sh - -set -e - -apt-get install -y $(grep '^[^#]\+$' /root/deps_packages.lst) - -curl -L -O https://github.com/IronLanguages/ironpython2/releases/download/ipy-2.7.12/ironpython_2.7.12.deb -echo 'b7b90c82cf311dd3faf290ce3f274af5128b96db884a88dd643ce141bbf12fb9 ironpython_2.7.12.deb' > ironpython.sha256sum -sha256sum --check ironpython.sha256sum -dpkg -i ironpython_2.7.12.deb -rm ironpython_2.7.12.deb ironpython.sha256sum diff --git a/.gitlab/ci/docker/debian12-aarch64/Dockerfile b/.gitlab/ci/docker/debian12-aarch64/Dockerfile deleted file mode 100644 index 58b5e0e9f9..0000000000 --- a/.gitlab/ci/docker/debian12-aarch64/Dockerfile +++ /dev/null @@ -1,26 +0,0 @@ -# syntax=docker/dockerfile:1 - -ARG BASE_IMAGE=arm64v8/debian:12 - -FROM ${BASE_IMAGE} AS apt-cache -# Populate APT cache w/ the fresh metadata and prefetch packages. -# Use an empty `docker-clean` file to "hide" the image-provided -# file to disallow removing packages after `apt-get` operations. -RUN --mount=type=tmpfs,target=/var/log \ - --mount=type=bind,source=docker-clean,target=/etc/apt/apt.conf.d/docker-clean \ - --mount=type=bind,source=deps_packages.lst,target=/root/deps_packages.lst \ - apt-get update \ - && apt-get --download-only -y install $(grep -h '^[^#]\+$' /root/*.lst) - -FROM ${BASE_IMAGE} -LABEL maintainer="Brad King <brad.king@kitware.com>" - -RUN --mount=type=bind,source=install_deps.sh,target=/root/install_deps.sh \ - --mount=type=bind,source=deps_packages.lst,target=/root/deps_packages.lst \ - --mount=type=bind,source=dpkg-exclude,target=/etc/dpkg/dpkg.cfg.d/exclude \ - --mount=type=bind,source=docker-clean,target=/etc/apt/apt.conf.d/docker-clean \ - --mount=type=cache,from=apt-cache,source=/var/lib/apt/lists,target=/var/lib/apt/lists \ - --mount=type=cache,from=apt-cache,source=/var/cache/apt,target=/var/cache/apt,sharing=private \ - --mount=type=tmpfs,target=/var/log \ - --mount=type=tmpfs,target=/tmp \ - sh /root/install_deps.sh diff --git a/.gitlab/ci/docker/debian12-aarch64/deps_packages.lst b/.gitlab/ci/docker/debian12-aarch64/deps_packages.lst deleted file mode 100644 index c92c71508b..0000000000 --- a/.gitlab/ci/docker/debian12-aarch64/deps_packages.lst +++ /dev/null @@ -1,93 +0,0 @@ -# Install build requirements. -libssl-dev - -# Install development tools. -g++ -curl -git - -# Install optional external build dependencies. -libarchive-dev -libbz2-dev -libcurl4-gnutls-dev -libexpat1-dev -libjsoncpp-dev -liblzma-dev -libncurses-dev -librhash-dev -libuv1-dev -libzstd-dev -zlib1g-dev - -# Install iwyu runtime deps. -clang-15 -libncurses6 - -# Tools needed for the test suite. -jq - -# Packages needed to test CTest. -bzr -cvs -subversion -mercurial - -# Packages needed to test find modules. -alsa-utils -doxygen graphviz -freeglut3-dev -gnutls-dev -libarchive-dev -libblas-dev -libboost-dev -libboost-filesystem-dev -libboost-program-options-dev -libboost-python-dev -libboost-thread-dev -libbz2-dev -libcups2-dev -libcurl4-gnutls-dev -libdevil-dev -libfontconfig1-dev -libfreetype6-dev -libgdal-dev -libgif-dev -libgl1-mesa-dev -libglew-dev -libgmock-dev -libgrpc++-dev libgrpc-dev -libgsl-dev -libgtest-dev -libgtk2.0-dev -libhdf5-dev -libhdf5-mpich-dev -libhdf5-openmpi-dev -libicu-dev -libinput-dev -libjpeg-dev -libjsoncpp-dev -liblapack-dev -liblzma-dev -libmagick++-dev -libopenal-dev -libopenmpi-dev openmpi-bin -libosp-dev -libpng-dev -libpq-dev postgresql-server-dev-15 -libprotobuf-dev libprotobuf-c-dev libprotoc-dev protobuf-compiler protobuf-compiler-grpc -libsdl1.2-dev -libsqlite3-dev -libtiff-dev -libuv1-dev -libwxgtk3.2-dev -libx11-dev -libxalan-c-dev -libxerces-c-dev -libxml2-dev libxml2-utils -libxslt-dev xsltproc -openjdk-17-jdk -python3 python3-dev python3-numpy pypy3 pypy3-dev python3-venv -qtbase5-dev qtbase5-dev-tools -ruby ruby-dev -swig -unixodbc-dev diff --git a/.gitlab/ci/docker/debian12-aarch64/docker-clean b/.gitlab/ci/docker/debian12-aarch64/docker-clean deleted file mode 100644 index e69de29bb2..0000000000 --- a/.gitlab/ci/docker/debian12-aarch64/docker-clean +++ /dev/null diff --git a/.gitlab/ci/docker/debian12-aarch64/dpkg-exclude b/.gitlab/ci/docker/debian12-aarch64/dpkg-exclude deleted file mode 100644 index 60b656549c..0000000000 --- a/.gitlab/ci/docker/debian12-aarch64/dpkg-exclude +++ /dev/null @@ -1,21 +0,0 @@ -# Drop all man pages -path-exclude=/usr/share/man/* - -# Drop all info pages -path-exclude=/usr/share/info/* - -# Drop all README files except from the some packages -path-exclude=/usr/**/*README* -path-include=/usr/share/devscripts/templates/README.mk-build-deps -path-include=/usr/share/equivs/template/debian/README.Debian.in - -# Drop all translations -path-exclude=/usr/share/locale/*/LC_MESSAGES/*.mo - -# Drop all documentation ... -path-exclude=/usr/share/doc/* -path-exclude=/usr/share/doc-base/* -path-exclude=/usr/share/gtk-doc/* - -# Per package excludes -path-exclude=/usr/share/gnupg/help.*.txt diff --git a/.gitlab/ci/docker/debian12-aarch64/install_deps.sh b/.gitlab/ci/docker/debian12-aarch64/install_deps.sh deleted file mode 100755 index d1c8aed53c..0000000000 --- a/.gitlab/ci/docker/debian12-aarch64/install_deps.sh +++ /dev/null @@ -1,5 +0,0 @@ -#!/bin/sh - -set -e - -apt-get install -y $(grep '^[^#]\+$' /root/deps_packages.lst) diff --git a/.gitlab/ci/docker/debian12-x86_64/Dockerfile b/.gitlab/ci/docker/debian12-x86_64/Dockerfile deleted file mode 100644 index 477e763d2d..0000000000 --- a/.gitlab/ci/docker/debian12-x86_64/Dockerfile +++ /dev/null @@ -1,62 +0,0 @@ -# syntax=docker/dockerfile:1 - -ARG BASE_IMAGE=debian:12 - -FROM ${BASE_IMAGE} AS apt-cache -# Populate APT cache w/ the fresh metadata and prefetch packages. -# Use an empty `docker-clean` file to "hide" the image-provided -# file to disallow removing packages after `apt-get` operations. -RUN --mount=type=tmpfs,target=/var/log \ - --mount=type=bind,source=docker-clean,target=/etc/apt/apt.conf.d/docker-clean \ - --mount=type=bind,source=deps_packages.lst,target=/root/deps_packages.lst \ - --mount=type=bind,source=iwyu_packages.lst,target=/root/iwyu_packages.lst \ - --mount=type=bind,source=rvm_packages.lst,target=/root/rvm_packages.lst \ - apt-get update \ - && apt-get --download-only -y install $(grep -h '^[^#]\+$' /root/*.lst) - - -FROM ${BASE_IMAGE} AS iwyu-build -LABEL maintainer="Ben Boeckel <ben.boeckel@kitware.com>" - -RUN --mount=type=bind,source=install_iwyu.sh,target=/root/install_iwyu.sh \ - --mount=type=bind,source=iwyu_packages.lst,target=/root/iwyu_packages.lst \ - --mount=type=bind,source=docker-clean,target=/etc/apt/apt.conf.d/docker-clean \ - --mount=type=cache,from=apt-cache,source=/var/lib/apt/lists,target=/var/lib/apt/lists \ - --mount=type=cache,from=apt-cache,source=/var/cache/apt,target=/var/cache/apt,sharing=private \ - --mount=type=tmpfs,target=/var/log \ - --mount=type=tmpfs,target=/tmp \ - sh /root/install_iwyu.sh - - -FROM ${BASE_IMAGE} AS rvm-build -LABEL maintainer="Ben Boeckel <ben.boeckel@kitware.com>" - -RUN --mount=type=bind,source=install_rvm.sh,target=/root/install_rvm.sh \ - --mount=type=bind,source=rvm_packages.lst,target=/root/rvm_packages.lst \ - --mount=type=bind,source=docker-clean,target=/etc/apt/apt.conf.d/docker-clean \ - --mount=type=cache,from=apt-cache,source=/var/lib/apt/lists,target=/var/lib/apt/lists \ - --mount=type=cache,from=apt-cache,source=/var/cache/apt,target=/var/cache/apt,sharing=private \ - --mount=type=tmpfs,target=/var/log \ - --mount=type=tmpfs,target=/tmp \ - sh /root/install_rvm.sh - - -FROM ${BASE_IMAGE} -LABEL maintainer="Ben Boeckel <ben.boeckel@kitware.com>" - -RUN --mount=type=bind,source=install_deps.sh,target=/root/install_deps.sh \ - --mount=type=bind,source=deps_packages.lst,target=/root/deps_packages.lst \ - --mount=type=bind,source=dpkg-exclude,target=/etc/dpkg/dpkg.cfg.d/exclude \ - --mount=type=bind,source=docker-clean,target=/etc/apt/apt.conf.d/docker-clean \ - --mount=type=cache,from=apt-cache,source=/var/lib/apt/lists,target=/var/lib/apt/lists \ - --mount=type=cache,from=apt-cache,source=/var/cache/apt,target=/var/cache/apt,sharing=private \ - --mount=type=tmpfs,target=/var/log \ - --mount=type=tmpfs,target=/tmp \ - sh /root/install_deps.sh - -RUN --mount=type=bind,from=iwyu-build,source=/root,target=/root \ - tar -C / -xf /root/iwyu.tar \ - && ln -s /usr/lib/llvm-15/bin/include-what-you-use /usr/bin/include-what-you-use-15 - -RUN --mount=type=bind,from=rvm-build,source=/root,target=/root \ - tar -C /usr/local -xf /root/rvm.tar diff --git a/.gitlab/ci/docker/debian12-x86_64/deps_packages.lst b/.gitlab/ci/docker/debian12-x86_64/deps_packages.lst deleted file mode 100644 index 21d25f0d18..0000000000 --- a/.gitlab/ci/docker/debian12-x86_64/deps_packages.lst +++ /dev/null @@ -1,110 +0,0 @@ -# Install build requirements. -libssl-dev - -# Install development tools. -g++ -curl -git - -# Install optional external build dependencies. -libarchive-dev -libbz2-dev -libcurl4-gnutls-dev -libexpat1-dev -libjsoncpp-dev -liblzma-dev -libncurses-dev -librhash-dev -libuv1-dev -libzstd-dev -zlib1g-dev - -# Install iwyu runtime deps. -clang-15 -libncurses6 - -# Tools needed for the test suite. -jq - -# Packages needed to test CTest. -bzr -cvs -subversion -mercurial - -# Install ASM_NASM language toolchain. -nasm - -# Install HIP language toolchain. -hipcc - -# Install swift runtime deps. -libncurses5 - -# Install IAR compiler package dependencies. -libusb-1.0-0 -udev -sudo - -# Packages needed to test find modules. -alsa-utils -doxygen graphviz -freeglut3-dev -gnutls-dev -libarchive-dev -libblas-dev -libboost-dev -libboost-filesystem-dev -libboost-program-options-dev -libboost-python-dev -libboost-thread-dev -libbz2-dev -libcups2-dev -libcurl4-gnutls-dev -libdevil-dev -libfontconfig1-dev -libfreetype6-dev -libgdal-dev -libgif-dev -libgl1-mesa-dev -libglew-dev -libgmock-dev -libgrpc++-dev libgrpc-dev -libgsl-dev -libgtest-dev -libgtk2.0-dev -libhdf5-dev -libhdf5-mpich-dev -libhdf5-openmpi-dev -libicu-dev -libinput-dev -libjpeg-dev -libjsoncpp-dev -liblapack-dev -liblzma-dev -libmagick++-dev -libopenal-dev -libopenmpi-dev openmpi-bin -libosp-dev -libpng-dev -libpq-dev postgresql-server-dev-15 -libprotobuf-dev libprotobuf-c-dev libprotoc-dev protobuf-compiler protobuf-compiler-grpc -libsdl1.2-dev -libsqlite3-dev -libtiff-dev -libuv1-dev -libwxgtk3.2-dev -libx11-dev -libxalan-c-dev -libxerces-c-dev -libxml2-dev libxml2-utils -libxslt-dev xsltproc -openjdk-17-jdk -python3 python3-dev python3-numpy pypy3 pypy3-dev python3-venv -qtbase5-dev qtbase5-dev-tools -ruby ruby-dev -swig -unixodbc-dev - -# Packages needed to test ironpython. -libmono-system-windows-forms4.0-cil diff --git a/.gitlab/ci/docker/debian12-x86_64/docker-clean b/.gitlab/ci/docker/debian12-x86_64/docker-clean deleted file mode 100644 index e69de29bb2..0000000000 --- a/.gitlab/ci/docker/debian12-x86_64/docker-clean +++ /dev/null diff --git a/.gitlab/ci/docker/debian12-x86_64/dpkg-exclude b/.gitlab/ci/docker/debian12-x86_64/dpkg-exclude deleted file mode 100644 index 60b656549c..0000000000 --- a/.gitlab/ci/docker/debian12-x86_64/dpkg-exclude +++ /dev/null @@ -1,21 +0,0 @@ -# Drop all man pages -path-exclude=/usr/share/man/* - -# Drop all info pages -path-exclude=/usr/share/info/* - -# Drop all README files except from the some packages -path-exclude=/usr/**/*README* -path-include=/usr/share/devscripts/templates/README.mk-build-deps -path-include=/usr/share/equivs/template/debian/README.Debian.in - -# Drop all translations -path-exclude=/usr/share/locale/*/LC_MESSAGES/*.mo - -# Drop all documentation ... -path-exclude=/usr/share/doc/* -path-exclude=/usr/share/doc-base/* -path-exclude=/usr/share/gtk-doc/* - -# Per package excludes -path-exclude=/usr/share/gnupg/help.*.txt diff --git a/.gitlab/ci/docker/debian12-x86_64/install_deps.sh b/.gitlab/ci/docker/debian12-x86_64/install_deps.sh deleted file mode 100755 index 7bfcacdec5..0000000000 --- a/.gitlab/ci/docker/debian12-x86_64/install_deps.sh +++ /dev/null @@ -1,15 +0,0 @@ -#!/bin/sh - -set -e - -apt-get install -y $(grep '^[^#]\+$' /root/deps_packages.lst) - -curl -L -O https://github.com/IronLanguages/ironpython3/releases/download/v3.4.0/ironpython_3.4.0.deb -echo '7dcd10b7a0ec0342bd7e20eebb597a96bb15267eb797d59358a3b1cfaa3e1adc ironpython_3.4.0.deb' > ironpython.sha256sum -sha256sum --check ironpython.sha256sum -dpkg -i ironpython_3.4.0.deb -rm ironpython_3.4.0.deb ironpython.sha256sum - -# Perforce -curl -L https://www.perforce.com/downloads/perforce/r21.2/bin.linux26x86_64/helix-core-server.tgz -o - \ - | tar -C /usr/local/bin -xvzf - -- p4 p4d diff --git a/.gitlab/ci/docker/debian12-x86_64/install_iwyu.sh b/.gitlab/ci/docker/debian12-x86_64/install_iwyu.sh deleted file mode 100755 index bbeceb8f13..0000000000 --- a/.gitlab/ci/docker/debian12-x86_64/install_iwyu.sh +++ /dev/null @@ -1,22 +0,0 @@ -#!/bin/sh - -set -e - -# Install development tools. -apt-get install -y $(grep '^[^#]\+$' /root/iwyu_packages.lst) - -cd /root -git clone "https://github.com/include-what-you-use/include-what-you-use.git" -cd include-what-you-use -readonly llvm_version="$( clang-15 --version | head -n1 | cut -d' ' -f4 | cut -d. -f-1 )" -git checkout "clang_$llvm_version" -mkdir build -cd build - -cmake -GNinja \ - -DCMAKE_BUILD_TYPE=Release \ - "-DCMAKE_INSTALL_PREFIX=/usr/lib/llvm-$llvm_version" \ - .. -ninja -DESTDIR=/root/iwyu-destdir ninja install -tar -C /root/iwyu-destdir -cf /root/iwyu.tar . diff --git a/.gitlab/ci/docker/debian12-x86_64/install_rvm.sh b/.gitlab/ci/docker/debian12-x86_64/install_rvm.sh deleted file mode 100755 index 1ad42c4580..0000000000 --- a/.gitlab/ci/docker/debian12-x86_64/install_rvm.sh +++ /dev/null @@ -1,20 +0,0 @@ -#!/bin/sh - -set -e - -apt-get install -y $(grep '^[^#]\+$' /root/rvm_packages.lst) - -gpg2 --keyserver hkps://keyserver.ubuntu.com \ - --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3 \ - 7D2BAF1CF37B13E2069D6956105BD0E739499BDB - -curl -sSL https://get.rvm.io | bash -s stable - -# keep version in sync with `env_debian*_ninja.sh` -/usr/local/rvm/bin/rvm install ruby-3.2.2 - -for p in archives examples gem-cache log src; do - touch /usr/local/rvm/${p}/.tar_exclude -done - -tar -C /usr/local --exclude-tag-under=.tar_exclude -cf /root/rvm.tar rvm diff --git a/.gitlab/ci/docker/debian12-x86_64/iwyu_packages.lst b/.gitlab/ci/docker/debian12-x86_64/iwyu_packages.lst deleted file mode 100644 index 2dbddba9f8..0000000000 --- a/.gitlab/ci/docker/debian12-x86_64/iwyu_packages.lst +++ /dev/null @@ -1,9 +0,0 @@ -# Install development tools. -clang-15 -libclang-15-dev -llvm-15-dev -libz-dev -g++ -cmake -ninja-build -git diff --git a/.gitlab/ci/docker/debian12-x86_64/rvm_packages.lst b/.gitlab/ci/docker/debian12-x86_64/rvm_packages.lst deleted file mode 100644 index 80f079cbf2..0000000000 --- a/.gitlab/ci/docker/debian12-x86_64/rvm_packages.lst +++ /dev/null @@ -1,25 +0,0 @@ -autoconf -automake -bison -bzip2 -curl -g++ -gawk -gcc -gnupg2 -libc6-dev -libffi-dev -libgdbm-dev -libgmp-dev -libncurses5-dev -libreadline-dev -libsqlite3-dev -libssl-dev -libtool -libyaml-dev -make -patch -pkg-config -procps -sqlite3 -zlib1g-dev diff --git a/.gitlab/ci/docker/fedora41-hip/Dockerfile b/.gitlab/ci/docker/fedora41-hip/Dockerfile deleted file mode 100644 index 606ddcc52a..0000000000 --- a/.gitlab/ci/docker/fedora41-hip/Dockerfile +++ /dev/null @@ -1,27 +0,0 @@ -# syntax=docker/dockerfile:1 - -ARG BASE_IMAGE=fedora:41 - -FROM ${BASE_IMAGE} AS dnf-cache -# Populate DNF cache w/ the fresh metadata and prefetch packages. -RUN --mount=type=bind,source=deps_packages.lst,target=/root/deps_packages.lst \ - --mount=type=tmpfs,target=/var/log \ - --mount=type=tmpfs,target=/tmp \ - dnf install \ - --setopt=install_weak_deps=False \ - --setopt=fastestmirror=True \ - --setopt=max_parallel_downloads=10 \ - --downloadonly \ - -y \ - $(grep -h '^[^#]\+$' /root/*.lst) - -FROM ${BASE_IMAGE} -LABEL maintainer="Brad King <brad.king@kitware.com>" - -RUN --mount=type=bind,source=install_deps.sh,target=/root/install_deps.sh \ - --mount=type=bind,source=deps_packages.lst,target=/root/deps_packages.lst \ - --mount=type=cache,from=dnf-cache,source=/var/lib/dnf,target=/var/lib/dnf,sharing=private \ - --mount=type=cache,target=/var/cache/pip \ - --mount=type=tmpfs,target=/var/log \ - --mount=type=tmpfs,target=/tmp \ - sh /root/install_deps.sh diff --git a/.gitlab/ci/docker/fedora41-hip/deps_packages.lst b/.gitlab/ci/docker/fedora41-hip/deps_packages.lst deleted file mode 100644 index 70b114c403..0000000000 --- a/.gitlab/ci/docker/fedora41-hip/deps_packages.lst +++ /dev/null @@ -1,15 +0,0 @@ -# Install development tools. -clang -clang-tools-extra -compiler-rt -gcc-c++ -git-core -make - -# Install HIP language toolchain. -hsakmt-devel -lld -llvm -rocm-comgr-devel -rocm-hip-devel -rocm-runtime-devel diff --git a/.gitlab/ci/docker/fedora41-hip/install_deps.sh b/.gitlab/ci/docker/fedora41-hip/install_deps.sh deleted file mode 100755 index eedff9c3a6..0000000000 --- a/.gitlab/ci/docker/fedora41-hip/install_deps.sh +++ /dev/null @@ -1,10 +0,0 @@ -#!/bin/sh - -set -e - -dnf install \ - --setopt=install_weak_deps=False \ - --setopt=fastestmirror=True \ - --setopt=max_parallel_downloads=10 \ - -y \ - $(grep '^[^#]\+$' /root/deps_packages.lst) diff --git a/.gitlab/ci/docker/fedora41/Dockerfile b/.gitlab/ci/docker/fedora41/Dockerfile deleted file mode 100644 index ed7daa7640..0000000000 --- a/.gitlab/ci/docker/fedora41/Dockerfile +++ /dev/null @@ -1,58 +0,0 @@ -# syntax=docker/dockerfile:1 - -ARG BASE_IMAGE=fedora:41 - -FROM ${BASE_IMAGE} AS dnf-cache -# Populate DNF cache w/ the fresh metadata and prefetch packages. -RUN --mount=type=bind,source=deps_packages.lst,target=/root/deps_packages.lst \ - --mount=type=bind,source=iwyu_packages.lst,target=/root/iwyu_packages.lst \ - --mount=type=bind,source=rvm_packages.lst,target=/root/rvm_packages.lst \ - --mount=type=tmpfs,target=/var/log \ - --mount=type=tmpfs,target=/tmp \ - dnf install \ - --setopt=install_weak_deps=False \ - --setopt=fastestmirror=True \ - --setopt=max_parallel_downloads=10 \ - --downloadonly \ - -y \ - $(grep -h '^[^#]\+$' /root/*.lst) - - -FROM ${BASE_IMAGE} AS rvm-build -LABEL maintainer="Ben Boeckel <ben.boeckel@kitware.com>" - -RUN --mount=type=bind,source=install_rvm.sh,target=/root/install_rvm.sh \ - --mount=type=bind,source=rvm_packages.lst,target=/root/rvm_packages.lst \ - --mount=type=cache,from=dnf-cache,source=/var/lib/dnf,target=/var/lib/dnf,sharing=private \ - --mount=type=tmpfs,target=/var/log \ - --mount=type=tmpfs,target=/tmp \ - sh /root/install_rvm.sh - - -FROM ${BASE_IMAGE} AS iwyu-build -LABEL maintainer="Kyle Edwards <kyle.edwards@kitware.com>" - -RUN --mount=type=bind,source=install_iwyu.sh,target=/root/install_iwyu.sh \ - --mount=type=bind,source=iwyu_packages.lst,target=/root/iwyu_packages.lst \ - --mount=type=cache,from=dnf-cache,source=/var/lib/dnf,target=/var/lib/dnf,sharing=private \ - --mount=type=tmpfs,target=/var/log \ - --mount=type=tmpfs,target=/tmp \ - sh /root/install_iwyu.sh - - -FROM ${BASE_IMAGE} -LABEL maintainer="Ben Boeckel <ben.boeckel@kitware.com>" - -RUN --mount=type=bind,source=install_deps.sh,target=/root/install_deps.sh \ - --mount=type=bind,source=deps_packages.lst,target=/root/deps_packages.lst \ - --mount=type=cache,from=dnf-cache,source=/var/lib/dnf,target=/var/lib/dnf,sharing=private \ - --mount=type=cache,target=/var/cache/pip \ - --mount=type=tmpfs,target=/var/log \ - --mount=type=tmpfs,target=/tmp \ - sh /root/install_deps.sh - -RUN --mount=type=bind,from=rvm-build,source=/root,target=/root \ - tar -C /usr/local -xf /root/rvm.tar - -RUN --mount=type=bind,from=iwyu-build,source=/root,target=/root \ - tar -C / -xf /root/iwyu.tar diff --git a/.gitlab/ci/docker/fedora41/deps_packages.lst b/.gitlab/ci/docker/fedora41/deps_packages.lst deleted file mode 100644 index 9b34671ae3..0000000000 --- a/.gitlab/ci/docker/fedora41/deps_packages.lst +++ /dev/null @@ -1,125 +0,0 @@ -# Install build requirements. -ncurses-devel -openssl-devel -qt5-qtbase-devel -qt6-qtbase-devel - -# Install development tools. -clang -clang-devel -clang-tools-extra -clang-tools-extra-devel -compiler-rt -flang-19.1.0-2.fc41 -gcc-c++ -git-core -lfortran -llvm-devel -make - -# Install optional external build dependencies. -bzip2-devel -expat-devel -jsoncpp-devel -libarchive-devel -libcurl-devel -libuv-devel -libuv-devel -libzstd-devel -rhash-devel -xz-devel -zlib-devel - -# Install documentation tools. -python3-sphinx -python3-sphinxcontrib-qthelp -texinfo -qt5-qttools-devel -qt6-qttools-devel - -# Install lint tools. -clang-analyzer -codespell - -# Tools needed for the test suite. -findutils -file -jq -which - -# Install ASM_NASM language toolchain. -nasm - -# Packages needed to test CTest. -breezy -subversion -mercurial - -# Packages needed to test CPack. -rpm-build - -# Packages needed to test find modules. -alsa-lib-devel -blas-devel -boost-devel boost-python3-devel -bzip2-devel -cups-devel -DevIL-devel -doxygen -expat-devel -fontconfig-devel -freeglut-devel -freetype-devel -gdal-devel -gettext -giflib-devel -glew-devel -gmock -gnutls-devel -grpc-devel grpc-plugins -gsl-devel -gtest-devel -gtk2-devel -hdf5-devel -hdf5-mpich-devel -hdf5-openmpi-devel -ImageMagick-c++-devel -jasper-devel -java-11-openjdk-devel -jsoncpp-devel -lapack-devel -libarchive-devel -libcurl-devel -libicu-devel -libinput-devel systemd-devel -libjpeg-turbo-devel -libomp-devel -libpng-devel -opensp-devel -postgresql-server-devel -libtiff-devel -libuv-devel -libxml2-devel -libxslt-devel -mpich-devel -openal-soft-devel -openmpi-devel -patch -perl -protobuf-devel protobuf-c-devel protobuf-lite-devel -pypy2 pypy2-devel -pypy3 pypy3-devel -python3 python3-devel python3-numpy -python3-jsmin python3-jsonschema -ruby rubygems ruby-devel -SDL-devel -sqlite-devel -swig -unixODBC-devel -wxGTK-devel -xalan-c-devel -xerces-c-devel -xz-devel - -# Packages needed to test third-party binaries. -ncurses-compat-libs diff --git a/.gitlab/ci/docker/fedora41/install_deps.sh b/.gitlab/ci/docker/fedora41/install_deps.sh deleted file mode 100755 index 72d0a3fa5c..0000000000 --- a/.gitlab/ci/docker/fedora41/install_deps.sh +++ /dev/null @@ -1,22 +0,0 @@ -#!/bin/sh - -set -e - -dnf install \ - --setopt=install_weak_deps=False \ - --setopt=fastestmirror=True \ - --setopt=max_parallel_downloads=10 \ - -y \ - $(grep '^[^#]\+$' /root/deps_packages.lst) - -# Remove tests for numpy -for v in 3.13; do - find /usr/lib64/python${v}/site-packages/numpy -type d -a -name tests -exec rm -rf {} + -done - -# Remove some other packages tests -find /usr/lib64/python3.13/site-packages/breezy -type d -a -name tests -exec rm -rf {} + - -# Perforce -curl -L https://www.perforce.com/downloads/perforce/r21.2/bin.linux26x86_64/helix-core-server.tgz -o - \ - | tar -C /usr/local/bin -xvzf - -- p4 p4d diff --git a/.gitlab/ci/docker/fedora41/install_iwyu.sh b/.gitlab/ci/docker/fedora41/install_iwyu.sh deleted file mode 100755 index 718b3d0c34..0000000000 --- a/.gitlab/ci/docker/fedora41/install_iwyu.sh +++ /dev/null @@ -1,30 +0,0 @@ -#!/bin/sh - -set -e - -# Install development tools. -dnf install \ - --setopt=install_weak_deps=False \ - --setopt=fastestmirror=True \ - --setopt=max_parallel_downloads=10 \ - -y \ - $(grep '^[^#]\+$' /root/iwyu_packages.lst) - -cd /root -git clone "https://github.com/include-what-you-use/include-what-you-use.git" -cd include-what-you-use -readonly llvm_full_version="$( clang --version | head -n1 | cut -d' ' -f3 )" -readonly llvm_version="$( echo "$llvm_full_version" | cut -d. -f-1 )" -git checkout "clang_$llvm_version" -mkdir build -cd build - -cmake -GNinja \ - -DCMAKE_BUILD_TYPE=Release \ - "-DIWYU_RESOURCE_RELATIVE_TO=clang" \ - "-DIWYU_RESOURCE_DIR=../lib/clang/$llvm_version" \ - "-DCMAKE_INSTALL_PREFIX=/usr/local/lib/llvm-$llvm_version" \ - .. -ninja -DESTDIR=/root/iwyu-destdir ninja install -tar -C /root/iwyu-destdir -cf /root/iwyu.tar . diff --git a/.gitlab/ci/docker/fedora41/install_rvm.sh b/.gitlab/ci/docker/fedora41/install_rvm.sh deleted file mode 100755 index 10e7545cf5..0000000000 --- a/.gitlab/ci/docker/fedora41/install_rvm.sh +++ /dev/null @@ -1,25 +0,0 @@ -#!/bin/sh - -set -e - -dnf install \ - --setopt=install_weak_deps=False \ - --setopt=fastestmirror=True \ - --setopt=max_parallel_downloads=10 \ - -y \ - $(grep '^[^#]\+$' /root/rvm_packages.lst) - -gpg2 --keyserver hkps://keyserver.ubuntu.com \ - --recv-keys 409B6B1796C275462A1703113804BB82D39DC0E3 \ - 7D2BAF1CF37B13E2069D6956105BD0E739499BDB - -curl -sSL https://get.rvm.io | bash -s stable - -# keep version in sync with `env_fedora*_makefiles.cmake` -/usr/local/rvm/bin/rvm install ruby-3.0.4 - -for p in archives examples gem-cache log src; do - touch /usr/local/rvm/${p}/.tar_exclude -done - -tar -C /usr/local --exclude-tag-under=.tar_exclude -cf /root/rvm.tar rvm diff --git a/.gitlab/ci/docker/fedora41/iwyu_packages.lst b/.gitlab/ci/docker/fedora41/iwyu_packages.lst deleted file mode 100644 index e3551bd315..0000000000 --- a/.gitlab/ci/docker/fedora41/iwyu_packages.lst +++ /dev/null @@ -1,7 +0,0 @@ -clang-devel -llvm-devel -zlib-devel -g++ -cmake -ninja-build -git diff --git a/.gitlab/ci/docker/fedora41/rvm_packages.lst b/.gitlab/ci/docker/fedora41/rvm_packages.lst deleted file mode 100644 index dc9f9812e9..0000000000 --- a/.gitlab/ci/docker/fedora41/rvm_packages.lst +++ /dev/null @@ -1,19 +0,0 @@ -autoconf -automake -bison -bzip2 -findutils -gcc-c++ -glibc-devel -gnupg2 -libffi-devel -libtool -libyaml-devel -make -openssl-devel -patch -procps -readline-devel -sqlite-devel -which -zlib-devel diff --git a/.gitlab/ci/docker/hip5.5/Dockerfile b/.gitlab/ci/docker/hip5.5/Dockerfile deleted file mode 100644 index 3a4aa53cbd..0000000000 --- a/.gitlab/ci/docker/hip5.5/Dockerfile +++ /dev/null @@ -1,37 +0,0 @@ -# syntax=docker/dockerfile:1 - -ARG BASE_IMAGE=rocm/dev-ubuntu-22.04:5.5 - -FROM ${BASE_IMAGE} AS cuda-keyring -ADD https://developer.download.nvidia.com/compute/cuda/repos/ubuntu2204/x86_64/cuda-keyring_1.1-1_all.deb /root/ -RUN --mount=type=tmpfs,target=/var/log \ - dpkg -i /root/cuda-keyring_1.1-1_all.deb \ - && rm /root/cuda-keyring_1.1-1_all.deb - -FROM cuda-keyring AS apt-cache -# Populate APT cache w/ the fresh metadata and prefetch packages. -# Use an empty `docker-clean` file to "hide" the image-provided -# file to disallow removing packages after `apt-get` operations. -RUN --mount=type=tmpfs,target=/var/log \ - --mount=type=bind,source=docker-clean,target=/etc/apt/apt.conf.d/docker-clean \ - --mount=type=bind,source=deps_packages.lst,target=/root/deps_packages.lst \ - apt-get update \ - && apt-get --download-only -y install $(grep -h '^[^#]\+$' /root/*.lst) - -FROM cuda-keyring -MAINTAINER Brad King <brad.king@kitware.com> - -ENV NVIDIA_DRIVER_CAPABILITIES=compute,utility -ENV NVIDIA_REQUIRE_CUDA=cuda>=11.8 -ENV NVIDIA_VISIBLE_DEVICES=all -ENV PATH="/opt/rocm/bin:$PATH" - -RUN --mount=type=bind,source=install_deps.sh,target=/root/install_deps.sh \ - --mount=type=bind,source=deps_packages.lst,target=/root/deps_packages.lst \ - --mount=type=bind,source=dpkg-exclude,target=/etc/dpkg/dpkg.cfg.d/exclude \ - --mount=type=bind,source=docker-clean,target=/etc/apt/apt.conf.d/docker-clean \ - --mount=type=cache,from=apt-cache,source=/var/lib/apt/lists,target=/var/lib/apt/lists \ - --mount=type=cache,from=apt-cache,source=/var/cache/apt,target=/var/cache/apt,sharing=private \ - --mount=type=tmpfs,target=/var/log \ - --mount=type=tmpfs,target=/tmp \ - sh /root/install_deps.sh diff --git a/.gitlab/ci/docker/hip5.5/deps_packages.lst b/.gitlab/ci/docker/hip5.5/deps_packages.lst deleted file mode 100644 index 32760553f9..0000000000 --- a/.gitlab/ci/docker/hip5.5/deps_packages.lst +++ /dev/null @@ -1,21 +0,0 @@ -# Install development tools. -g++ -curl -git - -# NVIDIA CUDA Compiler -cuda-keyring -cuda-nvcc-11-8 -cuda-profiler-api-11-8 - -# NVIDIA CUDA Toolkit -# These are not needed for HIP, but having them in -# the environment allows us to run CUDA tests too. -cuda-nvrtc-dev-11-8 -cuda-nvtx-11-8 -libcublas-dev-11-8 -libcufft-dev-11-8 -libcurand-dev-11-8 -libcusolver-dev-11-8 -libcusparse-dev-11-8 -libnpp-dev-11-8 diff --git a/.gitlab/ci/docker/hip5.5/docker-clean b/.gitlab/ci/docker/hip5.5/docker-clean deleted file mode 100644 index e69de29bb2..0000000000 --- a/.gitlab/ci/docker/hip5.5/docker-clean +++ /dev/null diff --git a/.gitlab/ci/docker/hip5.5/dpkg-exclude b/.gitlab/ci/docker/hip5.5/dpkg-exclude deleted file mode 100644 index 60b656549c..0000000000 --- a/.gitlab/ci/docker/hip5.5/dpkg-exclude +++ /dev/null @@ -1,21 +0,0 @@ -# Drop all man pages -path-exclude=/usr/share/man/* - -# Drop all info pages -path-exclude=/usr/share/info/* - -# Drop all README files except from the some packages -path-exclude=/usr/**/*README* -path-include=/usr/share/devscripts/templates/README.mk-build-deps -path-include=/usr/share/equivs/template/debian/README.Debian.in - -# Drop all translations -path-exclude=/usr/share/locale/*/LC_MESSAGES/*.mo - -# Drop all documentation ... -path-exclude=/usr/share/doc/* -path-exclude=/usr/share/doc-base/* -path-exclude=/usr/share/gtk-doc/* - -# Per package excludes -path-exclude=/usr/share/gnupg/help.*.txt diff --git a/.gitlab/ci/docker/hip5.5/install_deps.sh b/.gitlab/ci/docker/hip5.5/install_deps.sh deleted file mode 100755 index d1c8aed53c..0000000000 --- a/.gitlab/ci/docker/hip5.5/install_deps.sh +++ /dev/null @@ -1,5 +0,0 @@ -#!/bin/sh - -set -e - -apt-get install -y $(grep '^[^#]\+$' /root/deps_packages.lst) diff --git a/.gitlab/ci/docker/nvhpc22.11/Dockerfile b/.gitlab/ci/docker/nvhpc22.11/Dockerfile deleted file mode 100644 index 078ae37611..0000000000 --- a/.gitlab/ci/docker/nvhpc22.11/Dockerfile +++ /dev/null @@ -1,6 +0,0 @@ -# https://catalog.ngc.nvidia.com/orgs/nvidia/containers/nvhpc/tags -FROM kitware/nvidia-nvhpc:22.11-devel-cuda_multi-ubuntu22.04 -MAINTAINER Brad King <brad.king@kitware.com> - -COPY install_deps.sh /root/install_deps.sh -RUN sh /root/install_deps.sh diff --git a/.gitlab/ci/docker/nvhpc22.11/install_deps.sh b/.gitlab/ci/docker/nvhpc22.11/install_deps.sh deleted file mode 100755 index 51ee410606..0000000000 --- a/.gitlab/ci/docker/nvhpc22.11/install_deps.sh +++ /dev/null @@ -1,11 +0,0 @@ -#!/bin/sh - -set -e - -apt-get update - -# Install development tools. -apt-get install -y \ - curl - -apt-get clean diff --git a/.gitlab/ci/download_qt.cmake b/.gitlab/ci/download_qt.cmake deleted file mode 100644 index d2560dd125..0000000000 --- a/.gitlab/ci/download_qt.cmake +++ /dev/null @@ -1,159 +0,0 @@ -cmake_minimum_required(VERSION 3.29) - -# Input variables. -set(qt_version_major "5") -set(qt_version_minor "15") -set(qt_version_patch "1") - -# Combined version variables. -set(qt_version "${qt_version_major}.${qt_version_minor}.${qt_version_patch}") -set(qt_version_nodot "${qt_version_major}${qt_version_minor}${qt_version_patch}") - -# Files needed to download. -set(qt_files) -if ("$ENV{CMAKE_CONFIGURATION}" MATCHES "windows.*package") - set(qt_url_root "https://cmake.org/files/dependencies") - set(qt_url_path "") - if ("$ENV{CMAKE_CONFIGURATION}" MATCHES "windows_x86_64_package") - list(APPEND qt_files "qt-5.15.10-win-x86_64-msvc_v142-1.zip") - set(qt_subdir "qt-5.15.10-win-x86_64-msvc_v142-1") - elseif ("$ENV{CMAKE_CONFIGURATION}" MATCHES "windows_i386_package") - list(APPEND qt_files "qt-5.15.10-win-i386-msvc_v142-1.zip") - set(qt_subdir "qt-5.15.10-win-i386-msvc_v142-1") - elseif ("$ENV{CMAKE_CONFIGURATION}" MATCHES "windows_arm64_package") - list(APPEND qt_files "qt-6.3.0-win-arm64-msvc_v143-1.zip") - set(qt_subdir "qt-6.3.0-win-arm64-msvc_v143-1") - list(APPEND qt_files "qt-6.3.0-win-x86_64-msvc_v143-1.zip") - set(qt_host_subdir "qt-6.3.0-win-x86_64-msvc_v143-1") - else () - message(FATAL_ERROR "Unknown arch to use for Qt") - endif() -elseif ("$ENV{CMAKE_CONFIGURATION}" MATCHES "windows") - # Determine the ABI to fetch for Qt. - if ("$ENV{CMAKE_CONFIGURATION}" MATCHES "vs2015") - set(qt_platform "windows_x86") - set(msvc_year "2015") - set(qt_abi "win64_msvc${msvc_year}_64") - elseif ("$ENV{CMAKE_CONFIGURATION}" MATCHES "vs2017" OR - "$ENV{CMAKE_CONFIGURATION}" MATCHES "vs2019" OR - "$ENV{CMAKE_CONFIGURATION}" MATCHES "vs2022") - set(qt_platform "windows_x86") - set(msvc_year "2019") - set(qt_abi "win64_msvc${msvc_year}_64") - else () - message(FATAL_ERROR "Unknown ABI to use for Qt") - endif () - - set(qt_build_stamp "202009071110") - - set(qt_file_name_prefix "${qt_version}-0-${qt_build_stamp}") - - foreach (qt_component IN ITEMS qtbase qtwinextras) - list(APPEND qt_files - "${qt_file_name_prefix}${qt_component}-Windows-Windows_10-MSVC${msvc_year}-Windows-Windows_10-X86_64.7z") - endforeach () - - set(qt_subdir "${qt_version}/msvc${msvc_year}_64") - - # This URL is only visible inside of Kitware's network. - # Please use your own Qt Account to obtain these files. - set(qt_url_root "https://paraview.org/files/dependencies/internal/qt") - set(qt_url_path "${qt_platform}/desktop/qt5_${qt_version_nodot}/qt.qt5.${qt_version_nodot}.${qt_abi}") -elseif ("$ENV{CMAKE_CONFIGURATION}" MATCHES "macos") - if ("$ENV{CMAKE_CONFIGURATION}" MATCHES "macos10.10_package") - list(APPEND qt_files "qt-5.9.9-macosx10.10-x86_64-arm64.tar.xz") - set(qt_subdir "qt-5.9.9-macosx10.10-x86_64-arm64") - else () - list(APPEND qt_files "qt-5.15.2-macosx10.13-x86_64-arm64.tar.xz") - set(qt_subdir "qt-5.15.2-macosx10.13-x86_64-arm64") - endif() - set(qt_url_root "https://cmake.org/files/dependencies") - set(qt_url_path "") -else() - message(FATAL_ERROR "Unknown OS to use for Qt") -endif () - -# Verify that we know what directory will be extracted. -if (NOT qt_subdir) - message(FATAL_ERROR - "The extracted subdirectory is not set") -endif () - -# Build up the path to the file to download. -set(qt_url_prefix "${qt_url_root}/${qt_url_path}") - -# Include the file containing the hashes of the files that matter. -include("${CMAKE_CURRENT_LIST_DIR}/download_qt_hashes.cmake") - -# Download and extract each file. -foreach (qt_file IN LISTS qt_files) - # Ensure we have a hash to verify. - if (NOT DEFINED "${qt_file}_hash") - message(FATAL_ERROR - "Unknown hash for ${qt_file}") - endif () - - # Download the file. - file(DOWNLOAD - "${qt_url_prefix}/${qt_file}" - ".gitlab/${qt_file}" - STATUS download_status - EXPECTED_HASH "SHA256=${${qt_file}_hash}") - - # Check the download status. - list(GET download_status 0 res) - if (res) - list(GET download_status 1 err) - message(FATAL_ERROR - "Failed to download ${qt_file}: ${err}") - endif () - - # Extract the file. - execute_process( - COMMAND - "${CMAKE_COMMAND}" - -E tar - xf "${qt_file}" - WORKING_DIRECTORY ".gitlab" - RESULT_VARIABLE res - ERROR_VARIABLE err - ERROR_STRIP_TRAILING_WHITESPACE) - if (res) - message(FATAL_ERROR - "Failed to extract ${qt_file}: ${err}") - endif () - file(REMOVE "${qt_file}") -endforeach () - -# The Windows tarballs have some unfortunate permissions in them that prevent -# deletion when `git clean -ffdx` tries to clean up the directory. -if (qt_platform STREQUAL "windows_x86") - # Fix permissions. - file(TO_NATIVE_PATH ".gitlab/${qt_subdir}/*.*" native_qt_dir) - execute_process( - # Remove any read-only flags that aren't affected by `icacls`. - COMMAND - attrib - -r # Remove readonly flag - "${native_qt_dir}" - /d # Treat as a directory - /s # Recursive - /l # Don't dereference symlinks - RESULT_VARIABLE res - ERROR_VARIABLE err - ERROR_STRIP_TRAILING_WHITESPACE) - if (res) - message(FATAL_ERROR - "Failed to fix remove read-only flags in ${qt_file}: ${err}") - endif () -endif () - -# Move to a predictable prefix. -file(RENAME - ".gitlab/${qt_subdir}" - ".gitlab/qt") -if(qt_host_subdir) - file(RENAME - ".gitlab/${qt_host_subdir}" - ".gitlab/qt-host") -endif() diff --git a/.gitlab/ci/download_qt_hashes.cmake b/.gitlab/ci/download_qt_hashes.cmake deleted file mode 100644 index 1b9cf1473c..0000000000 --- a/.gitlab/ci/download_qt_hashes.cmake +++ /dev/null @@ -1,21 +0,0 @@ -# Lines can be generated by doing: -# -# sha256sum $files | awk '{ print "set(\"" $2 "_hash\" " $1 ")" }' >> $thisfile - -set("5.15.1-0-202009071110qtbase-Windows-Windows_10-MSVC2019-Windows-Windows_10-X86_64.7z_hash" a5635124a135f383d9fb92bf628b018cff9f781addfd388926a367cda5b7cd38) -set("5.15.1-0-202009071110qtwinextras-Windows-Windows_10-MSVC2019-Windows-Windows_10-X86_64.7z_hash" 908947855b5d7a854886746365ac29e9296b5d64d4e18089641a6988167807d3) - -set("5.15.1-0-202009071110qtbase-Windows-Windows_10-MSVC2015-Windows-Windows_10-X86_64.7z_hash" 5d0d2e71e3b00cf88ac4c616b4b314a7e73871f325512821f53c464cdfee961f) -set("5.15.1-0-202009071110qtwinextras-Windows-Windows_10-MSVC2015-Windows-Windows_10-X86_64.7z_hash" 803e0234169464babb5305dedc21382e90c3266c6f9414ff0cff04be578681e1) - -set("5.15.1-0-202009071110qtbase-MacOS-MacOS_10_13-Clang-MacOS-MacOS_10_13-X86_64.7z_hash" df2813ce7c6cb4287abd7956cd1cb9d08312e4ac1208b6cb57af4df11b8ebba1) - -set("qt-5.9.9-macosx10.10-x86_64-arm64.tar.xz_hash" d4449771afa0bc6a809c14f1e6d939e7732494cf059503ae451e2bfe8fc60cc1) -set("qt-5.15.2-macosx10.13-x86_64-arm64.tar.xz_hash" 7b9463a01c8beeee5bf8d01c70deff2d08561cd20aaf6f7a2f41cf8b68ce8a6b) - -set("qt-5.15.10-win-i386-msvc_v142-1.zip_hash" c158cebc054d3f4f09733772a8a04789e2884912d45782e8c0c5e6a0b2773e92) -set("qt-5.15.10-win-x86_64-msvc_v142-1.zip_hash" d55c017aef359f6aa8c592b18ba13cc120c749417b55671548970690126cd139) - -set("qt-6.3.0-win-arm64-msvc_v143-1.zip_hash" f794c035fd4ff9f04468e1787a60d93d7496119c0060c3173a76d24a6b551b14) -set("qt-6.3.0-win-i386-msvc_v143-1.zip_hash" 972bc707f78d11b44f360643ca4d0c898e761f7add43b96117d958c70d84a443) -set("qt-6.3.0-win-x86_64-msvc_v143-1.zip_hash" 4fb0aaebe184f40392f1bb246469dca591bfdfb8f915e19f921476222473ac90) diff --git a/.gitlab/ci/env.ps1 b/.gitlab/ci/env.ps1 deleted file mode 100644 index 754521bb88..0000000000 --- a/.gitlab/ci/env.ps1 +++ /dev/null @@ -1,12 +0,0 @@ -$pwsh = [System.Diagnostics.Process]::GetCurrentProcess().MainModule.FileName - -# Place temporary files inside job directory. -$tmp = New-Item -Force -ItemType Directory -Path "$pwd\.gitlab\tmp" -$tmp = (New-Object -ComObject Scripting.FileSystemObject).GetFolder("$tmp").ShortPath -Set-Item -Force -Path "env:TEMP" -Value "$tmp" -Set-Item -Force -Path "env:TMP" -Value "$tmp" -$tmp = $null - -if (Test-Path -Path ".gitlab/ci/env_$env:CMAKE_CONFIGURATION.ps1" -PathType Leaf) { - . ".gitlab/ci/env_$env:CMAKE_CONFIGURATION.ps1" -} diff --git a/.gitlab/ci/env.sh b/.gitlab/ci/env.sh deleted file mode 100644 index aa709a892e..0000000000 --- a/.gitlab/ci/env.sh +++ /dev/null @@ -1,24 +0,0 @@ -quietly() { - readonly log="/tmp/quietly-$RANDOM.log" - if ! "$@" >"$log" 2>&1; then - ret=$? - cat "$log" - rm -f "$log" - exit $ret - fi - rm -f "$log" -} - -if test -n "$CMAKE_CI_IN_SYMLINK_TREE"; then - mkdir -p "$CI_PROJECT_DIR/real_work/work/build" - ln -s real_work/work "$CI_PROJECT_DIR/work" - git worktree prune - git worktree add "$CI_PROJECT_DIR/work/cmake" HEAD - - # Assert that the hash matches. - test "$(git -C "$CI_PROJECT_DIR/work/cmake" rev-parse HEAD)" = "$(git -C "$CI_PROJECT_DIR" rev-parse HEAD)" -fi - -if test -r ".gitlab/ci/env_${CMAKE_CONFIGURATION}.sh"; then - source ".gitlab/ci/env_${CMAKE_CONFIGURATION}.sh" -fi diff --git a/.gitlab/ci/env_cuda10.2_clang.sh b/.gitlab/ci/env_cuda10.2_clang.sh deleted file mode 100644 index d3b253016e..0000000000 --- a/.gitlab/ci/env_cuda10.2_clang.sh +++ /dev/null @@ -1,3 +0,0 @@ -export CC=/usr/bin/clang-11 -export CXX=/usr/bin/clang++-11 -export CUDACXX=/usr/bin/clang++-11 diff --git a/.gitlab/ci/env_cuda11.6_clang.sh b/.gitlab/ci/env_cuda11.6_clang.sh deleted file mode 100644 index f4be338ef9..0000000000 --- a/.gitlab/ci/env_cuda11.6_clang.sh +++ /dev/null @@ -1,3 +0,0 @@ -export CC=/usr/bin/clang-13 -export CXX=/usr/bin/clang++-13 -export CUDACXX=/usr/bin/clang++-13 diff --git a/.gitlab/ci/env_cuda11.8_splayed_nvidia.sh b/.gitlab/ci/env_cuda11.8_splayed_nvidia.sh deleted file mode 100644 index 38e788d349..0000000000 --- a/.gitlab/ci/env_cuda11.8_splayed_nvidia.sh +++ /dev/null @@ -1,36 +0,0 @@ -# -# Splay the libraries and includes to emulate conda where -# things are split between the host and build prefix -# -# /usr/local/cuda/include/crt/ -> /tmp/cuda/include/crt -# /usr/local/cuda/lib64/stubs/ -> /tmp/cuda/stubs/ -# /usr/local/cuda/lib64/libcudart* -> /tmp/cuda/libs/ -# -# Also reduce to minimal subset of libraries by removing -# static libraries to emulate a minimal cuda install -mkdir -p /tmp/cuda/libs -mkdir -p /tmp/cuda/stubs -mkdir -p /tmp/cuda/include - -mv /usr/local/cuda/lib64/libcuda* /tmp/cuda/libs -mv /usr/local/cuda/lib64/stubs/ /tmp/cuda/stubs/ -mv /usr/local/cuda/include/crt/ /tmp/cuda/include/ - -# patch the nvcc.profile to handle the splayed layout -# which allows verification -mv /usr/local/cuda/bin/nvcc.profile /usr/local/cuda/bin/nvcc.profile.orig -echo " -TOP = \$(_HERE_)/.. - -NVVMIR_LIBRARY_DIR = \$(TOP)/\$(_NVVM_BRANCH_)/libdevice - -LD_LIBRARY_PATH += \$(TOP)/lib: -PATH += \$(TOP)/\$(_NVVM_BRANCH_)/bin:\$(_HERE_): - -INCLUDES += \"-I\$(TOP)/\$(_TARGET_DIR_)/include\" \$(_SPACE_) \"-I/tmp/cuda/include\" \$(_SPACE_) - -LIBRARIES =+ \$(_SPACE_) \"-L\$(TOP)/\$(_TARGET_DIR_)/lib\$(_TARGET_SIZE_)\" \"-L/tmp/cuda/stubs/\" \"-L/tmp/cuda/libs\" - -CUDAFE_FLAGS += -PTXAS_FLAGS += -" > /usr/local/cuda/bin/nvcc.profile diff --git a/.gitlab/ci/env_cuda12.2_clang.sh b/.gitlab/ci/env_cuda12.2_clang.sh deleted file mode 100644 index 4b71b42154..0000000000 --- a/.gitlab/ci/env_cuda12.2_clang.sh +++ /dev/null @@ -1,3 +0,0 @@ -export CC=/usr/bin/clang-18 -export CXX=/usr/bin/clang++-18 -export CUDACXX=/usr/bin/clang++-18 diff --git a/.gitlab/ci/env_cuda12.2_nvidia_clang.sh b/.gitlab/ci/env_cuda12.2_nvidia_clang.sh deleted file mode 100644 index 0562ab08b7..0000000000 --- a/.gitlab/ci/env_cuda12.2_nvidia_clang.sh +++ /dev/null @@ -1,5 +0,0 @@ -export CC=/usr/bin/clang-18 -export CXX=/usr/bin/clang++-18 -export CUDACXX=/usr/local/cuda/bin/nvcc -export CUDAHOSTCXX=/usr/bin/clang++-18 -export CUDAFLAGS=--allow-unsupported-compiler diff --git a/.gitlab/ci/env_cuda9.2_nvidia.sh b/.gitlab/ci/env_cuda9.2_nvidia.sh deleted file mode 100644 index 16bfba4eee..0000000000 --- a/.gitlab/ci/env_cuda9.2_nvidia.sh +++ /dev/null @@ -1,4 +0,0 @@ -export CC=/usr/bin/clang-3.8 -export CXX=/usr/bin/clang++-3.8 -export CUDAHOSTCXX=/usr/bin/g++-5 -export CUDACXX=/usr/local/cuda/bin/nvcc diff --git a/.gitlab/ci/env_debian12_aarch64_extdeps.sh b/.gitlab/ci/env_debian12_aarch64_extdeps.sh deleted file mode 100644 index 7076e18f22..0000000000 --- a/.gitlab/ci/env_debian12_aarch64_extdeps.sh +++ /dev/null @@ -1 +0,0 @@ -source .gitlab/ci/env_extdeps_common.sh diff --git a/.gitlab/ci/env_debian12_extdeps.sh b/.gitlab/ci/env_debian12_extdeps.sh deleted file mode 100644 index 7076e18f22..0000000000 --- a/.gitlab/ci/env_debian12_extdeps.sh +++ /dev/null @@ -1 +0,0 @@ -source .gitlab/ci/env_extdeps_common.sh diff --git a/.gitlab/ci/env_debian12_hip_radeon.sh b/.gitlab/ci/env_debian12_hip_radeon.sh deleted file mode 100644 index 793c985ff7..0000000000 --- a/.gitlab/ci/env_debian12_hip_radeon.sh +++ /dev/null @@ -1,9 +0,0 @@ -export HIPCXX=/usr/bin/clang++-15 -export HIPFLAGS='--rocm-path=/usr --rocm-device-lib-path=/usr/lib/x86_64-linux-gnu/amdgcn/bitcode' - -# FIXME(debian): Clang is supposed to automatically parse a HIP version file. -# The ROCm installer places it at '$prefix/bin/.hipVersion', but the package -# on Debian moves it to '$prefix/share/hip/version'. llvm-toolchain package -# version 15.0.7-4 has 'debian/patches/amdgpu/usr-search-paths.patch' for this, -# but Debian 12 currently provides version 15.0.6-4 without the patch. -export HIPFLAGS="$HIPFLAGS --hip-version=5.2" diff --git a/.gitlab/ci/env_debian12_makefiles_clang.sh b/.gitlab/ci/env_debian12_makefiles_clang.sh deleted file mode 100644 index e4ee2493e1..0000000000 --- a/.gitlab/ci/env_debian12_makefiles_clang.sh +++ /dev/null @@ -1,7 +0,0 @@ -if test "$CMAKE_CI_NIGHTLY" = "true"; then - source .gitlab/ci/iar-env.sh - source .gitlab/ci/ticlang-env.sh -fi - -export CC=/usr/bin/clang-15 -export CXX=/usr/bin/clang++-15 diff --git a/.gitlab/ci/env_debian12_ninja.sh b/.gitlab/ci/env_debian12_ninja.sh deleted file mode 100644 index 2b8ff2aa03..0000000000 --- a/.gitlab/ci/env_debian12_ninja.sh +++ /dev/null @@ -1,5 +0,0 @@ -export MY_RUBY_HOME="/usr/local/rvm/rubies/ruby-3.2.2" - -if test -z "$CI_MERGE_REQUEST_ID"; then - source .gitlab/ci/swift-env.sh -fi diff --git a/.gitlab/ci/env_debian12_ninja_clang.sh b/.gitlab/ci/env_debian12_ninja_clang.sh deleted file mode 100644 index e4ee2493e1..0000000000 --- a/.gitlab/ci/env_debian12_ninja_clang.sh +++ /dev/null @@ -1,7 +0,0 @@ -if test "$CMAKE_CI_NIGHTLY" = "true"; then - source .gitlab/ci/iar-env.sh - source .gitlab/ci/ticlang-env.sh -fi - -export CC=/usr/bin/clang-15 -export CXX=/usr/bin/clang++-15 diff --git a/.gitlab/ci/env_debian12_ninja_multi_symlinked.sh b/.gitlab/ci/env_debian12_ninja_multi_symlinked.sh deleted file mode 100644 index 5734117e26..0000000000 --- a/.gitlab/ci/env_debian12_ninja_multi_symlinked.sh +++ /dev/null @@ -1,9 +0,0 @@ -export MY_RUBY_HOME="/usr/local/rvm/rubies/ruby-3.2.2" - -if test "$CMAKE_CI_NIGHTLY" = "true"; then - source .gitlab/ci/iar-env.sh -fi - -if test -z "$CI_MERGE_REQUEST_ID"; then - source .gitlab/ci/swift-env.sh -fi diff --git a/.gitlab/ci/env_extdeps_common.sh b/.gitlab/ci/env_extdeps_common.sh deleted file mode 100644 index 8cabc05b3c..0000000000 --- a/.gitlab/ci/env_extdeps_common.sh +++ /dev/null @@ -1,5 +0,0 @@ -.gitlab/ci/extdeps-linux.sh - -export CMAKE_PREFIX_PATH=/opt/extdeps -export PATH=/opt/extdeps/bin:$PATH -export LD_LIBRARY_PATH=/opt/extdeps/lib diff --git a/.gitlab/ci/env_fedora41_asan.sh b/.gitlab/ci/env_fedora41_asan.sh deleted file mode 100644 index e9764862eb..0000000000 --- a/.gitlab/ci/env_fedora41_asan.sh +++ /dev/null @@ -1,2 +0,0 @@ -export CC=/usr/bin/clang -export CXX=/usr/bin/clang++ diff --git a/.gitlab/ci/env_fedora41_clang_analyzer.sh b/.gitlab/ci/env_fedora41_clang_analyzer.sh deleted file mode 100644 index d732c0ba20..0000000000 --- a/.gitlab/ci/env_fedora41_clang_analyzer.sh +++ /dev/null @@ -1,2 +0,0 @@ -export CC=/usr/libexec/ccc-analyzer -export CXX=/usr/libexec/c++-analyzer diff --git a/.gitlab/ci/env_fedora41_common_clang.sh b/.gitlab/ci/env_fedora41_common_clang.sh deleted file mode 100644 index 02c8ca6aab..0000000000 --- a/.gitlab/ci/env_fedora41_common_clang.sh +++ /dev/null @@ -1,3 +0,0 @@ -export CC=/usr/bin/clang-19 -export CXX=/usr/bin/clang++-19 -export FC=/usr/bin/flang-new diff --git a/.gitlab/ci/env_fedora41_common_lfortran.sh b/.gitlab/ci/env_fedora41_common_lfortran.sh deleted file mode 100644 index 499369c2f2..0000000000 --- a/.gitlab/ci/env_fedora41_common_lfortran.sh +++ /dev/null @@ -1 +0,0 @@ -export FC=/usr/bin/lfortran diff --git a/.gitlab/ci/env_fedora41_extdeps.sh b/.gitlab/ci/env_fedora41_extdeps.sh deleted file mode 100644 index 7076e18f22..0000000000 --- a/.gitlab/ci/env_fedora41_extdeps.sh +++ /dev/null @@ -1 +0,0 @@ -source .gitlab/ci/env_extdeps_common.sh diff --git a/.gitlab/ci/env_fedora41_hip_radeon.sh b/.gitlab/ci/env_fedora41_hip_radeon.sh deleted file mode 100644 index 8024f56a30..0000000000 --- a/.gitlab/ci/env_fedora41_hip_radeon.sh +++ /dev/null @@ -1 +0,0 @@ -export HIPCXX=/usr/bin/clang++-18 diff --git a/.gitlab/ci/env_fedora41_makefiles.cmake b/.gitlab/ci/env_fedora41_makefiles.cmake deleted file mode 100644 index ef13cda7b5..0000000000 --- a/.gitlab/ci/env_fedora41_makefiles.cmake +++ /dev/null @@ -1 +0,0 @@ -set(ENV{MY_RUBY_HOME} "/usr/local/rvm/rubies/ruby-3.0.4") diff --git a/.gitlab/ci/env_fedora41_makefiles.sh b/.gitlab/ci/env_fedora41_makefiles.sh deleted file mode 100644 index c482642e69..0000000000 --- a/.gitlab/ci/env_fedora41_makefiles.sh +++ /dev/null @@ -1,8 +0,0 @@ -if test "$CMAKE_CI_NIGHTLY" = "true"; then - source .gitlab/ci/ispc-env.sh -fi - -# Patch HDF5 Fortran compiler wrappers to work around Fedora bug. -# https://bugzilla.redhat.com/show_bug.cgi?id=2183289 -sed -i '/^includedir=/ s|/mpich-x86_64||' /usr/lib64/mpich/bin/h5pfc -sed -i '/^includedir=/ s|/openmpi-x86_64||' /usr/lib64/openmpi/bin/h5pfc diff --git a/.gitlab/ci/env_fedora41_makefiles_clang.sh b/.gitlab/ci/env_fedora41_makefiles_clang.sh deleted file mode 100644 index e2892e5873..0000000000 --- a/.gitlab/ci/env_fedora41_makefiles_clang.sh +++ /dev/null @@ -1 +0,0 @@ -. .gitlab/ci/env_fedora41_common_clang.sh diff --git a/.gitlab/ci/env_fedora41_makefiles_lfortran.sh b/.gitlab/ci/env_fedora41_makefiles_lfortran.sh deleted file mode 100644 index 10e5623725..0000000000 --- a/.gitlab/ci/env_fedora41_makefiles_lfortran.sh +++ /dev/null @@ -1 +0,0 @@ -. .gitlab/ci/env_fedora41_common_lfortran.sh diff --git a/.gitlab/ci/env_fedora41_makefiles_symlinked.cmake b/.gitlab/ci/env_fedora41_makefiles_symlinked.cmake deleted file mode 100644 index 16937df0c1..0000000000 --- a/.gitlab/ci/env_fedora41_makefiles_symlinked.cmake +++ /dev/null @@ -1 +0,0 @@ -include("${CMAKE_CURRENT_LIST_DIR}/env_fedora41_makefiles.cmake") diff --git a/.gitlab/ci/env_fedora41_makefiles_symlinked.sh b/.gitlab/ci/env_fedora41_makefiles_symlinked.sh deleted file mode 100644 index 7f84e9fdb2..0000000000 --- a/.gitlab/ci/env_fedora41_makefiles_symlinked.sh +++ /dev/null @@ -1 +0,0 @@ -. .gitlab/ci/env_fedora41_makefiles.sh diff --git a/.gitlab/ci/env_fedora41_ninja.sh b/.gitlab/ci/env_fedora41_ninja.sh deleted file mode 100644 index 217ff305df..0000000000 --- a/.gitlab/ci/env_fedora41_ninja.sh +++ /dev/null @@ -1,3 +0,0 @@ -if test "$CMAKE_CI_NIGHTLY" = "true"; then - source .gitlab/ci/ispc-env.sh -fi diff --git a/.gitlab/ci/env_fedora41_ninja_clang.sh b/.gitlab/ci/env_fedora41_ninja_clang.sh deleted file mode 100644 index e2892e5873..0000000000 --- a/.gitlab/ci/env_fedora41_ninja_clang.sh +++ /dev/null @@ -1 +0,0 @@ -. .gitlab/ci/env_fedora41_common_clang.sh diff --git a/.gitlab/ci/env_fedora41_ninja_lfortran.sh b/.gitlab/ci/env_fedora41_ninja_lfortran.sh deleted file mode 100644 index 10e5623725..0000000000 --- a/.gitlab/ci/env_fedora41_ninja_lfortran.sh +++ /dev/null @@ -1 +0,0 @@ -. .gitlab/ci/env_fedora41_common_lfortran.sh diff --git a/.gitlab/ci/env_fedora41_ninja_multi.sh b/.gitlab/ci/env_fedora41_ninja_multi.sh deleted file mode 100644 index 217ff305df..0000000000 --- a/.gitlab/ci/env_fedora41_ninja_multi.sh +++ /dev/null @@ -1,3 +0,0 @@ -if test "$CMAKE_CI_NIGHTLY" = "true"; then - source .gitlab/ci/ispc-env.sh -fi diff --git a/.gitlab/ci/env_fedora41_ninja_multi_clang.sh b/.gitlab/ci/env_fedora41_ninja_multi_clang.sh deleted file mode 100644 index e2892e5873..0000000000 --- a/.gitlab/ci/env_fedora41_ninja_multi_clang.sh +++ /dev/null @@ -1 +0,0 @@ -. .gitlab/ci/env_fedora41_common_clang.sh diff --git a/.gitlab/ci/env_hip5.5_nvidia.sh b/.gitlab/ci/env_hip5.5_nvidia.sh deleted file mode 100644 index 67d1ef262b..0000000000 --- a/.gitlab/ci/env_hip5.5_nvidia.sh +++ /dev/null @@ -1,4 +0,0 @@ -export HIP_PLATFORM=nvidia -export CUDA_PATH=/usr/local/cuda-11.8 -export PATH=/usr/local/cuda-11.8/bin:$PATH -export LD_LIBRARY_PATH=/usr/local/cuda-11.8/lib64 diff --git a/.gitlab/ci/env_intelclassic_common.sh b/.gitlab/ci/env_intelclassic_common.sh deleted file mode 100644 index 22b1d03ba3..0000000000 --- a/.gitlab/ci/env_intelclassic_common.sh +++ /dev/null @@ -1,9 +0,0 @@ -source .gitlab/ci/env_intelcompiler_license.sh - -if test -r /opt/intel/oneapi/setvars.sh; then - source /opt/intel/oneapi/setvars.sh -elif test -r /opt/intel/bin/compilervars.sh; then - source /opt/intel/bin/compilervars.sh intel64 -fi - -export CC=icc CXX=icpc FC=ifort diff --git a/.gitlab/ci/env_intelclassic_makefiles.sh b/.gitlab/ci/env_intelclassic_makefiles.sh deleted file mode 100644 index d1ff85e0c5..0000000000 --- a/.gitlab/ci/env_intelclassic_makefiles.sh +++ /dev/null @@ -1 +0,0 @@ -source .gitlab/ci/env_intelclassic_common.sh diff --git a/.gitlab/ci/env_intelcompiler_license.sh b/.gitlab/ci/env_intelcompiler_license.sh deleted file mode 100644 index 54743b28e2..0000000000 --- a/.gitlab/ci/env_intelcompiler_license.sh +++ /dev/null @@ -1,8 +0,0 @@ -if test -n "$CMAKE_CI_INTELCOMPILER_LICENSE"; then - if test -d /opt/intel/licenses; then - mv "$CMAKE_CI_INTELCOMPILER_LICENSE" /opt/intel/licenses/ci.lic - else - rm "$CMAKE_CI_INTELCOMPILER_LICENSE" - fi - unset CMAKE_CI_INTELCOMPILER_LICENSE -fi diff --git a/.gitlab/ci/env_inteloneapi_common.sh b/.gitlab/ci/env_inteloneapi_common.sh deleted file mode 100644 index beaf3feee9..0000000000 --- a/.gitlab/ci/env_inteloneapi_common.sh +++ /dev/null @@ -1,7 +0,0 @@ -source .gitlab/ci/env_intelcompiler_license.sh - -if test -r /opt/intel/oneapi/setvars.sh; then - source /opt/intel/oneapi/setvars.sh -fi - -export CC=icx CXX=icpx FC=ifx diff --git a/.gitlab/ci/env_inteloneapi_makefiles.sh b/.gitlab/ci/env_inteloneapi_makefiles.sh deleted file mode 100644 index eefcddaedd..0000000000 --- a/.gitlab/ci/env_inteloneapi_makefiles.sh +++ /dev/null @@ -1 +0,0 @@ -source .gitlab/ci/env_inteloneapi_common.sh diff --git a/.gitlab/ci/env_macos_arm64_ninja.sh b/.gitlab/ci/env_macos_arm64_ninja.sh deleted file mode 100644 index f8d459be7c..0000000000 --- a/.gitlab/ci/env_macos_arm64_ninja.sh +++ /dev/null @@ -1 +0,0 @@ -. .gitlab/ci/openmp-env.sh diff --git a/.gitlab/ci/env_macos_arm64_ninja_multi.sh b/.gitlab/ci/env_macos_arm64_ninja_multi.sh deleted file mode 100644 index 217ff305df..0000000000 --- a/.gitlab/ci/env_macos_arm64_ninja_multi.sh +++ /dev/null @@ -1,3 +0,0 @@ -if test "$CMAKE_CI_NIGHTLY" = "true"; then - source .gitlab/ci/ispc-env.sh -fi diff --git a/.gitlab/ci/env_macos_arm64_ninja_symlinked.sh b/.gitlab/ci/env_macos_arm64_ninja_symlinked.sh deleted file mode 100644 index b78cefcb72..0000000000 --- a/.gitlab/ci/env_macos_arm64_ninja_symlinked.sh +++ /dev/null @@ -1 +0,0 @@ -. .gitlab/ci/env_macos_arm64_ninja.sh diff --git a/.gitlab/ci/env_macos_arm64_xcode_ub.cmake b/.gitlab/ci/env_macos_arm64_xcode_ub.cmake deleted file mode 100644 index 244f088495..0000000000 --- a/.gitlab/ci/env_macos_arm64_xcode_ub.cmake +++ /dev/null @@ -1 +0,0 @@ -set(ENV{CMAKE_OSX_ARCHITECTURES} "arm64;x86_64") diff --git a/.gitlab/ci/env_macos_x86_64_makefiles.sh b/.gitlab/ci/env_macos_x86_64_makefiles.sh deleted file mode 100644 index 7496372b9a..0000000000 --- a/.gitlab/ci/env_macos_x86_64_makefiles.sh +++ /dev/null @@ -1,4 +0,0 @@ -. .gitlab/ci/openmp-env.sh -if test "$CMAKE_CI_NIGHTLY" = "true"; then - source .gitlab/ci/ispc-env.sh -fi diff --git a/.gitlab/ci/env_macos_x86_64_ninja.sh b/.gitlab/ci/env_macos_x86_64_ninja.sh deleted file mode 100644 index 7496372b9a..0000000000 --- a/.gitlab/ci/env_macos_x86_64_ninja.sh +++ /dev/null @@ -1,4 +0,0 @@ -. .gitlab/ci/openmp-env.sh -if test "$CMAKE_CI_NIGHTLY" = "true"; then - source .gitlab/ci/ispc-env.sh -fi diff --git a/.gitlab/ci/env_macos_x86_64_ninja_ub.cmake b/.gitlab/ci/env_macos_x86_64_ninja_ub.cmake deleted file mode 100644 index 4b5c401ef9..0000000000 --- a/.gitlab/ci/env_macos_x86_64_ninja_ub.cmake +++ /dev/null @@ -1 +0,0 @@ -set(ENV{CMAKE_OSX_ARCHITECTURES} "x86_64;arm64") diff --git a/.gitlab/ci/env_mingw_osdn_io_mingw_makefiles.ps1 b/.gitlab/ci/env_mingw_osdn_io_mingw_makefiles.ps1 deleted file mode 100644 index f6e1f0a3fb..0000000000 --- a/.gitlab/ci/env_mingw_osdn_io_mingw_makefiles.ps1 +++ /dev/null @@ -1 +0,0 @@ -. .gitlab/ci/mingw-env.ps1 diff --git a/.gitlab/ci/env_mingw_osdn_io_msys_makefiles.ps1 b/.gitlab/ci/env_mingw_osdn_io_msys_makefiles.ps1 deleted file mode 100644 index f6e1f0a3fb..0000000000 --- a/.gitlab/ci/env_mingw_osdn_io_msys_makefiles.ps1 +++ /dev/null @@ -1 +0,0 @@ -. .gitlab/ci/mingw-env.ps1 diff --git a/.gitlab/ci/env_nvhpc_ninja.sh b/.gitlab/ci/env_nvhpc_ninja.sh deleted file mode 100644 index 687403d096..0000000000 --- a/.gitlab/ci/env_nvhpc_ninja.sh +++ /dev/null @@ -1,5 +0,0 @@ -export CC=nvc -export CXX=nvc++ -export FC=nvfortran -export CUDACXX=nvcc -export CUDAHOSTCXX=nvc++ diff --git a/.gitlab/ci/env_windows_arm64_package.ps1 b/.gitlab/ci/env_windows_arm64_package.ps1 deleted file mode 100644 index 74c9c2badf..0000000000 --- a/.gitlab/ci/env_windows_arm64_package.ps1 +++ /dev/null @@ -1 +0,0 @@ -. .gitlab/ci/wix4-env.ps1 diff --git a/.gitlab/ci/env_windows_arm64_vs2022_ninja.ps1 b/.gitlab/ci/env_windows_arm64_vs2022_ninja.ps1 deleted file mode 100644 index eb7bf6e873..0000000000 --- a/.gitlab/ci/env_windows_arm64_vs2022_ninja.ps1 +++ /dev/null @@ -1,2 +0,0 @@ -& "$pwsh" -File .gitlab/ci/wix3.ps1 -& "$pwsh" -File .gitlab/ci/wix4.ps1 diff --git a/.gitlab/ci/env_windows_borland5.5.ps1 b/.gitlab/ci/env_windows_borland5.5.ps1 deleted file mode 100644 index 0d2e46b67f..0000000000 --- a/.gitlab/ci/env_windows_borland5.5.ps1 +++ /dev/null @@ -1 +0,0 @@ -. .gitlab/ci/borland-env.ps1 diff --git a/.gitlab/ci/env_windows_borland5.8.ps1 b/.gitlab/ci/env_windows_borland5.8.ps1 deleted file mode 100644 index 0d2e46b67f..0000000000 --- a/.gitlab/ci/env_windows_borland5.8.ps1 +++ /dev/null @@ -1 +0,0 @@ -. .gitlab/ci/borland-env.ps1 diff --git a/.gitlab/ci/env_windows_clang_ninja.ps1 b/.gitlab/ci/env_windows_clang_ninja.ps1 deleted file mode 100644 index 17002ef4c9..0000000000 --- a/.gitlab/ci/env_windows_clang_ninja.ps1 +++ /dev/null @@ -1,2 +0,0 @@ -. .gitlab/ci/ninja-env.ps1 -. .gitlab/ci/clang-env.ps1 diff --git a/.gitlab/ci/env_windows_clang_nmake.ps1 b/.gitlab/ci/env_windows_clang_nmake.ps1 deleted file mode 100644 index 89fa360cb8..0000000000 --- a/.gitlab/ci/env_windows_clang_nmake.ps1 +++ /dev/null @@ -1 +0,0 @@ -. .gitlab/ci/clang-env.ps1 diff --git a/.gitlab/ci/env_windows_i386_package.ps1 b/.gitlab/ci/env_windows_i386_package.ps1 deleted file mode 100644 index 74c9c2badf..0000000000 --- a/.gitlab/ci/env_windows_i386_package.ps1 +++ /dev/null @@ -1 +0,0 @@ -. .gitlab/ci/wix4-env.ps1 diff --git a/.gitlab/ci/env_windows_intelclassic_ninja.ps1 b/.gitlab/ci/env_windows_intelclassic_ninja.ps1 deleted file mode 100644 index 99f83b9cf1..0000000000 --- a/.gitlab/ci/env_windows_intelclassic_ninja.ps1 +++ /dev/null @@ -1,9 +0,0 @@ -. .gitlab/ci/ninja-env.ps1 -. .gitlab/ci/intel-env.ps1 - -$env:CC = "icl" -$env:CXX = "icl" -$env:FC = "ifort" - -cmd /c "icl 2>&1" | Select -First 1 -cmd /c "ifort 2>&1" | Select -First 1 diff --git a/.gitlab/ci/env_windows_inteloneapi_ninja.ps1 b/.gitlab/ci/env_windows_inteloneapi_ninja.ps1 deleted file mode 100644 index 3bd1d46b48..0000000000 --- a/.gitlab/ci/env_windows_inteloneapi_ninja.ps1 +++ /dev/null @@ -1,9 +0,0 @@ -. .gitlab/ci/ninja-env.ps1 -. .gitlab/ci/intel-env.ps1 - -$env:CC = "icx" -$env:CXX = "icx" -$env:FC = "ifx" - -cmd /c "icx 2>&1" | Select -First 1 -cmd /c "ifx 2>&1" | Select -First 1 diff --git a/.gitlab/ci/env_windows_msvc_v71_nmake.ps1 b/.gitlab/ci/env_windows_msvc_v71_nmake.ps1 deleted file mode 100644 index cb3806d1ca..0000000000 --- a/.gitlab/ci/env_windows_msvc_v71_nmake.ps1 +++ /dev/null @@ -1,2 +0,0 @@ -Invoke-Expression -Command .gitlab/ci/msvc.ps1 -Invoke-Expression -Command .gitlab/ci/vcvarsall.ps1 diff --git a/.gitlab/ci/env_windows_openwatcom1.9.ps1 b/.gitlab/ci/env_windows_openwatcom1.9.ps1 deleted file mode 100644 index 49c28f7a20..0000000000 --- a/.gitlab/ci/env_windows_openwatcom1.9.ps1 +++ /dev/null @@ -1 +0,0 @@ -. .gitlab/ci/openwatcom-env.ps1 diff --git a/.gitlab/ci/env_windows_orangec6.73.1.ps1 b/.gitlab/ci/env_windows_orangec6.73.1.ps1 deleted file mode 100644 index 96e36a1805..0000000000 --- a/.gitlab/ci/env_windows_orangec6.73.1.ps1 +++ /dev/null @@ -1,2 +0,0 @@ -. .gitlab/ci/ninja-env.ps1 -. .gitlab/ci/orangec-env.ps1 diff --git a/.gitlab/ci/env_windows_vs2022_x64.ps1 b/.gitlab/ci/env_windows_vs2022_x64.ps1 deleted file mode 100644 index 42aec1132d..0000000000 --- a/.gitlab/ci/env_windows_vs2022_x64.ps1 +++ /dev/null @@ -1,4 +0,0 @@ -if ("$env:CMAKE_CI_NIGHTLY" -eq "true") { - $cmake = "build\install\bin\cmake" - . ".gitlab/ci/qt-env.ps1" -} diff --git a/.gitlab/ci/env_windows_vs2022_x64_jom.ps1 b/.gitlab/ci/env_windows_vs2022_x64_jom.ps1 deleted file mode 100644 index c933421d3a..0000000000 --- a/.gitlab/ci/env_windows_vs2022_x64_jom.ps1 +++ /dev/null @@ -1,4 +0,0 @@ -Invoke-Expression -Command .gitlab/ci/jom.ps1 -$pwdpath = $pwd.Path -Set-Item -Force -Path "env:PATH" -Value "$pwdpath\.gitlab\jom;$env:PATH" -Invoke-Expression -Command .gitlab/ci/vcvarsall.ps1 diff --git a/.gitlab/ci/env_windows_vs2022_x64_ninja.ps1 b/.gitlab/ci/env_windows_vs2022_x64_ninja.ps1 deleted file mode 100644 index 8ba594401a..0000000000 --- a/.gitlab/ci/env_windows_vs2022_x64_ninja.ps1 +++ /dev/null @@ -1,14 +0,0 @@ -if ("$env:CMAKE_CI_NIGHTLY" -eq "true") { - if ("$env:CI_JOB_STAGE" -ne "build") { - # As a special case, we do not actually fetch IAR tooling - # in the build job. It is not used until the test job. - . ".gitlab/ci/iar-env.ps1" - } - . ".gitlab/ci/innosetup-env.ps1" - . ".gitlab/ci/ispc-env.ps1" - . ".gitlab/ci/nuget-env.ps1" - . ".gitlab/ci/swift-env.ps1" -} - -& "$pwsh" -File .gitlab/ci/wix3.ps1 -& "$pwsh" -File .gitlab/ci/wix4.ps1 diff --git a/.gitlab/ci/env_windows_vs2022_x64_ninja_multi.ps1 b/.gitlab/ci/env_windows_vs2022_x64_ninja_multi.ps1 deleted file mode 100644 index ee6e46dd30..0000000000 --- a/.gitlab/ci/env_windows_vs2022_x64_ninja_multi.ps1 +++ /dev/null @@ -1,8 +0,0 @@ -if ("$env:CMAKE_CI_NIGHTLY" -eq "true") { - . ".gitlab/ci/iar-env.ps1" - . ".gitlab/ci/ispc-env.ps1" -} - -. .gitlab/ci/ninja-env.ps1 - -Invoke-Expression -Command .gitlab/ci/vcvarsall.ps1 diff --git a/.gitlab/ci/env_windows_vs2022_x64_nmake.ps1 b/.gitlab/ci/env_windows_vs2022_x64_nmake.ps1 deleted file mode 100644 index 62463cd98c..0000000000 --- a/.gitlab/ci/env_windows_vs2022_x64_nmake.ps1 +++ /dev/null @@ -1 +0,0 @@ -Invoke-Expression -Command .gitlab/ci/vcvarsall.ps1 diff --git a/.gitlab/ci/env_windows_x86_64_package.ps1 b/.gitlab/ci/env_windows_x86_64_package.ps1 deleted file mode 100644 index 74c9c2badf..0000000000 --- a/.gitlab/ci/env_windows_x86_64_package.ps1 +++ /dev/null @@ -1 +0,0 @@ -. .gitlab/ci/wix4-env.ps1 diff --git a/.gitlab/ci/extdeps-linux.sh b/.gitlab/ci/extdeps-linux.sh deleted file mode 100755 index f091525b8f..0000000000 --- a/.gitlab/ci/extdeps-linux.sh +++ /dev/null @@ -1,81 +0,0 @@ -#!/bin/sh - -set -e - -mkdir -p /opt/extdeps/src -cd /opt/extdeps/src -export PATH=/opt/extdeps/bin:$PATH - -#---------------------------------------------------------------------------- -# cmake - -case "$(uname -s)-$(uname -m)" in - Linux-x86_64) - cmake_version="3.13.5" - cmake_sha256sum="e2fd0080a6f0fc1ec84647acdcd8e0b4019770f48d83509e6a5b0b6ea27e5864" - cmake_platform="Linux-x86_64" - ;; - Linux-aarch64) - cmake_version="3.19.8" - cmake_sha256sum="807f5afb2a560e00af9640e496d5673afefc2888bf0ed076412884a5ebb547a1" - cmake_platform="Linux-aarch64" - ;; - *) - echo "Unrecognized platform $(uname -s)-$(uname -m)" - exit 1 - ;; -esac -readonly shatool -readonly cmake_sha256sum -readonly cmake_platform - -readonly cmake_filename="cmake-$cmake_version-$cmake_platform" -readonly cmake_tarball="$cmake_filename.tar.gz" - -echo "$cmake_sha256sum $cmake_tarball" > cmake.sha256sum -curl -OL "https://github.com/Kitware/CMake/releases/download/v$cmake_version/$cmake_tarball" -sha256sum --check cmake.sha256sum -tar xzf "$cmake_tarball" -C /opt/extdeps --strip-components=1 -rm -f "$cmake_tarball" cmake.sha256sum - -#---------------------------------------------------------------------------- -# libuv - -curl -L -o libuv-1.28.0.tar.gz https://github.com/libuv/libuv/archive/refs/tags/v1.28.0.tar.gz -tar xzf libuv-1.28.0.tar.gz -cmake -S libuv-1.28.0 -B libuv-1.28.0-build \ - -DCMAKE_INSTALL_PREFIX=/opt/extdeps -cmake --build libuv-1.28.0-build --target install -rm -rf libuv-1.28.0* - -#---------------------------------------------------------------------------- -# jsoncpp - -curl -L -o jsoncpp-1.6.0.tar.gz https://github.com/open-source-parsers/jsoncpp/archive/refs/tags/1.6.0.tar.gz -tar xzf jsoncpp-1.6.0.tar.gz -cmake -S jsoncpp-1.6.0 -B jsoncpp-1.6.0-build \ - -DCMAKE_BUILD_TYPE=Release \ - -DJSONCPP_LIB_BUILD_STATIC=ON \ - -DJSONCPP_LIB_BUILD_SHARED=ON \ - -DJSONCPP_WITH_CMAKE_PACKAGE=ON \ - -DCMAKE_INSTALL_PREFIX=/opt/extdeps -cmake --build jsoncpp-1.6.0-build --target install -echo >> /opt/extdeps/lib/cmake/jsoncpp/jsoncppConfig.cmake ' -# Backport imported target from jsoncpp 1.9.5. -add_library(JsonCpp::JsonCpp INTERFACE IMPORTED) -set_target_properties(JsonCpp::JsonCpp PROPERTIES INTERFACE_LINK_LIBRARIES "jsoncpp_lib")' -rm -rf jsoncpp-1.6.0* - -#---------------------------------------------------------------------------- -# cppdap - -git clone https://github.com/google/cppdap.git -cd cppdap -git checkout 03cc18678ed2ed8b2424ec99dee7e4655d876db5 # 2023-05-25 -cd .. -cmake -S cppdap -B cppdap-build \ - -DCPPDAP_USE_EXTERNAL_JSONCPP_PACKAGE=ON \ - -DCMAKE_INSTALL_PREFIX=/opt/extdeps \ - -DCMAKE_PREFIX_PATH=/opt/extdeps -cmake --build cppdap-build --target install -rm -rf cppdap* diff --git a/.gitlab/ci/gitlab_ci.cmake b/.gitlab/ci/gitlab_ci.cmake deleted file mode 100644 index d0d4a59dd9..0000000000 --- a/.gitlab/ci/gitlab_ci.cmake +++ /dev/null @@ -1,84 +0,0 @@ -if (NOT DEFINED "ENV{GITLAB_CI}") - message(FATAL_ERROR - "This script assumes it is being run inside of GitLab-CI") -endif () - -# Set up the source and build paths. -set(CTEST_SOURCE_DIRECTORY "$ENV{CI_PROJECT_DIR}") -if("$ENV{CMAKE_CI_IN_SYMLINK_TREE}") - set(CTEST_SOURCE_DIRECTORY "$ENV{CI_PROJECT_DIR}/work/cmake") -endif() -if("$ENV{CMAKE_CI_INPLACE}") - set(CTEST_BINARY_DIRECTORY "${CTEST_SOURCE_DIRECTORY}") -elseif("$ENV{CMAKE_CI_IN_SYMLINK_TREE}") - set(CTEST_BINARY_DIRECTORY "$ENV{CI_PROJECT_DIR}/work/build") -else() - set(CTEST_BINARY_DIRECTORY "${CTEST_SOURCE_DIRECTORY}/build") -endif() -if (NOT "$ENV{CTEST_SOURCE_SUBDIRECTORY}" STREQUAL "") - string(APPEND CTEST_SOURCE_DIRECTORY "/$ENV{CTEST_SOURCE_SUBDIRECTORY}") -endif () - -if ("$ENV{CMAKE_CONFIGURATION}" STREQUAL "") - message(FATAL_ERROR - "The CMAKE_CONFIGURATION environment variable is required to know what " - "cache initialization file to use.") -endif () - -# Set the build metadata. -if(NOT "$ENV{CMAKE_CI_BUILD_NAME}" STREQUAL "") - set(CTEST_BUILD_NAME "$ENV{CI_PROJECT_NAME}-$ENV{CMAKE_CI_BUILD_NAME}") -else() - set(CTEST_BUILD_NAME "$ENV{CI_PROJECT_NAME}-$ENV{CMAKE_CONFIGURATION}") -endif() -set(CTEST_SITE "gitlab-ci") -set(ctest_model "Experimental") - -# Default to Release builds. -if (NOT "$ENV{CMAKE_CI_BUILD_TYPE}" STREQUAL "") - set(CTEST_BUILD_CONFIGURATION "$ENV{CMAKE_CI_BUILD_TYPE}") -endif () -if (NOT CTEST_BUILD_CONFIGURATION) - set(CTEST_BUILD_CONFIGURATION "Release") -endif () -set(CTEST_CONFIGURATION_TYPE "${CTEST_BUILD_CONFIGURATION}") - -# Default to using Ninja. -if (NOT "$ENV{CMAKE_GENERATOR}" STREQUAL "") - set(CTEST_CMAKE_GENERATOR "$ENV{CMAKE_GENERATOR}") -endif () -if (NOT CTEST_CMAKE_GENERATOR) - set(CTEST_CMAKE_GENERATOR "Ninja") -endif () - -# Set the toolset and platform if requested. -if (NOT "$ENV{CMAKE_GENERATOR_PLATFORM}" STREQUAL "") - set(CTEST_CMAKE_GENERATOR_PLATFORM "$ENV{CMAKE_GENERATOR_PLATFORM}") -endif () -if (NOT "$ENV{CMAKE_GENERATOR_TOOLSET}" STREQUAL "") - set(CTEST_CMAKE_GENERATOR_TOOLSET "$ENV{CMAKE_GENERATOR_TOOLSET}") -endif () - -# Determine the group to submit to. -set(ctest_group "Experimental") -if (NOT "$ENV{CI_MERGE_REQUEST_ID}" STREQUAL "") - set(ctest_group "merge-requests") -elseif (NOT "$ENV{CMAKE_CI_PROJECT_CONTINUOUS_BRANCH}" STREQUAL "" AND "$ENV{CMAKE_CI_PROJECT_CONTINUOUS_BRANCH}" STREQUAL "$ENV{CI_COMMIT_BRANCH}" AND NOT "$ENV{CMAKE_CI_JOB_CONTINUOUS}" STREQUAL "") - set(ctest_model "Continuous") - if (NOT "$ENV{CMAKE_CI_JOB_HELP}" STREQUAL "") - set(ctest_group "Continuous Help") - else() - set(ctest_group "Continuous") - endif() - string(PREPEND CTEST_BUILD_NAME "continuous-") -elseif (NOT "$ENV{CMAKE_CI_NIGHTLY}" STREQUAL "") - set(ctest_model "Nightly") - set(ctest_group "Nightly Expected") - string(PREPEND CTEST_BUILD_NAME "nightly-") -elseif ("$ENV{CI_PROJECT_PATH}" STREQUAL "cmake/cmake") - if ("$ENV{CI_COMMIT_REF_NAME}" STREQUAL "master") - set(ctest_group "master") - elseif ("$ENV{CI_COMMIT_REF_NAME}" STREQUAL "release") - set(ctest_group "release") - endif () -endif () diff --git a/.gitlab/ci/iar-env.ps1 b/.gitlab/ci/iar-env.ps1 deleted file mode 100644 index 727ebed281..0000000000 --- a/.gitlab/ci/iar-env.ps1 +++ /dev/null @@ -1,15 +0,0 @@ -$pwdpath = $pwd.Path -& "$pwsh" -File ".gitlab/ci/iar.ps1" -Set-Item -Force -Path "env:IAR_LMS_SETTINGS_DIR" -Value "$pwdpath\.gitlab\iar\license" -$exes = Get-Item -Path "$pwdpath\.gitlab\iar\*\*\bin\icc*.exe" -$exes | ForEach-Object { Write-Host $_.FullName } - -if ($env:CMAKE_CI_IAR_LICENSE_SERVER) { - $llms = Get-Item -Path "$pwdpath\.gitlab\iar\*\common\bin\lightlicensemanager.exe" - foreach ($llm in $llms) { - &$llm.FullName setup --host "$env:CMAKE_CI_IAR_LICENSE_SERVER" - } - foreach ($exe in $exes) { - &$exe.FullName --version - } -} diff --git a/.gitlab/ci/iar-env.sh b/.gitlab/ci/iar-env.sh deleted file mode 100644 index 29246a1f1e..0000000000 --- a/.gitlab/ci/iar-env.sh +++ /dev/null @@ -1,32 +0,0 @@ -files=' -bxarm-9.50.2.deb -bxavr-8.10.2.deb -bxrh850-3.10.2.deb -bxriscv-3.30.1.deb -bxrl78-5.10.3.deb -bxrx-5.10.1.deb -' -for f in $files; do - # This URL is only visible inside of Kitware's network. - curl -OJLs https://cmake.org/files/dependencies/internal/iar/$f -done - -echo ' -cb6a276ace472939fbb76fc5ce517149296ac2c87047b59504f9fe95aed81794 bxarm-9.50.2.deb -4a1065291952a23a8bfbbaa4eb36ca49b0af8653b8faab34ce955d9d48d64506 bxavr-8.10.2.deb -b14085a0f21750c58168125d3cece2e3fcbd4c6495c652b5e65b6637bac0ac31 bxrh850-3.10.2.deb -517e18dffdd4345f97c480b5128c7feea25ec1c3f06e62d8e2e6808c401d514a bxriscv-3.30.1.deb -3deca7f6afd5f47684464ad748334ab0690097a109d9c680603450074fc32ccf bxrl78-5.10.3.deb -260e592c48cbaf902b13bdb2feeeba83068978131fcb5c027dab17e715dec7e7 bxrx-5.10.1.deb -' > bxdebs.sha256sum -sha256sum --check bxdebs.sha256sum - -dpkg -i bx*.deb -rm bx*.deb bxdebs.sha256sum - -find /opt/iarsystems -executable -wholename "*bin/icc*" - -if test -n "$CMAKE_CI_IAR_LICENSE_SERVER"; then - find /opt/iarsystems -executable -wholename '*bin/lightlicensemanager' -exec {} setup --host "$CMAKE_CI_IAR_LICENSE_SERVER" ';' - find /opt/iarsystems -executable -wholename "*bin/icc*" -exec {} --version ';' -fi diff --git a/.gitlab/ci/iar.ps1 b/.gitlab/ci/iar.ps1 deleted file mode 100644 index d71dd0aec2..0000000000 --- a/.gitlab/ci/iar.ps1 +++ /dev/null @@ -1,30 +0,0 @@ -$erroractionpreference = "stop" -$ProgressPreference = 'SilentlyContinue' -Add-Type -AssemblyName System.IO.Compression.FileSystem - -$outdir = $pwd.Path -$outdir = "$outdir\.gitlab" -$iar_dir = New-Item -Force -ItemType Directory -Path "$outdir\iar" - -$files = @{ - "bxarm-9.50.2.71951-1.zip" = "8A1C16673CEDF95DB94214159EADF06E86E66FA177149D0F379AACA88E26BC15" - "BXAVR-8102-1.zip" = "862EFD23531854506070D5647F9B32197B80E5A727304BFBD8E386A3DAADF093" - "BXRH850-3102-1.zip" = "8D1D009A0D138C7CA8431316123CB85CE1B41319A68B997F90D2E338CD469C7F" - "BXRISCV-3301-1.zip" = "59FF23F7B98EE72567A23942DE799AF137791A19BFEC102B2A59821FABBCA55A" - "BXRL78-5103-1.zip" = "00398E7197735A7B0A4310BF906808E883548814475C12D6EF2C03388F77E6A7" - "BXRX-5101-1.zip" = "D63E95ECD454B4998946C2D9DC1CB6CEF69CE15524C11A123263E6A8E88D9899" -} - -foreach ($f in $files.GetEnumerator()) { - $tarball = $f.Name - - # This URL is only visible inside of Kitware's network. - Invoke-WebRequest -Uri "https://cmake.org/files/dependencies/internal/iar/$tarball" -OutFile "$outdir\$tarball" - $hash = Get-FileHash "$outdir\$tarball" -Algorithm SHA256 - if ($hash.Hash -ne $f.Value) { - exit 1 - } - - [System.IO.Compression.ZipFile]::ExtractToDirectory("$outdir\$tarball", "$iar_dir") - Remove-Item "$outdir\$tarball" -} diff --git a/.gitlab/ci/innosetup-env.ps1 b/.gitlab/ci/innosetup-env.ps1 deleted file mode 100644 index 96e9d8c322..0000000000 --- a/.gitlab/ci/innosetup-env.ps1 +++ /dev/null @@ -1,4 +0,0 @@ -$pwdpath = $pwd.Path -& "$pwsh" -File ".gitlab/ci/innosetup.ps1" -Set-Item -Force -Path "env:PATH" -Value "$pwdpath\.gitlab\innosetup;$env:PATH" -ISCC 2>$null | Select -First 1 diff --git a/.gitlab/ci/innosetup.ps1 b/.gitlab/ci/innosetup.ps1 deleted file mode 100644 index a7f4eb31c3..0000000000 --- a/.gitlab/ci/innosetup.ps1 +++ /dev/null @@ -1,20 +0,0 @@ -$erroractionpreference = "stop" - -$version = "6.2.2-1" -$sha256sum = "34D5311070678617424628A88C8A7F7BE41157B1A59112F9DFDA1D7EFD4469CC" -$filename = "innosetup-$version" -$tarball = "$filename.zip" - -$outdir = $pwd.Path -$outdir = "$outdir\.gitlab" -$ProgressPreference = 'SilentlyContinue' -Invoke-WebRequest -Uri "https://cmake.org/files/dependencies/internal/$tarball" -OutFile "$outdir\$tarball" -$hash = Get-FileHash "$outdir\$tarball" -Algorithm SHA256 -if ($hash.Hash -ne $sha256sum) { - exit 1 -} - -Add-Type -AssemblyName System.IO.Compression.FileSystem -[System.IO.Compression.ZipFile]::ExtractToDirectory("$outdir\$tarball", "$outdir") -Move-Item -Path "$outdir\$filename" -Destination "$outdir\innosetup" -Remove-Item "$outdir\$tarball" diff --git a/.gitlab/ci/intel-env.ps1 b/.gitlab/ci/intel-env.ps1 deleted file mode 100644 index 75f7286381..0000000000 --- a/.gitlab/ci/intel-env.ps1 +++ /dev/null @@ -1,4 +0,0 @@ -$pwdpath = $pwd.Path -& "$pwsh" -File ".gitlab/ci/intel.ps1" -Invoke-Expression -Command .gitlab/ci/vcvarsall.ps1 -Invoke-Expression -Command .gitlab/ci/intel-vars.ps1 diff --git a/.gitlab/ci/intel-vars.ps1 b/.gitlab/ci/intel-vars.ps1 deleted file mode 100644 index dde0aa26ea..0000000000 --- a/.gitlab/ci/intel-vars.ps1 +++ /dev/null @@ -1,9 +0,0 @@ -$erroractionpreference = "stop" - -cmd /c "`".gitlab\intel\setvars.bat`" & set" | -foreach { - if ($_ -match "=") { - $v = $_.split("=") - [Environment]::SetEnvironmentVariable($v[0], $v[1]) - } -} diff --git a/.gitlab/ci/intel.ps1 b/.gitlab/ci/intel.ps1 deleted file mode 100644 index 171e6a7fd6..0000000000 --- a/.gitlab/ci/intel.ps1 +++ /dev/null @@ -1,58 +0,0 @@ -$erroractionpreference = "stop" - -if ("$env:CMAKE_CI_BUILD_NAME" -match "(^|_)(oneapi2024\.1\.0)(_|$)") { - # Intel oneAPI 2024.1.0 - $version = "2024.1.0" - $version_dir = "2024.1" - $bin_dir = "bin" - $llvm_dir = "bin\compiler" - $filename = "intel-oneapi-$version-windows-1" - $sha256sum = "CB6857C08CD815722913358EC495AA575C2EED730646098A6CF7178E55FA7323" -} elseif ("$env:CMAKE_CI_BUILD_NAME" -match "(^|_)(intel2021\.9\.0)(_|$)") { - # Intel oneAPI 2023.1.0 - $version = "2023.1.0" - $version_dir = "2023.1.0" - $bin_dir = "windows\bin" - $llvm_dir = "windows\bin-llvm" - $filename = "intel-oneapi-$version-windows-1" - $sha256sum = "5AFCA9E0B03894565209B1295476163ABEBB1F1388E0F3EF5B4D0F9189E65BDC" -} else { - throw ('unknown CMAKE_CI_BUILD_NAME: ' + "$env:CMAKE_CI_BUILD_NAME") -} -$tarball = "$filename.zip" - -$outdir = $pwd.Path -$outdir = "$outdir\.gitlab" -$ProgressPreference = 'SilentlyContinue' -# This URL is only visible inside of Kitware's network. See above filename table. -Invoke-WebRequest -Uri "https://cmake.org/files/dependencies/internal/$tarball" -OutFile "$outdir\$tarball" -$hash = Get-FileHash "$outdir\$tarball" -Algorithm SHA256 -if ($hash.Hash -ne $sha256sum) { - exit 1 -} - -Add-Type -AssemblyName System.IO.Compression.FileSystem -[System.IO.Compression.ZipFile]::ExtractToDirectory("$outdir\$tarball", "$outdir") -Move-Item -Path "$outdir\$filename" -Destination "$outdir\intel" -Remove-Item "$outdir\$tarball" - -$compiler = "$outdir\intel\compiler" -$bin = "$compiler\$version_dir\$bin_dir" -$null = New-Item -ItemType Junction -Path "$compiler\latest" -Target "$compiler\$version_dir" -$null = New-Item -ItemType HardLink -Path "$bin\icx-cl.exe" -Target "$bin\icx.exe" -$null = New-Item -ItemType HardLink -Path "$bin\icx-cc.exe" -Target "$bin\icx.exe" -$null = New-Item -ItemType HardLink -Path "$bin\icpx.exe" -Target "$bin\icx.exe" -$bin = "$compiler\$version_dir\$llvm_dir" -$null = New-Item -ItemType HardLink -Path "$bin\clang-cl.exe" -Target "$bin\clang.exe" -$null = New-Item -ItemType HardLink -Path "$bin\clang-cpp.exe" -Target "$bin\clang.exe" -$null = New-Item -ItemType HardLink -Path "$bin\clang++.exe" -Target "$bin\clang.exe" -$null = New-Item -ItemType HardLink -Path "$bin\lld-link.exe" -Target "$bin\lld.exe" -$null = New-Item -ItemType HardLink -Path "$bin\ld.lld.exe" -Target "$bin\lld.exe" -$null = New-Item -ItemType HardLink -Path "$bin\llvm-lib.exe" -Target "$bin\llvm-ar.exe" -Clear-Variable -Name bin -Clear-Variable -Name compiler - -Clear-Variable -Name llvm_dir -Clear-Variable -Name bin_dir -Clear-Variable -Name version_dir -Clear-Variable -Name version diff --git a/.gitlab/ci/ispc-env.ps1 b/.gitlab/ci/ispc-env.ps1 deleted file mode 100644 index 816c485c50..0000000000 --- a/.gitlab/ci/ispc-env.ps1 +++ /dev/null @@ -1,4 +0,0 @@ -$pwdpath = $pwd.Path -& "$pwsh" -File ".gitlab/ci/ispc.ps1" -Set-Item -Force -Path "env:PATH" -Value "$pwdpath\.gitlab\ispc\bin;$env:PATH" -ispc --version diff --git a/.gitlab/ci/ispc-env.sh b/.gitlab/ci/ispc-env.sh deleted file mode 100644 index 31a4494d0a..0000000000 --- a/.gitlab/ci/ispc-env.sh +++ /dev/null @@ -1,3 +0,0 @@ -.gitlab/ci/ispc.sh -export PATH=$PWD/.gitlab/ispc/bin:$PATH -ispc --version diff --git a/.gitlab/ci/ispc.ps1 b/.gitlab/ci/ispc.ps1 deleted file mode 100644 index d390061bbd..0000000000 --- a/.gitlab/ci/ispc.ps1 +++ /dev/null @@ -1,20 +0,0 @@ -$erroractionpreference = "stop" - -$version = "1.20.0" -$sha256sum = "E212EBFB4E8AFB57ADC103A2579C52673A3CA49610FBC2A5EAE643D3D378548D" -$filename = "ispc-v$version-windows" -$tarball = "$filename.zip" - -$outdir = $pwd.Path -$outdir = "$outdir\.gitlab" -$ProgressPreference = 'SilentlyContinue' -Invoke-WebRequest -Uri "https://github.com/ispc/ispc/releases/download/v$version/$tarball" -OutFile "$outdir\$tarball" -$hash = Get-FileHash "$outdir\$tarball" -Algorithm SHA256 -if ($hash.Hash -ne $sha256sum) { - exit 1 -} - -Add-Type -AssemblyName System.IO.Compression.FileSystem -[System.IO.Compression.ZipFile]::ExtractToDirectory("$outdir\$tarball", "$outdir") -Move-Item -Path "$outdir\$filename" -Destination "$outdir\ispc" -Remove-Item "$outdir\$tarball" diff --git a/.gitlab/ci/ispc.sh b/.gitlab/ci/ispc.sh deleted file mode 100755 index 7728c3250d..0000000000 --- a/.gitlab/ci/ispc.sh +++ /dev/null @@ -1,42 +0,0 @@ -#!/bin/sh - -set -e - -readonly version="1.20.0" - -case "$(uname -s)-$(uname -m)" in - Linux-x86_64) - shatool="sha256sum" - sha256sum="e6412b88aa312fcd10c46f92df0149ccc4d99e53552c4ce127aa6c634fe9b308" - platform="linux" - ;; - Darwin-arm64) - shatool="shasum -a 256" - sha256sum="c423a5a88d7a9a6ed667e41d025801c123fa0c5fd384d4ea138fa1fcf2bc24c9" - platform="macOS.arm64" - ;; - Darwin-x86_64) - shatool="shasum -a 256" - sha256sum="e25222d2d6f4f8e3561556ac73f88721ceb5486439d6c2a566d37407ad9a5907" - platform="macOS.x86_64" - ;; - *) - echo "Unrecognized platform $(uname -s)-$(uname -m)" - exit 1 - ;; -esac -readonly shatool -readonly sha256sum -readonly platform - -readonly filename="ispc-v$version-$platform" -readonly tarball="$filename.tar.gz" - -cd .gitlab - -echo "$sha256sum $tarball" > ispc.sha256sum -curl -OL "https://github.com/ispc/ispc/releases/download/v$version/$tarball" -$shatool --check ispc.sha256sum -tar xf "$tarball" -mv "$filename" ispc -rm "$tarball" ispc.sha256sum diff --git a/.gitlab/ci/jom.ps1 b/.gitlab/ci/jom.ps1 deleted file mode 100644 index 430d3232bf..0000000000 --- a/.gitlab/ci/jom.ps1 +++ /dev/null @@ -1,16 +0,0 @@ -$erroractionpreference = "stop" - -$sha256sum = "128FDD846FE24F8594EED37D1D8929A0EA78DF563537C0C1B1861A635013FFF8" -$tarball = "unstable-jom-2018-12-12.zip" - -$outdir = $pwd.Path -$outdir = "$outdir\.gitlab" -$ProgressPreference = 'SilentlyContinue' -Invoke-WebRequest -Uri "https://cmake.org/files/dependencies/$tarball" -OutFile "$outdir\$tarball" -$hash = Get-FileHash "$outdir\$tarball" -Algorithm SHA256 -if ($hash.Hash -ne $sha256sum) { - exit 1 -} - -Expand-Archive -Path "$outdir\$tarball" -DestinationPath "$outdir\jom" -Remove-Item "$outdir\$tarball" diff --git a/.gitlab/ci/mingw-env.ps1 b/.gitlab/ci/mingw-env.ps1 deleted file mode 100644 index d68a7f7d9e..0000000000 --- a/.gitlab/ci/mingw-env.ps1 +++ /dev/null @@ -1,5 +0,0 @@ -$pwdpath = $pwd.Path -& "$pwsh" -File ".gitlab/ci/mingw.ps1" -Set-Item -Force -Path "env:PATH" -Value "$pwdpath\.gitlab\mingw\bin;$pwdpath\.gitlab\mingw\msys\1.0\bin;$env:PATH" -$env:MSYSTEM = 'MINGW32' -$env:MAKE_MODE = 'unix' diff --git a/.gitlab/ci/mingw.ps1 b/.gitlab/ci/mingw.ps1 deleted file mode 100644 index a1b5b110ee..0000000000 --- a/.gitlab/ci/mingw.ps1 +++ /dev/null @@ -1,25 +0,0 @@ -$erroractionpreference = "stop" - -if ("$env:CMAKE_CONFIGURATION".Contains("mingw_osdn_io")) { - $filename = "mingw.osdn.io-2022-10-03" - $sha256sum = "4DCB8C351D8D855F7D3DFC2863A235042BF3DB6E69EA0BAE51FF9378189345CD" -} else { - throw ('unknown CMAKE_CONFIGURATION: ' + "$env:CMAKE_CONFIGURATION") -} -$tarball = "$filename.zip" - -$outdir = $pwd.Path -$outdir = "$outdir\.gitlab" -$ProgressPreference = 'SilentlyContinue' -Invoke-WebRequest -Uri "https://cmake.org/files/dependencies/$tarball" -OutFile "$outdir\$tarball" -$hash = Get-FileHash "$outdir\$tarball" -Algorithm SHA256 -if ($hash.Hash -ne $sha256sum) { - exit 1 -} - -Add-Type -AssemblyName System.IO.Compression.FileSystem -[System.IO.Compression.ZipFile]::ExtractToDirectory("$outdir\$tarball", "$outdir") -Move-Item -Path "$outdir\$filename" -Destination "$outdir\mingw" -Remove-Item "$outdir\$tarball" - -"$outdir/mingw /mingw" -replace '\\', '/' | Out-File -FilePath "$outdir\mingw\msys\1.0\etc\fstab" -Encoding ASCII diff --git a/.gitlab/ci/msvc.ps1 b/.gitlab/ci/msvc.ps1 deleted file mode 100644 index a6b6fbf532..0000000000 --- a/.gitlab/ci/msvc.ps1 +++ /dev/null @@ -1,32 +0,0 @@ -$erroractionpreference = "stop" - -if ("$env:CMAKE_CONFIGURATION".Contains("msvc_v71")) { - # MSVC v71 Toolset from Visual Studio 7 .NET 2003 - $filename = "msvc-v71-1" - $sha256sum = "01637CDC670EA5D631E169E286ACDD1913A124E3C5AF4C3DFB37657ADE8BBA9F" - $vcvars = "Vc7\bin\vcvars32.bat" -} else { - throw ('unknown CMAKE_CONFIGURATION: ' + "$env:CMAKE_CONFIGURATION") -} -$tarball = "$filename.zip" - -$outdir = $pwd.Path -$outdir = "$outdir\.gitlab" -$ProgressPreference = 'SilentlyContinue' -# This URL is only visible inside of Kitware's network. See above filename table. -Invoke-WebRequest -Uri "https://cmake.org/files/dependencies/internal/$tarball" -OutFile "$outdir\$tarball" -$hash = Get-FileHash "$outdir\$tarball" -Algorithm SHA256 -if ($hash.Hash -ne $sha256sum) { - exit 1 -} - -Add-Type -AssemblyName System.IO.Compression.FileSystem -[System.IO.Compression.ZipFile]::ExtractToDirectory("$outdir\$tarball", "$outdir") -Move-Item -Path "$outdir\$filename" -Destination "$outdir\msvc" -Remove-Item "$outdir\$tarball" - -$bat = Get-Content -path "$outdir\msvc\$vcvars.in" -Raw -$bat = $bat -replace "@VS_ROOT@","$outdir\msvc" -$bat | Set-Content -path "$outdir\msvc\$vcvars" - -Set-Item -Force -Path "env:VCVARSALL" -Value "$outdir\msvc\$vcvars" diff --git a/.gitlab/ci/ninja-env.ps1 b/.gitlab/ci/ninja-env.ps1 deleted file mode 100644 index 67c7036e5e..0000000000 --- a/.gitlab/ci/ninja-env.ps1 +++ /dev/null @@ -1,4 +0,0 @@ -$pwdpath = $pwd.Path -& "$pwsh" -File ".gitlab/ci/ninja.ps1" -Set-Item -Force -Path "env:PATH" -Value "$pwdpath\.gitlab;$env:PATH" -Write-Host "ninja version: $(ninja --version)" diff --git a/.gitlab/ci/ninja-env.sh b/.gitlab/ci/ninja-env.sh deleted file mode 100644 index 744b9f3271..0000000000 --- a/.gitlab/ci/ninja-env.sh +++ /dev/null @@ -1,3 +0,0 @@ -.gitlab/ci/ninja.sh -export PATH=$PWD/.gitlab:$PATH -ninja --version diff --git a/.gitlab/ci/ninja-nightly.ps1 b/.gitlab/ci/ninja-nightly.ps1 deleted file mode 100644 index 071b07712c..0000000000 --- a/.gitlab/ci/ninja-nightly.ps1 +++ /dev/null @@ -1,9 +0,0 @@ -$erroractionpreference = "stop" - -Invoke-Expression -Command .gitlab/ci/vcvarsall.ps1 -Set-Location -Path ".gitlab" -git clone https://github.com/ninja-build/ninja.git ninja-src -cmake -S ninja-src -B ninja-src/build -G "NMake Makefiles" -DCMAKE_BUILD_TYPE=Release -cmake --build ninja-src/build --target ninja -Move-Item -Path "ninja-src\build\ninja.exe" -Destination . -Force -Remove-Item "ninja-src" -Recurse -Force diff --git a/.gitlab/ci/ninja-nightly.sh b/.gitlab/ci/ninja-nightly.sh deleted file mode 100755 index 739d1d5870..0000000000 --- a/.gitlab/ci/ninja-nightly.sh +++ /dev/null @@ -1,11 +0,0 @@ -#!/bin/sh - -set -e - -cd .gitlab - -git clone https://github.com/ninja-build/ninja.git ninja-src -cmake -S ninja-src -B ninja-src/build -G "Unix Makefiles" -DCMAKE_BUILD_TYPE=Release -cmake --build ninja-src/build --parallel --target ninja -mv ninja-src/build/ninja . -rm -rf ninja-src diff --git a/.gitlab/ci/ninja.ps1 b/.gitlab/ci/ninja.ps1 deleted file mode 100644 index 81d3f2e513..0000000000 --- a/.gitlab/ci/ninja.ps1 +++ /dev/null @@ -1,33 +0,0 @@ -$erroractionpreference = "stop" - -if ("$env:CMAKE_CI_JOB_NIGHTLY_NINJA" -eq "true" -And "$env:CMAKE_CI_NIGHTLY" -eq "true") { - & .gitlab/ci/ninja-nightly.ps1 - exit $LASTEXITCODE -} - -$version = "1.12.1" - -if ("$env:PROCESSOR_ARCHITECTURE" -eq "AMD64") { - $sha256sum = "F550FEC705B6D6FF58F2DB3C374C2277A37691678D6ABA463ADCBB129108467A" - $filename = "ninja-win" -} elseif ("$env:PROCESSOR_ARCHITECTURE" -eq "ARM64") { - $sha256sum = "79C96A50E0DEAFEC212CFA85AA57C6B74003F52D9D1673DDCD1EAB1C958C5900" - $filename = "ninja-winarm64" -} else { - throw ('unknown PROCESSOR_ARCHITECTURE: ' + "$env:PROCESSOR_ARCHITECTURE") -} - -$tarball = "$filename.zip" - -$outdir = $pwd.Path -$outdir = "$outdir\.gitlab" -$ProgressPreference = 'SilentlyContinue' -Invoke-WebRequest -Uri "https://github.com/ninja-build/ninja/releases/download/v$version/$tarball" -OutFile "$outdir\$tarball" -$hash = Get-FileHash "$outdir\$tarball" -Algorithm SHA256 -if ($hash.Hash -ne $sha256sum) { - exit 1 -} - -Add-Type -AssemblyName System.IO.Compression.FileSystem -[System.IO.Compression.ZipFile]::ExtractToDirectory("$outdir\$tarball", "$outdir") -Remove-Item "$outdir\$tarball" diff --git a/.gitlab/ci/ninja.sh b/.gitlab/ci/ninja.sh deleted file mode 100755 index 530feac1ea..0000000000 --- a/.gitlab/ci/ninja.sh +++ /dev/null @@ -1,44 +0,0 @@ -#!/bin/sh - -set -e - -if test "$CMAKE_CI_JOB_NIGHTLY_NINJA" = "true" -a "$CMAKE_CI_NIGHTLY" = "true"; then - exec .gitlab/ci/ninja-nightly.sh -fi - -readonly version="1.12.1" -baseurl="https://github.com/ninja-build/ninja/releases/download/v$version" - -case "$(uname -s)-$(uname -m)" in - Linux-x86_64) - shatool="sha256sum" - sha256sum="6f98805688d19672bd699fbbfa2c2cf0fc054ac3df1f0e6a47664d963d530255" - filename="ninja-linux" - ;; - Linux-aarch64) - shatool="sha256sum" - sha256sum="5c25c6570b0155e95fce5918cb95f1ad9870df5768653afe128db822301a05a1" - filename="ninja-linux-aarch64" - ;; - Darwin-*) - shatool="shasum -a 256" - sha256sum="89a287444b5b3e98f88a945afa50ce937b8ffd1dcc59c555ad9b1baf855298c9" - filename="ninja-mac" - ;; - *) - echo "Unrecognized platform $(uname -s)-$(uname -m)" - exit 1 - ;; -esac -readonly shatool -readonly sha256sum - -readonly tarball="$filename.zip" - -cd .gitlab - -echo "$sha256sum $tarball" > ninja.sha256sum -curl -OL "$baseurl/$tarball" -$shatool --check ninja.sha256sum -./cmake/bin/cmake -E tar xf "$tarball" -rm "$tarball" ninja.sha256sum diff --git a/.gitlab/ci/nuget-env.ps1 b/.gitlab/ci/nuget-env.ps1 deleted file mode 100644 index 7dee5a0238..0000000000 --- a/.gitlab/ci/nuget-env.ps1 +++ /dev/null @@ -1,4 +0,0 @@ -$pwdpath = $pwd.Path -& "$pwsh" -File ".gitlab/ci/nuget.ps1" -Set-Item -Force -Path "env:PATH" -Value "$pwdpath\.gitlab\nuget;$env:PATH" -nuget | Select -First 1 diff --git a/.gitlab/ci/nuget.ps1 b/.gitlab/ci/nuget.ps1 deleted file mode 100644 index 1decb019d5..0000000000 --- a/.gitlab/ci/nuget.ps1 +++ /dev/null @@ -1,21 +0,0 @@ -$erroractionpreference = "stop" - -$version = "6.9.1.3" -$sha256sum = "562A2CE2D570D68DB4472CB82CDF1FC4245D5C73B84BC8361880CBE389702F65" -$filename = "nuget-$version-win-i386-1" -$tarball = "$filename.zip" - -$outdir = $pwd.Path -$outdir = "$outdir\.gitlab" -$ProgressPreference = 'SilentlyContinue' -# This URL is only visible inside of Kitware's network. -Invoke-WebRequest -Uri "https://cmake.org/files/dependencies/internal/$tarball" -OutFile "$outdir\$tarball" -$hash = Get-FileHash "$outdir\$tarball" -Algorithm SHA256 -if ($hash.Hash -ne $sha256sum) { - exit 1 -} - -Add-Type -AssemblyName System.IO.Compression.FileSystem -[System.IO.Compression.ZipFile]::ExtractToDirectory("$outdir\$tarball", "$outdir") -Move-Item -Path "$outdir\$filename" -Destination "$outdir\nuget" -Remove-Item "$outdir\$tarball" diff --git a/.gitlab/ci/openmp-env.sh b/.gitlab/ci/openmp-env.sh deleted file mode 100644 index 82dac5b914..0000000000 --- a/.gitlab/ci/openmp-env.sh +++ /dev/null @@ -1,3 +0,0 @@ -.gitlab/ci/openmp.sh -export CMAKE_PREFIX_PATH=$PWD/.gitlab/openmp${CMAKE_PREFIX_PATH:+:$CMAKE_PREFIX_PATH} -export DYLD_LIBRARY_PATH=$PWD/.gitlab/openmp/lib${DYLD_LIBRARY_PATH:+:$DYLD_LIBRARY_PATH} diff --git a/.gitlab/ci/openmp.sh b/.gitlab/ci/openmp.sh deleted file mode 100755 index f411338cab..0000000000 --- a/.gitlab/ci/openmp.sh +++ /dev/null @@ -1,32 +0,0 @@ -#!/bin/sh - -set -e - -baseurl="https://cmake.org/files/dependencies/openmp" - -case "$(uname -s)-$(uname -m)" in - Darwin-*) - shatool="shasum -a 256" - sha256sum="6eef660db7a085a04f87e4aac79da9f37d26ff0fb17c8781d3a21bd5244997e9" - filename="openmp-12.0.1-darwin20-Release" - # tarball contains usr/local/ - strip_components=--strip-components=2 - ;; - *) - echo "Unrecognized platform $(uname -s)-$(uname -m)" - exit 1 - ;; -esac -readonly shatool -readonly sha256sum - -readonly tarball="$filename.tar.gz" - -cd .gitlab -mkdir -p openmp - -echo "$sha256sum $tarball" > openmp.sha256sum -curl -OL "$baseurl/$tarball" -$shatool --check openmp.sha256sum -tar -C openmp $strip_components -xzf $tarball -rm $tarball openmp.sha256sum diff --git a/.gitlab/ci/openwatcom-env.ps1 b/.gitlab/ci/openwatcom-env.ps1 deleted file mode 100644 index 14ea523028..0000000000 --- a/.gitlab/ci/openwatcom-env.ps1 +++ /dev/null @@ -1,7 +0,0 @@ -Invoke-Expression -Command .gitlab/ci/openwatcom.ps1 -$pwdpath = $pwd.Path -Set-Item -Force -Path "env:PATH" -Value "$pwdpath\.gitlab\watcom\binnt;$pwdpath\.gitlab\watcom\binw;$env:PATH" -Set-Item -Force -Path "env:INCLUDE" -Value "$pwdpath\.gitlab\watcom\h;$pwdpath\.gitlab\watcom\h\nt" -Set-Item -Force -Path "env:EDPATH" -Value "$pwdpath\.gitlab\watcom\eddat" -Set-Item -Force -Path "env:WATCOM" -Value "$pwdpath\.gitlab\watcom" -Set-Item -Force -Path "env:WLINKTMP" -Value "." diff --git a/.gitlab/ci/openwatcom.ps1 b/.gitlab/ci/openwatcom.ps1 deleted file mode 100644 index eb617c3379..0000000000 --- a/.gitlab/ci/openwatcom.ps1 +++ /dev/null @@ -1,26 +0,0 @@ -$erroractionpreference = "stop" - -if ("$env:CMAKE_CONFIGURATION".Contains("openwatcom1.9")) { - # Open Watcom 1.9 - # https://web.archive.org/web/20210312132437/http://www.openwatcom.org/download.php - $filename = "open-watcom-1.9-1" - $sha256sum = "FFE6F5BBA200912697C6EC26C4D3B2623A0358FBE7CBB23BD264CBF7D54E4988" -} else { - throw ('unknown CMAKE_CONFIGURATION: ' + "$env:CMAKE_CONFIGURATION") -} -$tarball = "$filename.zip" - -$outdir = $pwd.Path -$outdir = "$outdir\.gitlab" -$ProgressPreference = 'SilentlyContinue' -# This URL is only visible inside of Kitware's network. See above filename table. -Invoke-WebRequest -Uri "https://cmake.org/files/dependencies/internal/$tarball" -OutFile "$outdir\$tarball" -$hash = Get-FileHash "$outdir\$tarball" -Algorithm SHA256 -if ($hash.Hash -ne $sha256sum) { - exit 1 -} - -Add-Type -AssemblyName System.IO.Compression.FileSystem -[System.IO.Compression.ZipFile]::ExtractToDirectory("$outdir\$tarball", "$outdir") -Move-Item -Path "$outdir\$filename" -Destination "$outdir\watcom" -Remove-Item "$outdir\$tarball" diff --git a/.gitlab/ci/orangec-env.ps1 b/.gitlab/ci/orangec-env.ps1 deleted file mode 100644 index 3a5d23200b..0000000000 --- a/.gitlab/ci/orangec-env.ps1 +++ /dev/null @@ -1,8 +0,0 @@ -Invoke-Expression -Command .gitlab/ci/orangec.ps1 -$pwdpath = $pwd.Path -Set-Item -Force -Path "env:PATH" -Value "$pwdpath\.gitlab\orangec\bin;$env:PATH" -Set-Item -Force -Path "env:ORANGEC" -Value "$pwdpath\.gitlab\orangec" - -$env:CC = "occ" -$env:CXX = "occ" -occ --version diff --git a/.gitlab/ci/orangec.ps1 b/.gitlab/ci/orangec.ps1 deleted file mode 100644 index 2201e1229d..0000000000 --- a/.gitlab/ci/orangec.ps1 +++ /dev/null @@ -1,24 +0,0 @@ -$erroractionpreference = "stop" - -if ("$env:CMAKE_CONFIGURATION".Contains("orangec6.73.1")) { - # OrangeC 6.73.1 - $archive = "ZippedBinaries6738.zip" - $release = "Orange-C-v6.73.1" - $sha256sum = "29BC506AB105B2BF1002129C37826B2153DF1C8D0F22B9A2C38ACA3FB72A5B89" -} else { - throw ('unknown CMAKE_CONFIGURATION: ' + "$env:CMAKE_CONFIGURATION") -} - -$outdir = $pwd.Path -$outdir = "$outdir\.gitlab" -$ProgressPreference = 'SilentlyContinue' -Invoke-WebRequest -Uri "https://github.com/LADSoft/OrangeC/releases/download/$release/$archive" -OutFile "$outdir\$archive" -$hash = Get-FileHash "$outdir\$archive" -Algorithm SHA256 -if ($hash.Hash -ne $sha256sum) { - exit 1 -} - -Add-Type -AssemblyName System.IO.Compression.FileSystem -[System.IO.Compression.ZipFile]::ExtractToDirectory("$outdir\$archive", "$outdir") -# The archive contains directory 'orangec', placed at '$outdir\orangec'. -Remove-Item "$outdir\$archive" diff --git a/.gitlab/ci/package_info.cmake.in b/.gitlab/ci/package_info.cmake.in deleted file mode 100644 index f9a5bb778b..0000000000 --- a/.gitlab/ci/package_info.cmake.in +++ /dev/null @@ -1 +0,0 @@ -set(CPACK_PACKAGE_FILE_NAME "@CPACK_PACKAGE_FILE_NAME@") diff --git a/.gitlab/ci/package_macos.sh b/.gitlab/ci/package_macos.sh deleted file mode 100644 index 7625c5d48a..0000000000 --- a/.gitlab/ci/package_macos.sh +++ /dev/null @@ -1,12 +0,0 @@ -cd build -cpack -G TGZ -cpack -G DragNDrop - -case "$CMAKE_CI_PACKAGE" in - dev) - ;; - *) - mkdir -p unsigned - mv cmake-*-macos*-universal.* unsigned/ - ;; -esac diff --git a/.gitlab/ci/package_windows.ps1 b/.gitlab/ci/package_windows.ps1 deleted file mode 100644 index 9ec2942eaf..0000000000 --- a/.gitlab/ci/package_windows.ps1 +++ /dev/null @@ -1,7 +0,0 @@ -if (Test-Path -Path "build/ci_package_info.cmake" -PathType Leaf) { - cmake -P .gitlab/ci/package_windows_build.cmake -} else { - cd build - cpack -G ZIP - cpack -G WIX -} diff --git a/.gitlab/ci/package_windows_build.cmake b/.gitlab/ci/package_windows_build.cmake deleted file mode 100644 index b881e2101e..0000000000 --- a/.gitlab/ci/package_windows_build.cmake +++ /dev/null @@ -1,41 +0,0 @@ -cmake_minimum_required(VERSION 3.29) -include(build/ci_package_info.cmake) - -set(build "${CMAKE_CURRENT_BINARY_DIR}/build") - -file(GLOB paths RELATIVE "${CMAKE_CURRENT_BINARY_DIR}" - # Allow CPack to find CMAKE_ROOT. - "${build}/CMakeFiles/CMakeSourceDir.txt" - - # We need the main binaries. - "${build}/bin" - - # Pass through the documentation. - "${build}/install-doc" - - # CPack configuration. - "${build}/CPackConfig.cmake" - "${build}/CMakeCPackOptions.cmake" - "${build}/Source/QtDialog/QtDialogCPack.cmake" - - # CPack/IFW packaging files. - "${build}/CMake*.qs" - - # CPack/WIX packaging files. - "${build}/Utilities/Release/WiX/custom_action_dll*.wxs" - "${build}/Utilities/Release/WiX/CustomAction/CMakeWiXCustomActions.*" - ) - -file(GLOB_RECURSE paths_recurse RELATIVE "${CMAKE_CURRENT_BINARY_DIR}" - # Install rules. - "${build}/cmake_install.cmake" - "${build}/*/cmake_install.cmake" - ) - -# Create a "package" containing the build-tree files needed to build a package. -file(MAKE_DIRECTORY build/unsigned) -file(ARCHIVE_CREATE - OUTPUT build/unsigned/${CPACK_PACKAGE_FILE_NAME}.build.zip - PATHS ${paths} ${paths_recurse} - FORMAT zip - ) diff --git a/.gitlab/ci/post_build.ps1 b/.gitlab/ci/post_build.ps1 deleted file mode 100644 index fbd8ae891c..0000000000 --- a/.gitlab/ci/post_build.ps1 +++ /dev/null @@ -1,4 +0,0 @@ -$pwsh = [System.Diagnostics.Process]::GetCurrentProcess().MainModule.FileName -if (Test-Path -Path ".gitlab/ci/post_build_$env:CMAKE_CONFIGURATION.ps1" -PathType Leaf) { - . ".gitlab/ci/post_build_$env:CMAKE_CONFIGURATION.ps1" -} diff --git a/.gitlab/ci/post_build.sh b/.gitlab/ci/post_build.sh deleted file mode 100755 index 0edd9f6695..0000000000 --- a/.gitlab/ci/post_build.sh +++ /dev/null @@ -1,18 +0,0 @@ -#!/bin/bash - -set -e - -quietly() { - readonly log="/tmp/quietly-$RANDOM.log" - if ! "$@" >"$log" 2>&1; then - ret=$? - cat "$log" - rm -f "$log" - exit $ret - fi - rm -f "$log" -} - -if test -r ".gitlab/ci/post_build_${CMAKE_CONFIGURATION}.sh"; then - source ".gitlab/ci/post_build_${CMAKE_CONFIGURATION}.sh" -fi diff --git a/.gitlab/ci/post_build_fedora41_tidy.sh b/.gitlab/ci/post_build_fedora41_tidy.sh deleted file mode 100644 index a36663a924..0000000000 --- a/.gitlab/ci/post_build_fedora41_tidy.sh +++ /dev/null @@ -1,21 +0,0 @@ -git config user.name "Kitware Robot" -git config user.email "kwrobot@kitware.com" - -clang-apply-replacements --style=file .gitlab/clang-tidy-fixes -git add . - -if [ -n "$(git status --porcelain)" ]; then - quietly git commit --file=- <<EOF -WIP: clang-tidy: <SHORT DESCRIPTION OF CHANGE HERE> - -<LONGER DESCRIPTION OF CHANGE HERE.> -EOF - git format-patch --output=clang-tidy-fixes.patch -1 -N - echo "Patch from clang-tidy available, check artifacts of this CI job." >&2 -fi - -readonly num_warnings="$(cat .gitlab/num_warnings.txt)" -if [ "$num_warnings" -ne 0 ]; then - echo "Found $num_warnings warnings (treating as fatal)." >&2 - exit 1 -fi diff --git a/.gitlab/ci/post_build_macos10.10_package.sh b/.gitlab/ci/post_build_macos10.10_package.sh deleted file mode 100644 index 3b7bc72f38..0000000000 --- a/.gitlab/ci/post_build_macos10.10_package.sh +++ /dev/null @@ -1 +0,0 @@ -. .gitlab/ci/package_macos.sh diff --git a/.gitlab/ci/post_build_macos_package.sh b/.gitlab/ci/post_build_macos_package.sh deleted file mode 100644 index 3b7bc72f38..0000000000 --- a/.gitlab/ci/post_build_macos_package.sh +++ /dev/null @@ -1 +0,0 @@ -. .gitlab/ci/package_macos.sh diff --git a/.gitlab/ci/post_build_windows_arm64_package.ps1 b/.gitlab/ci/post_build_windows_arm64_package.ps1 deleted file mode 100644 index f98d99597d..0000000000 --- a/.gitlab/ci/post_build_windows_arm64_package.ps1 +++ /dev/null @@ -1 +0,0 @@ -. .gitlab/ci/package_windows.ps1 diff --git a/.gitlab/ci/post_build_windows_i386_package.ps1 b/.gitlab/ci/post_build_windows_i386_package.ps1 deleted file mode 100644 index f98d99597d..0000000000 --- a/.gitlab/ci/post_build_windows_i386_package.ps1 +++ /dev/null @@ -1 +0,0 @@ -. .gitlab/ci/package_windows.ps1 diff --git a/.gitlab/ci/post_build_windows_x86_64_package.ps1 b/.gitlab/ci/post_build_windows_x86_64_package.ps1 deleted file mode 100644 index f98d99597d..0000000000 --- a/.gitlab/ci/post_build_windows_x86_64_package.ps1 +++ /dev/null @@ -1 +0,0 @@ -. .gitlab/ci/package_windows.ps1 diff --git a/.gitlab/ci/pre_build.ps1 b/.gitlab/ci/pre_build.ps1 deleted file mode 100644 index 3a566877be..0000000000 --- a/.gitlab/ci/pre_build.ps1 +++ /dev/null @@ -1,4 +0,0 @@ -$pwsh = [System.Diagnostics.Process]::GetCurrentProcess().MainModule.FileName -if (Test-Path -Path ".gitlab/ci/pre_build_$env:CMAKE_CONFIGURATION.ps1" -PathType Leaf) { - . ".gitlab/ci/pre_build_$env:CMAKE_CONFIGURATION.ps1" -} diff --git a/.gitlab/ci/pre_build.sh b/.gitlab/ci/pre_build.sh deleted file mode 100755 index 7ff6a69ad3..0000000000 --- a/.gitlab/ci/pre_build.sh +++ /dev/null @@ -1,18 +0,0 @@ -#!/bin/bash - -set -e - -quietly() { - readonly log="/tmp/quietly-$RANDOM.log" - if ! "$@" >"$log" 2>&1; then - ret=$? - cat "$log" - rm -f "$log" - exit $ret - fi - rm -f "$log" -} - -if test -r ".gitlab/ci/pre_build_${CMAKE_CONFIGURATION}.sh"; then - source ".gitlab/ci/pre_build_${CMAKE_CONFIGURATION}.sh" -fi diff --git a/.gitlab/ci/pre_build_fedora41_tidy.sh b/.gitlab/ci/pre_build_fedora41_tidy.sh deleted file mode 100644 index 7580ef1506..0000000000 --- a/.gitlab/ci/pre_build_fedora41_tidy.sh +++ /dev/null @@ -1,9 +0,0 @@ -cmake \ - -G Ninja \ - -S Utilities/ClangTidyModule \ - -B Utilities/ClangTidyModule/build \ - -DCMAKE_BUILD_TYPE=Release \ - -DRUN_TESTS=ON \ - -DCMAKE_CXX_COMPILER_LAUNCHER=sccache -cmake --build Utilities/ClangTidyModule/build -ctest --test-dir Utilities/ClangTidyModule/build --output-on-failure diff --git a/.gitlab/ci/python-env.ps1 b/.gitlab/ci/python-env.ps1 deleted file mode 100644 index ce16493e61..0000000000 --- a/.gitlab/ci/python-env.ps1 +++ /dev/null @@ -1,4 +0,0 @@ -$pwdpath = $pwd.Path -& "$pwsh" -File ".gitlab/ci/python.ps1" -Set-Item -Force -Path "env:PATH" -Value "$pwdpath\.gitlab\python3;$env:PATH" -python --version diff --git a/.gitlab/ci/python.ps1 b/.gitlab/ci/python.ps1 deleted file mode 100644 index 27f18071a6..0000000000 --- a/.gitlab/ci/python.ps1 +++ /dev/null @@ -1,30 +0,0 @@ -$erroractionpreference = "stop" - -$version = "3.11.3" - -if ("$env:PROCESSOR_ARCHITECTURE" -eq "AMD64") { - $sha256sum = "7419B2E98516FBD0B66A1237B80187FFB21D32E47B4A4235C2D9D6379597070F" - $arch = "amd64" -} elseif ("$env:PROCESSOR_ARCHITECTURE" -eq "ARM64") { - $sha256sum = "03BAD6A7C898FC8F693982437AAB6DB698107B82EA93F76424195AE2C161246C" - $arch = "arm64" -} else { - throw ('unknown PROCESSOR_ARCHITECTURE: ' + "$env:PROCESSOR_ARCHITECTURE") -} - -$filename = "python-$version-embed-$arch" -$tarball = "$filename.zip" - -$outdir = $pwd.Path -$outdir = "$outdir\.gitlab" -$ProgressPreference = 'SilentlyContinue' -Invoke-WebRequest -Uri "https://cmake.org/files/dependencies/internal/$tarball" -OutFile "$outdir\$tarball" -$hash = Get-FileHash "$outdir\$tarball" -Algorithm SHA256 -if ($hash.Hash -ne $sha256sum) { - exit 1 -} - -Add-Type -AssemblyName System.IO.Compression.FileSystem -[System.IO.Compression.ZipFile]::ExtractToDirectory("$outdir\$tarball", "$outdir\python3") -Remove-Item "$outdir\python3\*._pth" # Avoid sys.path specific to embedded python. -Remove-Item "$outdir\$tarball" diff --git a/.gitlab/ci/qt-env.ps1 b/.gitlab/ci/qt-env.ps1 deleted file mode 100644 index 22b10992e0..0000000000 --- a/.gitlab/ci/qt-env.ps1 +++ /dev/null @@ -1,13 +0,0 @@ -if ($cmake -eq $null) { - throw ('$cmake powershell variable not set ') -} -if ("$env:PROCESSOR_ARCHITECTURE" -eq "AMD64") { - $pwdpath = $pwd.Path - & $cmake -P .gitlab/ci/download_qt.cmake - Set-Item -Force -Path "env:PATH" -Value "$pwdpath\.gitlab\qt\bin;$env:PATH" - qmake -v -} elseif ("$env:PROCESSOR_ARCHITECTURE" -eq "ARM64") { - # Qt host tools are not yet available natively on windows-arm64. -} else { - throw ('unknown PROCESSOR_ARCHITECTURE: ' + "$env:PROCESSOR_ARCHITECTURE") -} diff --git a/.gitlab/ci/repackage/iar.ps1 b/.gitlab/ci/repackage/iar.ps1 deleted file mode 100644 index bb8bb0401b..0000000000 --- a/.gitlab/ci/repackage/iar.ps1 +++ /dev/null @@ -1,38 +0,0 @@ -# IAR Tooling for Windows is available only via installers. -# Run an installer and repackage the installation directory. - -#Requires -RunAsAdministrator - -param ( - [Parameter(Mandatory=$true)] - [string]$installer, - [string]$revision = "1", - [string]$basedir = "c:\iar" - ) - -$erroractionpreference = "stop" - -Add-Type -AssemblyName System.IO.Compression.FileSystem - -$installer_file = Get-Item $installer -$installer_name = $installer_file.Name -$package_name = $installer_file.Basename + "-" + $revision -$package_dir = "$basedir\$package_name" - - -Write-Host "Installing to: $package_dir" -Start-Process -Wait -FilePath "$installer_file" -ArgumentList "/hide_usd /autoinstall/$package_dir" -@" -This was repackaged from an installation by "$installer_name". -Obtain a network license as follows: - - set IAR_LMS_SETTINGS_DIR=%cd%\license - %cd%\common\bin\lightlicensemanager setup --host %LicenseServerHostname% - -"@ | Add-Content -NoNewline "$package_dir/README.txt" - - -Write-Host "Repackaging to: $package_name.zip" -$compressionLevel = [System.IO.Compression.CompressionLevel]::Optimal -$includeBaseDirectory = $true -[System.IO.Compression.ZipFile]::CreateFromDirectory("$package_dir", "$package_name.zip", $compressionLevel, $includeBaseDirectory) diff --git a/.gitlab/ci/repackage/wix.ps1 b/.gitlab/ci/repackage/wix.ps1 deleted file mode 100644 index 6dbd46667a..0000000000 --- a/.gitlab/ci/repackage/wix.ps1 +++ /dev/null @@ -1,55 +0,0 @@ -# WiX Toolset 4+ is provided only via nuget packages. -# Download the package artifacts, extract the parts we need, and repackage them. - -param ( - [Parameter(Mandatory=$true)] - [string]$version - ) - -$erroractionpreference = "stop" - -$version_major = $version.Substring(0, $version.IndexOf('.')) - -$release = "v" + $version -$pkg_wix = "wix.$version.nupkg" -$pkg_wixui = "WixToolset.UI.wixext.$version.nupkg" -$packages = $pkg_wix, $pkg_wixui - -$wix_artifacts = "wix-artifacts.zip" - -$ProgressPreference = 'SilentlyContinue' -Invoke-WebRequest -Uri "https://github.com/wixtoolset/wix/releases/download/$release/artifacts.zip" -OutFile "$wix_artifacts" - -Add-Type -AssemblyName System.IO.Compression.FileSystem - -$zip = [System.IO.Compression.ZipFile]::Open("$wix_artifacts", "read") -$zip.Entries | Where-Object FullName -in $packages | ForEach-Object { - [System.IO.Compression.ZipFileExtensions]::ExtractToFile($_, "$($_.Name)", $true) -} -$zip.Dispose() -Remove-Item "$wix_artifacts" - -$wix_dir = "wix-$version-win-any-1" -[System.IO.Compression.ZipFile]::ExtractToDirectory($pkg_wix, "wix-tmp") -Move-Item -Path "wix-tmp/tools/net6.0/any" -Destination "$wix_dir" -Remove-Item "wix-tmp" -Recurse -Force -Remove-Item "$pkg_wix" - -$ext_dir = New-Item -Force -ItemType Directory -Path "$wix_dir/.wix/extensions/WixToolset.UI.wixext/$version/wixext$version_major" -$zip = [System.IO.Compression.ZipFile]::Open($pkg_wixui, "read") -$zip.Entries | Where-Object Name -eq "WixToolset.UI.wixext.dll" | ForEach-Object { - [System.IO.Compression.ZipFileExtensions]::ExtractToFile($_, (Join-Path $ext_dir $_.Name), $true) -} -$zip.Dispose() -Remove-Item "$pkg_wixui" - -@" -This was extracted from WiX Toolset nuget packages and repackaged. -Point both PATH and WIX_EXTENSIONS environment variables at this directory. - -"@ | Add-Content -NoNewline "$wix_dir/README.txt" - -$compressionLevel = [System.IO.Compression.CompressionLevel]::Optimal -$includeBaseDirectory = $true -[System.IO.Compression.ZipFile]::CreateFromDirectory("$wix_dir", "$wix_dir.zip", $compressionLevel, $includeBaseDirectory) -Remove-Item "$wix_dir" -Recurse -Force diff --git a/.gitlab/ci/sccache-env.ps1 b/.gitlab/ci/sccache-env.ps1 deleted file mode 100644 index 66dc6ebb31..0000000000 --- a/.gitlab/ci/sccache-env.ps1 +++ /dev/null @@ -1 +0,0 @@ -Set-Item -Force -Path "env:PATH" -Value "$env:PATH;$env:SCCACHE_PATH" diff --git a/.gitlab/ci/sccache-env.sh b/.gitlab/ci/sccache-env.sh deleted file mode 100644 index 4b170a47d9..0000000000 --- a/.gitlab/ci/sccache-env.sh +++ /dev/null @@ -1,2 +0,0 @@ -.gitlab/ci/sccache.sh -export PATH="$PWD/.gitlab:$PATH" diff --git a/.gitlab/ci/sccache.sh b/.gitlab/ci/sccache.sh deleted file mode 100755 index b6b3751eec..0000000000 --- a/.gitlab/ci/sccache.sh +++ /dev/null @@ -1,43 +0,0 @@ -#!/bin/sh - -set -e - -readonly version="0.2.15-background-init" -readonly build_date="20210602.0" - -case "$( uname -s )-$(uname -m)" in - Linux-aarch64) - shatool="sha256sum" - sha256sum="28b9ad3f591874551a3f4c5c1ff32456d3328c15d7bd8bc63b4e5948a94f1def" - platform="aarch64-unknown-linux-musl" - ;; - Linux-x86_64) - shatool="sha256sum" - sha256sum="34d62d30eae1a4145f00d62b01ad21c3456e28f11f8246c936b00cccf4855016" - platform="x86_64-unknown-linux-musl" - ;; - Darwin-x86_64|Darwin-arm64) - shatool="shasum -a 256" - sha256sum="2fa396e98cc8d07e39429b187a77386db63d35409902251d462080bdd0087c22" - platform="universal-apple-darwin" - ;; - *) - echo "Unrecognized platform $( uname -s )-$( uname -m )" - exit 1 - ;; -esac -readonly shatool -readonly sha256sum -readonly platform - -readonly filename="sccache-v$version-$platform" - -readonly url="https://gitlab.kitware.com/api/v4/projects/6955/packages/generic/sccache/v$version-$build_date/" - -cd .gitlab - -echo "$sha256sum $filename" > sccache.sha256sum -curl -OL "$url/$filename" -$shatool --check sccache.sha256sum -mv "$filename" sccache -chmod +x sccache diff --git a/.gitlab/ci/swift-env.ps1 b/.gitlab/ci/swift-env.ps1 deleted file mode 100644 index 871b31c3b8..0000000000 --- a/.gitlab/ci/swift-env.ps1 +++ /dev/null @@ -1,6 +0,0 @@ -$pwdpath = $pwd.Path -& "$pwsh" -File ".gitlab/ci/swift.ps1" -Set-Item -Force -Path "env:DEVELOPER_DIR" -Value "$pwdpath\.gitlab\swift" -Set-Item -Force -Path "env:SDKROOT" -Value "$pwdpath\.gitlab\swift\Platforms\Windows.platform\Developer\SDKs\Windows.sdk" -Set-Item -Force -Path "env:PATH" -Value "$pwdpath\.gitlab\swift\Toolchains\unknown-Asserts-development.xctoolchain\usr\bin;$env:PATH" -swiftc --version diff --git a/.gitlab/ci/swift-env.sh b/.gitlab/ci/swift-env.sh deleted file mode 100644 index fa0c81e175..0000000000 --- a/.gitlab/ci/swift-env.sh +++ /dev/null @@ -1,7 +0,0 @@ -curl -L -O "https://download.swift.org/swift-5.7.1-release/ubuntu1804/swift-5.7.1-RELEASE/swift-5.7.1-RELEASE-ubuntu18.04.tar.gz" -echo '2b30f9efc969d9e96f0836d0871130dffb369822a3823ee6f3db44c29c1698e3 swift-5.7.1-RELEASE-ubuntu18.04.tar.gz' > swift.sha256sum -sha256sum --check swift.sha256sum -mkdir /opt/swift -tar xzf swift-5.7.1-RELEASE-ubuntu18.04.tar.gz -C /opt/swift --strip-components=2 -rm swift-5.7.1-RELEASE-ubuntu18.04.tar.gz swift.sha256sum -export SWIFTC="/opt/swift/bin/swiftc" diff --git a/.gitlab/ci/swift.ps1 b/.gitlab/ci/swift.ps1 deleted file mode 100644 index b970dcec0b..0000000000 --- a/.gitlab/ci/swift.ps1 +++ /dev/null @@ -1,38 +0,0 @@ -$erroractionpreference = "stop" - -$version = "5.9.2" -$sha256sum = "8C053108528EB2DAD84C33D6F0834A3A1444D21BA1A89D591AB149304A62F6B5" -$filename = "swift-$version-win-x86_64-1" -$tarball = "$filename.zip" - -$outdir = $pwd.Path -$outdir = "$outdir\.gitlab" -$ProgressPreference = 'SilentlyContinue' -# This URL is only visible inside of Kitware's network. See above filename table. -Invoke-WebRequest -Uri "https://cmake.org/files/dependencies/internal/$tarball" -OutFile "$outdir\$tarball" -$hash = Get-FileHash "$outdir\$tarball" -Algorithm SHA256 -if ($hash.Hash -ne $sha256sum) { - exit 1 -} - -Add-Type -AssemblyName System.IO.Compression.FileSystem -[System.IO.Compression.ZipFile]::ExtractToDirectory("$outdir\$tarball", "$outdir") -Move-Item -Path "$outdir\$filename" -Destination "$outdir\swift" -Remove-Item "$outdir\$tarball" - -$bin = "$outdir\swift\Toolchains\unknown-Asserts-development.xctoolchain\usr\bin" -$null = New-Item -ItemType HardLink -Path "$bin\clang++.exe" -Target "$bin\clang.exe" -$null = New-Item -ItemType HardLink -Path "$bin\clang-cl.exe" -Target "$bin\clang.exe" -$null = New-Item -ItemType HardLink -Path "$bin\clang-cpp.exe" -Target "$bin\clang.exe" -$null = New-Item -ItemType HardLink -Path "$bin\ld.lld.exe" -Target "$bin\lld.exe" -$null = New-Item -ItemType HardLink -Path "$bin\ld64.lld.exe" -Target "$bin\lld.exe" -$null = New-Item -ItemType HardLink -Path "$bin\lld-link.exe" -Target "$bin\lld.exe" -$null = New-Item -ItemType HardLink -Path "$bin\llvm-dlltool.exe" -Target "$bin\llvm-ar.exe" -$null = New-Item -ItemType HardLink -Path "$bin\llvm-lib.exe" -Target "$bin\llvm-ar.exe" -$null = New-Item -ItemType HardLink -Path "$bin\llvm-ranlib.exe" -Target "$bin\llvm-ar.exe" -$null = New-Item -ItemType HardLink -Path "$bin\llvm-objcopy.exe" -Target "$bin\llvm-strip.exe" -$null = New-Item -ItemType HardLink -Path "$bin\swiftc.exe" -Target "$bin\swift.exe" -$null = New-Item -ItemType HardLink -Path "$bin\swift-api-digester.exe" -Target "$bin\swift-frontend.exe" -$null = New-Item -ItemType HardLink -Path "$bin\swift-autolink-extract.exe" -Target "$bin\swift-frontend.exe" -$null = New-Item -ItemType HardLink -Path "$bin\swift-symbolgraph-extract.exe" -Target "$bin\swift-frontend.exe" -Clear-Variable -Name bin diff --git a/.gitlab/ci/ticlang-env.sh b/.gitlab/ci/ticlang-env.sh deleted file mode 100644 index 448c0d7671..0000000000 --- a/.gitlab/ci/ticlang-env.sh +++ /dev/null @@ -1,2 +0,0 @@ -.gitlab/ci/ticlang.sh -.gitlab/ticlang/bin/tiarmclang --version diff --git a/.gitlab/ci/ticlang.sh b/.gitlab/ci/ticlang.sh deleted file mode 100755 index 66fa863a30..0000000000 --- a/.gitlab/ci/ticlang.sh +++ /dev/null @@ -1,28 +0,0 @@ -#!/bin/sh - -set -e - -case "$(uname -s)-$(uname -m)" in - Linux-x86_64) - shatool="sha256sum" - sha256sum="c69ac58e403b82eac1c407cc67b35fab5d95c5d8db75b019095f9412aacff27d" - filename="ti_cgt_armllvm_3.2.1.LTS_linux-x64_installer.bin" - dirname="ti-cgt-armllvm_3.2.1.LTS" - ;; - *) - echo "Unrecognized platform $(uname -s)-$(uname -m)" - exit 1 - ;; -esac -readonly shatool -readonly sha256sum - -cd .gitlab - -echo "$sha256sum $filename" > ticlang.sha256sum -curl -OL "https://cmake.org/files/dependencies/internal/$filename" -$shatool --check ticlang.sha256sum -chmod +x "$filename" -"./$filename" --mode unattended --prefix . -mv "$dirname" ticlang -rm -f "$filename" ticlang.sha256sum diff --git a/.gitlab/ci/vcvarsall.ps1 b/.gitlab/ci/vcvarsall.ps1 deleted file mode 100644 index f8c4150ef0..0000000000 --- a/.gitlab/ci/vcvarsall.ps1 +++ /dev/null @@ -1,7 +0,0 @@ -$erroractionpreference = "stop" - -$all_env = cmd /c "`"$env:VCVARSALL`" $env:VCVARSPLATFORM -vcvars_ver=$env:VCVARSVERSION >NUL & powershell -Command `"Get-ChildItem env: | Select-Object -Property Key,Value | ConvertTo-Json`"" | ConvertFrom-Json - -foreach ($envvar in $all_env) { - [Environment]::SetEnvironmentVariable($envvar.Key, $envvar.Value) -} diff --git a/.gitlab/ci/wix3.ps1 b/.gitlab/ci/wix3.ps1 deleted file mode 100644 index 8f5ae4bc69..0000000000 --- a/.gitlab/ci/wix3.ps1 +++ /dev/null @@ -1,21 +0,0 @@ -$erroractionpreference = "stop" - -$release = "wix314rtm" -$sha256sum = "13F067F38969FAF163D93A804B48EA0576790A202C8F10291F2000F0E356E934" -#$filename = "wix314-binaries" -$filename = "wix-3.14.0.8606-win-i386" -$tarball = "$filename.zip" - -$outdir = $pwd.Path -$outdir = "$outdir\.gitlab" -$ProgressPreference = 'SilentlyContinue' -#Invoke-WebRequest -Uri "https://github.com/wixtoolset/wix3/releases/download/$release/$tarball" -OutFile "$outdir\$tarball" -Invoke-WebRequest -Uri "https://cmake.org/files/dependencies/$tarball" -OutFile "$outdir\$tarball" -$hash = Get-FileHash "$outdir\$tarball" -Algorithm SHA256 -if ($hash.Hash -ne $sha256sum) { - exit 1 -} - -Add-Type -AssemblyName System.IO.Compression.FileSystem -[System.IO.Compression.ZipFile]::ExtractToDirectory("$outdir\$tarball", "$outdir\wix3") -Remove-Item "$outdir\$tarball" diff --git a/.gitlab/ci/wix4-env.ps1 b/.gitlab/ci/wix4-env.ps1 deleted file mode 100644 index f1fe8b6c5c..0000000000 --- a/.gitlab/ci/wix4-env.ps1 +++ /dev/null @@ -1,7 +0,0 @@ -& "$pwsh" -File .gitlab/ci/wix4.ps1 - -$pwdpath = $pwd.Path -Set-Item -Force -Path "env:PATH" -Value "$pwdpath\.gitlab\wix4;$env:PATH" -Set-Item -Force -Path "env:WIX_EXTENSIONS" -Value "$pwdpath\.gitlab\wix4" -Write-Host "wix version: $(wix --version)" -Write-Host "wix extensions: $(wix extension list -g)" diff --git a/.gitlab/ci/wix4.ps1 b/.gitlab/ci/wix4.ps1 deleted file mode 100644 index 6209f2bf3f..0000000000 --- a/.gitlab/ci/wix4.ps1 +++ /dev/null @@ -1,20 +0,0 @@ -$erroractionpreference = "stop" - -$version = "4.0.4" -$sha256sum = "FB6E94C89B12FB65D3AA0CF9E9C630DAFCC7D57F1E66C7D6035CAD37A38CC284" -$filename = "wix-$version-win-any-1" -$tarball = "$filename.zip" - -$outdir = $pwd.Path -$outdir = "$outdir\.gitlab" -$ProgressPreference = 'SilentlyContinue' -Invoke-WebRequest -Uri "https://cmake.org/files/dependencies/$tarball" -OutFile "$outdir\$tarball" -$hash = Get-FileHash "$outdir\$tarball" -Algorithm SHA256 -if ($hash.Hash -ne $sha256sum) { - exit 1 -} - -Add-Type -AssemblyName System.IO.Compression.FileSystem -[System.IO.Compression.ZipFile]::ExtractToDirectory("$outdir\$tarball", "$outdir") -Move-Item -Path "$outdir\$filename" -Destination "$outdir\wix4" -Remove-Item "$outdir\$tarball" |
