-
Notifications
You must be signed in to change notification settings - Fork 47
Changing compiler ABI #138
Comments
So the I see you have explicitly set your Have you tried just not setting the The full solution (if needed) is to have a build script that sets |
That is spot on! 😆 BSG does not currently pass Can I detect the julia tags :cxx03 or :cxx11 from my (shell) build script stage? |
Note that
You can! julia> using BinaryProvider; BinaryProvider.detect_cxx11_string_abi()
:cxx03 What I would do is to embed the output of that call into your bash script. Because we use script_configurator = """
CXXABI=$(BinaryProvider.detect_cxx11_string_abi())
"""
script = script_configurator * raw"""
cd $WORKSPACE/srcdir
mkdir build
cd build
if [[ $CXXABI == cxx03 ]]; then
# do something
elif [[ $CXXABI == cxx11 ]]; then
# do something else
fi
....
""" |
I've got a working BinaryBuilder release for my package here: https://github.com/BenJWard/BSGBuilder/releases/tag/v0.6.0
When I use the build.jl file in a package on my local Mojave macbook pro, the following happens:
My binary releases only use cxx11 and either gcc8 or gcc7 as their compiler_abi options, because bsg really needs cxx11 as a minimum. Is there a way to change the cxx standard options when downloading a build?
The text was updated successfully, but these errors were encountered: