Skip to content

Commit 43638c8

Browse files
committed
Debug build-scx-scheds/install-dependencies.sh
1 parent e99a313 commit 43638c8

File tree

1 file changed

+14
-5
lines changed

1 file changed

+14
-5
lines changed

build-scx-scheds/install-dependencies.sh

Lines changed: 14 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
#!/bin/bash
22

3-
set -euo pipefail
3+
set -x -euo pipefail
44

55
export DEBIAN_FRONTEND=noninteractive
66
export LLVM_VERSION=${LLVM_VERSION:-20}
@@ -16,13 +16,22 @@ chmod +x pipx.pyz && sudo mv pipx.pyz /usr/bin/pipx
1616

1717
# pipx ensurepath is not doing what we need
1818
# install pipx apps to /usr/local/bin manually
19+
export PIPX_BIN_DIR=${PIPX_BIN_DIR:-~/.local/bin}
1920
pipx install meson
2021
pipx install ninja
21-
sudo cp -a ~/.local/bin/meson /usr/local/bin
22-
sudo cp -a ~/.local/bin/ninja /usr/local/bin
2322

24-
meson --version
25-
ninja --version
23+
which meson
24+
which ninja
25+
26+
27+
which meson
28+
which ninja
29+
30+
sudo cp -a "${PIPX_BIN_DIR}/meson" /usr/local/bin
31+
sudo cp -a "${PIPX_BIN_DIR}/ninja" /usr/local/bin
32+
33+
echo "meson --version" && meson --version
34+
echo "ninja --version" && ninja --version
2635

2736
# Install LLVM
2837
sudo -E apt-get --no-install-recommends -y install lsb-release wget software-properties-common gnupg

0 commit comments

Comments
 (0)