Moved CMake to the chrooted build

This commit is contained in:
Alexander Hill
2025-04-20 16:20:16 -04:00
parent 1f29f67133
commit 7c11f8a1aa
2 changed files with 17 additions and 17 deletions

View File

@@ -280,23 +280,6 @@ make -j $THREAD
make -j $THREAD install DESTDIR=$MAPLE
cd ..
# CMake Build
tar xf ../sources/cmake-*.tar*
cd cmake-*/
# NOTE: Tests are disabled because they attempt to run on the system responsible
# for the build, not the system being built. ~ahill
cmake -B build -G Ninja \
-DBUILD_TESTING=OFF \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_C_COMPILER=$CC \
-DCMAKE_CXX_COMPILER=$CXX \
-DCMAKE_INSTALL_PREFIX=$MAPLE/usr \
-DCMAKE_SYSROOT=$MAPLE \
-DCMAKE_USE_OPENSSL=OFF
cmake --build build
cmake --install build
cd ..
# Gawk Build
tar xf ../sources/gawk-*.tar*
cd gawk-*/