🔨 use cmake instead for Vagrant

This commit is contained in:
Vladislav Nepogodin 2022-08-09 04:34:13 +04:00
parent e20abe670d
commit d359c54d65
No known key found for this signature in database
GPG Key ID: B62C3D10C54D5DA9

28
Vagrantfile vendored
View File

@ -89,17 +89,27 @@ Vagrant.configure("2") do |config|
git clone https://github.com/cachyos/new-cli-installer.git
cd new-cli-installer
meson --prefix /usr \
--libexecdir lib \
--sbindir bin \
--buildtype release \
-D b_pie=true \
-D devenv=false \
build
meson compile -C build --jobs $(nproc)
#meson --prefix /usr \
# --libexecdir lib \
# --sbindir bin \
# --buildtype release \
# -D b_pie=true \
# -D devenv=false \
# build
#meson compile -C build --jobs $(nproc)
cmake -S . -B build \
-GNinja \
-DCMAKE_EXE_LINKER_FLAGS="-fuse-ld=mold" \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib \
-DENABLE_DEVENV=ON
cmake --build build --parallel $(nproc)
cd build
meson install
#meson install
cmake --install build
cd "$SAVED_DIR"
SHELL