mirror of
https://github.com/CachyOS/New-Cli-Installer.git
synced 2025-02-02 22:07:13 +08:00
🔨 use cmake instead for Vagrant
This commit is contained in:
parent
e20abe670d
commit
d359c54d65
28
Vagrantfile
vendored
28
Vagrantfile
vendored
@ -89,17 +89,27 @@ Vagrant.configure("2") do |config|
|
|||||||
git clone https://github.com/cachyos/new-cli-installer.git
|
git clone https://github.com/cachyos/new-cli-installer.git
|
||||||
cd new-cli-installer
|
cd new-cli-installer
|
||||||
|
|
||||||
meson --prefix /usr \
|
#meson --prefix /usr \
|
||||||
--libexecdir lib \
|
# --libexecdir lib \
|
||||||
--sbindir bin \
|
# --sbindir bin \
|
||||||
--buildtype release \
|
# --buildtype release \
|
||||||
-D b_pie=true \
|
# -D b_pie=true \
|
||||||
-D devenv=false \
|
# -D devenv=false \
|
||||||
build
|
# build
|
||||||
meson compile -C build --jobs $(nproc)
|
#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
|
cd build
|
||||||
meson install
|
#meson install
|
||||||
|
cmake --install build
|
||||||
cd "$SAVED_DIR"
|
cd "$SAVED_DIR"
|
||||||
|
|
||||||
SHELL
|
SHELL
|
||||||
|
Loading…
Reference in New Issue
Block a user