Closed vfazio closed 11 months ago
I have done a test build against this commit and see that the flags are toggled correctly:
>>> Rendering the SDK relocatable
PER_PACKAGE_DIR=/home/vfazio/development/toolchains-builder/build/output/per-package /home/vfazio/development/toolchains-builder/buildroot/support/scripts/fix-rpath host
PER_PACKAGE_DIR=/home/vfazio/development/toolchains-builder/build/output/per-package /home/vfazio/development/toolchains-builder/buildroot/support/scripts/fix-rpath staging
/usr/bin/install -m 755 /home/vfazio/development/toolchains-builder/buildroot/support/misc/relocate-sdk.sh /home/vfazio/development/toolchains-builder/build/x86-64-core-i7--glibc--stable-3.14/relocate-sdk.sh
mkdir -p /home/vfazio/development/toolchains-builder/build/x86-64-core-i7--glibc--stable-3.14/share/buildroot
echo /home/vfazio/development/toolchains-builder/build/x86-64-core-i7--glibc--stable-3.14 > /home/vfazio/development/toolchains-builder/build/x86-64-core-i7--glibc--stable-3.14/share/buildroot/sdk-location
>>> Generating SDK tarball
tar czf "/home/vfazio/development/toolchains-builder/build/output/images/x86_64-buildroot-linux-gnu_sdk-buildroot.tar.gz" \
--owner=0 --group=0 --numeric-owner \
--transform='s#^home/vfazio/development/toolchains-builder/build/x86-64-core-i7--glibc--stable-3.14#x86_64-buildroot-linux-gnu_sdk-buildroot#' \
-C / home/vfazio/development/toolchains-builder/build/x86-64-core-i7--glibc--stable-3.14
make: Leaving directory '/home/vfazio/development/toolchains-builder/buildroot'
INFO: making BR fragment to use the toolchain
INFO: toolchain fragment follows
BR2_x86_64=y
BR2_x86_corei7=y
BR2_TOOLCHAIN_EXTERNAL=y
BR2_TOOLCHAIN_EXTERNAL_CUSTOM=y
BR2_TOOLCHAIN_EXTERNAL_DOWNLOAD=y
BR2_TOOLCHAIN_EXTERNAL_URL="http://toolchains.bootlin.com/downloads/output/toolchains/x86-64-core-i7/tarballs/x86-64-core-i7--glibc--stable-3.14.tar.bz2"
BR2_TOOLCHAIN_EXTERNAL_GCC_11=y
BR2_TOOLCHAIN_EXTERNAL_HEADERS_4_9=y
# BR2_TOOLCHAIN_EXTERNAL_LOCALE is not set
BR2_TOOLCHAIN_EXTERNAL_CXX=y
BR2_TOOLCHAIN_EXTERNAL_FORTRAN=y
# BR2_TOOLCHAIN_EXTERNAL_DLANG is not set
BR2_TOOLCHAIN_EXTERNAL_OPENMP=y
BR2_TOOLCHAIN_EXTERNAL_HAS_SSP=y
BR2_TOOLCHAIN_EXTERNAL_HAS_THREADS_DEBUG=y
BR2_TOOLCHAIN_EXTERNAL_HAS_THREADS=y
BR2_TOOLCHAIN_EXTERNAL_HAS_THREADS_NPTL=y
# BR2_TOOLCHAIN_EXTERNAL_INET_RPC is not set
BR2_TOOLCHAIN_EXTERNAL_CUSTOM_GLIBC=y
INFO: toolchain fragment ends
INFO: Preparing the packaging of x86-64-core-i7--glibc--stable-3.14
Packaging the toolchain as x86-64-core-i7--glibc--stable-3.14.tar.bz2
@RomainNaour @tpetazzoni Just wanted to ping you two on this. I wasn't sure if i should submit the PR here or in https://gitlab.com/buildroot.org/toolchains-builder
@RomainNaour @tpetazzoni Just wanted to ping you two on this. I wasn't sure if i should submit the PR here or in https://gitlab.com/buildroot.org/toolchains-builder
No, the gitlab repo is where the builds are done. PR are handled from this github repo. See https://toolchains.bootlin.com
Thanks, applied!
Add checks for BR2_TOOLCHAIN_BUILDROOT_DLANG and BR2_GCC_ENABLE_OPENMP.
Correctly flagging these options allows external consumers to properly configure options that may depend on them[0].
[0] https://bugs.buildroot.org/show_bug.cgi?id=15634#c3
closes #60