From 4c8114c1754900000ae296a2dd6abf290e43fde9 Mon Sep 17 00:00:00 2001 From: Jordan Carlin Date: Thu, 29 Aug 2024 12:15:03 -0700 Subject: [PATCH] Installation fixes --- bin/wally-tool-chain-install.sh | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/bin/wally-tool-chain-install.sh b/bin/wally-tool-chain-install.sh index 57442a14d..87defb3a4 100755 --- a/bin/wally-tool-chain-install.sh +++ b/bin/wally-tool-chain-install.sh @@ -161,13 +161,13 @@ if (( RHEL_VERSION == 8 )) || (( UBUNTU_VERSION == 20 )); then section_header "Installing glib" pip install -U meson # Meson is needed to build glib cd "$RISCV" - curl --location https://download.gnome.org/sources/glib/2.70/glib-2.70.5.tar.xz | tar xJf --directory="glib" - cd glib + curl --location https://download.gnome.org/sources/glib/2.70/glib-2.70.5.tar.xz | tar xJf + cd glib-2.70.5 meson setup _build --prefix="$RISCV" meson compile -C _build meson install -C _build cd "$RISCV" - rm -rf glib + rm -rf glib-2.70.5 echo -e "${SUCCESS_COLOR}glib successfully installed!${ENDC}" fi fi @@ -178,13 +178,13 @@ if (( RHEL_VERSION == 8 )); then if [ ! -e "$RISCV"/include/gmp.h ]; then section_header "Installing gmp" cd "$RISCV" - curl --location https://ftp.gnu.org/gnu/gmp/gmp-6.3.0.tar.xz | tar xJf --directory="gmp" - cd gmp + curl --location https://ftp.gnu.org/gnu/gmp/gmp-6.3.0.tar.xz | tar xJf + cd gmp-6.3.0 ./configure --prefix="$RISCV" make -j "${NUM_THREADS}" make install cd "$RISCV" - rm -rf gmp + rm -rf gmp-6.3.0 echo -e "${SUCCESS_COLOR}gmp successfully installed!${ENDC}" fi fi