From 2c8478b8841f6ab0caa820c60f570bdc1b02bbb5 Mon Sep 17 00:00:00 2001 From: Matthias Krack Date: Wed, 19 Apr 2023 08:55:31 +0200 Subject: [PATCH] Use variable for package version --- tools/toolchain/scripts/stage4/install_cosma.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tools/toolchain/scripts/stage4/install_cosma.sh b/tools/toolchain/scripts/stage4/install_cosma.sh index a317133e98..af5084e01a 100755 --- a/tools/toolchain/scripts/stage4/install_cosma.sh +++ b/tools/toolchain/scripts/stage4/install_cosma.sh @@ -66,7 +66,7 @@ case "$with_cosma" in ;; esac - cd "COSTA-2.2" + cd "COSTA-${costa_ver}" [ -d build-cpu ] && rm -Rf build-cpu mkdir build-cpu && cd build-cpu cmake \ @@ -114,7 +114,7 @@ case "$with_cosma" in fi cd .. - cd Tiled-MM-2.2 + cd Tiled-MM-${tiled_mm_ver} if [ "$ENABLE_CUDA" = "__TRUE__" ]; then mkdir build-cuda && cd build-cuda cmake \ @@ -148,7 +148,7 @@ case "$with_cosma" in fi cd .. - cd COSMA-2.6.5 && mkdir build-cpu && cd build-cpu + cd COSMA-${cosma_ver} && mkdir build-cpu && cd build-cpu cmake \ -DCMAKE_INSTALL_PREFIX="${pkg_install_dir}" \ -DCMAKE_INSTALL_LIBDIR=lib \