mirror of
https://github.com/Kitware/CMake.git
synced 2026-01-05 05:11:15 -06:00
Base them on the existing `x86_64` specs. Update the centos base image from centos 6 to centos 7 to get aarch64 support. The resulting binaries require GLIBC 2.17. Fixes: #17923
18 lines
492 B
Bash
18 lines
492 B
Bash
# Distributed under the OSI-approved BSD 3-Clause License. See accompanying
|
|
# file Copyright.txt or https://cmake.org/licensing for details.
|
|
|
|
set -e
|
|
set -x
|
|
mkdir -p /opt/cmake/src/cmake-ninja
|
|
cd /opt/cmake/src/cmake-ninja
|
|
echo >CMakeCache.txt '
|
|
CMAKE_Fortran_COMPILER:STRING=
|
|
CMake_TEST_IPO_WORKS_C:BOOL=ON
|
|
CMake_TEST_IPO_WORKS_CXX:BOOL=ON
|
|
CMake_TEST_NO_NETWORK:BOOL=ON
|
|
CMake_TEST_Qt5:BOOL=ON
|
|
'
|
|
cmake ../cmake -DCMake_TEST_HOST_CMAKE=1 -G "Ninja"
|
|
ninja
|
|
ctest --output-on-failure -j $(nproc)
|