@@ -13,7 +13,8 @@ TRIPLETS="i686-linux-gnu x86_64-linux-gnu aarch64-linux-gnu arm-linux-gnueabihf
13
13
14
14
# These are the projects currently using BinaryBuilder; both GCC-expanded and non-GCC-expanded:
15
15
BB_PROJECTS=" gmp mbedtls libssh2 mpfr curl libgit2 pcre libuv unwind osxunwind dsfmt objconv p7zip zlib suitesparse openlibm"
16
- BB_GCC_EXPANDED_PROJECTS=" llvm openblas"
16
+ BB_GCC_EXPANDED_PROJECTS=" openblas"
17
+ BB_CXX_EXPANDED_PROJECTS=" llvm"
17
18
18
19
# If we've been given a project name, filter down to that one:
19
20
if [ -n " ${1} " ]; then
@@ -25,6 +26,10 @@ if [ -n "${1}" ]; then
25
26
* ${1} * ) BB_GCC_EXPANDED_PROJECTS=" ${1} " ;;
26
27
* ) BB_GCC_EXPANDED_PROJECTS=" " ;;
27
28
esac
29
+ case " ${BB_CXX_EXPANDED_PROJECTS} " in
30
+ * ${1} * ) BB_CXX_EXPANDED_PROJECTS=" ${1} " ;;
31
+ * ) BB_CXX_EXPANDED_PROJECTS=" " ;;
32
+ esac
28
33
fi
29
34
30
35
# Get "contrib/" directory path
@@ -45,4 +50,12 @@ for triplet in ${TRIPLETS}; do
45
50
make -C " ${CONTRIB_DIR} /../deps" USE_BINARYBUILDER_${PROJ} =1 ${PROJ} _BB_TRIPLET=${triplet} -${libgfortran} BB_TRIPLET_CXXABI=${triplet} install-${proj}
46
51
done
47
52
done
53
+
54
+ for proj in ${BB_CXX_EXPANDED_PROJECTS} ; do
55
+ PROJ=" $( echo ${proj} | tr [a-z] [A-Z]) "
56
+ for cxx in cxx03 cxx11; do
57
+ make -C " ${CONTRIB_DIR} /../deps" USE_BINARYBUILDER_${PROJ} =1 ${PROJ} _BB_TRIPLET=${triplet} -${cxx} BB_TRIPLET_CXXABI=${triplet} distclean-${proj}
58
+ make -C " ${CONTRIB_DIR} /../deps" USE_BINARYBUILDER_${PROJ} =1 ${PROJ} _BB_TRIPLET=${triplet} -${cxx} BB_TRIPLET_CXXABI=${triplet} install-${proj}
59
+ done
60
+ done
48
61
done
0 commit comments