Commit f4fff542 authored by Leander Schulten's avatar Leander Schulten Committed by Leander Schulten

Update installOrBuild.sh

parent bce76b6b
Pipeline #185311 failed with stage
in 5 minutes and 35 seconds
...@@ -37,8 +37,11 @@ elif [[ "$OSTYPE" == "msys" ]] || ! [[ -z "$GITLAB_CI" ]]; then ...@@ -37,8 +37,11 @@ elif [[ "$OSTYPE" == "msys" ]] || ! [[ -z "$GITLAB_CI" ]]; then
export CXX="/usr/bin/g++" export CXX="/usr/bin/g++"
fi fi
./bootstrap.sh ./bootstrap.sh
ls # ls
#echo "using gcc : mxe : ${TARGET}-g++ : <rc>${TARGET}-windres <archiver>${TARGET}-ar <ranlib>${TARGET}-ranlib ;" > 'user-config.jam' # TARGET="x86_64-w64-mingw32.shared.posix"
# echo "using gcc : mxe : ${TARGET}-g++ : <rc>${TARGET}-windres <archiver>${TARGET}-ar <ranlib>${TARGET}-ranlib ;" > 'project-config.jam'
# cat project-config.jam
if ! [[ -z "$GITLAB_CI" ]]; then if ! [[ -z "$GITLAB_CI" ]]; then
# set to old value, so that the cross compiling works # set to old value, so that the cross compiling works
export CXX="$OLD_CXX" export CXX="$OLD_CXX"
...@@ -52,7 +55,7 @@ elif [[ "$OSTYPE" == "msys" ]] || ! [[ -z "$GITLAB_CI" ]]; then ...@@ -52,7 +55,7 @@ elif [[ "$OSTYPE" == "msys" ]] || ! [[ -z "$GITLAB_CI" ]]; then
EXE=".exe" # windows need the .exe postfix EXE=".exe" # windows need the .exe postfix
fi fi
echo "Build boost, this will take approximately 3 minutes, if boost is not already build." echo "Build boost, this will take approximately 3 minutes, if boost is not already build."
./b2$EXE --prefix=../ --layout=tagged --with-coroutine --with-context target-os=window toolset=gcc link=shared threading=multi runtime-link=shared address-model=64 install ./b2$EXE --prefix=../ -q --layout=tagged --with-coroutine --with-context abi=ms architecture=x86 binary-format=pe threadapi=win32 target-os=windows toolset=gcc link=shared threading=multi runtime-link=shared address-model=64 install
echo "Boost build is finished" echo "Boost build is finished"
else else
# linux? # linux?
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment