-
Maximilian Reininghaus authoredMaximilian Reininghaus authored
conan-install.sh 494 B
#! /bin/sh
DIR=$(readlink -f $(dirname $0))
echo "using `conan --version`"
if ! conan profile show corsika8 >/dev/null 2>/dev/null; then
conan profile new --detect corsika8
conan profile update settings.compiler.cppstd=17 corsika8
if [ "$(uname)" = "Linux" ]; then
conan profile update settings.compiler.libcxx=libstdc++11 corsika8
fi
fi
# force rebuild of cubicinterpolation (see discussion in MR509)
conan install -pr corsika8 --build=missing --build=cubicinterpolation ${DIR}