IAP GITLAB

Skip to content
Snippets Groups Projects
Commit 7da00af3 authored by Maximilian Reininghaus's avatar Maximilian Reininghaus :vulcan:
Browse files

conan-install into optionally specified directory

parent 27109091
No related branches found
No related tags found
1 merge request!523conan-install into specified directory
Pipeline #10981 passed
#! /bin/sh #! /bin/sh
DIR=$(readlink -f $(dirname $0)) if [ $# -eq 0 ]; then
# no arguments passed, target is current working dir
DIR=$(readlink -f $(dirname $0))
elif [ $# -eq 1 ]; then
# target is provided directory
DIR="$1"
else
echo "usage: conan-install.sh [directory]" >&2
exit 1
fi
echo "using `conan --version`" echo "using `conan --version`"
...@@ -11,5 +20,5 @@ if ! conan profile show corsika8 >/dev/null 2>/dev/null; then ...@@ -11,5 +20,5 @@ if ! conan profile show corsika8 >/dev/null 2>/dev/null; then
conan profile update settings.compiler.libcxx=libstdc++11 corsika8 conan profile update settings.compiler.libcxx=libstdc++11 corsika8
fi fi
fi fi
# force rebuild of cubicinterpolation (see discussion in MR509)
conan install -pr corsika8 --build=missing ${DIR} conan install -pr corsika8 --build=missing "${DIR}"
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment