mirror of
https://linux.maple.camp/git/ahill/maplelinux-bootstrap.git
synced 2026-02-11 10:13:35 +00:00
Moved CMake to the chrooted build
This commit is contained in:
@@ -280,23 +280,6 @@ make -j $THREAD
|
|||||||
make -j $THREAD install DESTDIR=$MAPLE
|
make -j $THREAD install DESTDIR=$MAPLE
|
||||||
cd ..
|
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
|
# Gawk Build
|
||||||
tar xf ../sources/gawk-*.tar*
|
tar xf ../sources/gawk-*.tar*
|
||||||
cd gawk-*/
|
cd gawk-*/
|
||||||
|
|||||||
@@ -135,6 +135,23 @@ make -j $THREADS
|
|||||||
make -j $THREADS install
|
make -j $THREADS install
|
||||||
cd ..
|
cd ..
|
||||||
|
|
||||||
|
# CMake Build
|
||||||
|
tar xf ../sources/cmake-*.tar*
|
||||||
|
cd cmake-*/
|
||||||
|
./bootstrap \
|
||||||
|
--bindir=/bin \
|
||||||
|
--parallel=$THREADS \
|
||||||
|
--prefix=/usr \
|
||||||
|
--system-bzip2 \
|
||||||
|
--system-curl \
|
||||||
|
--system-expat \
|
||||||
|
--system-libarchive \
|
||||||
|
--system-liblzma \
|
||||||
|
--system-zlib
|
||||||
|
make -j $THREADS
|
||||||
|
make -j $THREADS install
|
||||||
|
cd ..
|
||||||
|
|
||||||
# Samurai Build
|
# Samurai Build
|
||||||
tar xf ../sources/samurai-*.tar*
|
tar xf ../sources/samurai-*.tar*
|
||||||
cd samurai-*/
|
cd samurai-*/
|
||||||
|
|||||||
Reference in New Issue
Block a user