- "add_to_path": [] "builds": "default": "build_dependencies": - |- cmake "configure": |+ extract.sh --into "$BUILD_DIR/source" "https://github.com/llvm/llvm-project/archive/llvmorg-12.0.0.tar.gz" patch-if-exists "${ORCHESTRA_DOTDIR}/patches/clang-release-12.0.0-elf2yaml-wrong-comparisons.patch" "$BUILD_DIR/source" patch-if-exists "${ORCHESTRA_DOTDIR}/patches/clang-release-12.0.0-remove-cyclades.patch" "$BUILD_DIR/source" patch-if-exists "${ORCHESTRA_DOTDIR}/patches/clang-release-12.0.0-fix-build-failure-with-gcc-11-in-c-20-mode.patch" "$BUILD_DIR/source" patch-if-exists "${ORCHESTRA_DOTDIR}/patches/clang-release-12.0.0-fix-constructor-declarations-that-are-invalid-in-c-20.patch" "$BUILD_DIR/source" sed -i 's|GIT_FOUND|FALSE|g' "$BUILD_DIR/source/llvm/cmake/modules/VersionFromVCS.cmake" mkdir -p "$BUILD_DIR" cd "$BUILD_DIR"; cmake \ -DCMAKE_EXPORT_COMPILE_COMMANDS=ON \ -DCMAKE_INSTALL_SO_NO_EXE=0 \ -DCMAKE_INSTALL_PREFIX="$ORCHESTRA_ROOT" \ -DCMAKE_PREFIX_PATH="$ORCHESTRA_ROOT" \ "$BUILD_DIR/source/llvm" \ -GNinja \ -DCMAKE_BUILD_RPATH="\$ORIGIN/../lib:$ORCHESTRA_ROOT/lib" \ -DCMAKE_INSTALL_RPATH="$RPATH_PLACEHOLDER/lib" \ -DCMAKE_BUILD_TYPE="Release" \ -DCMAKE_EXE_LINKER_FLAGS=" " \ -DCMAKE_SHARED_LINKER_FLAGS=" " \ -DCMAKE_MODULE_LINKER_FLAGS=" " \ -DCMAKE_CXX_FLAGS=" " \ -DLLVM_TARGETS_TO_BUILD="AArch64;AMDGPU;ARM;Mips;SystemZ;X86" \ -DLLVM_INSTALL_UTILS=ON \ -DLLVM_ENABLE_DUMP=ON \ -DLLVM_ENABLE_TERMINFO=OFF \ -DLIBCXX_ENABLE_ABI_LINKER_SCRIPT=OFF \ -DCMAKE_CXX_STANDARD=20 \ -DLLVM_ENABLE_Z3_SOLVER=OFF \ -DLLVM_INCLUDE_GO_TESTS=OFF \ -DLLVM_ENABLE_ZLIB=ON \ -DLLVM_ENABLE_PROJECTS="clang;compiler-rt;libcxxabi;libcxx;clang-tools-extra;lld" \ -DBUILD_SHARED_LIBS=OFF \ -Wno-dev "dependencies": - |- gcc-host-toolchain - |- libunwind - |- zlib - |- ncurses "install": |+ cd "$BUILD_DIR" ninja ${JOBS:+-j$JOBS} install rm "${DESTDIR}${ORCHESTRA_ROOT}/lib64/libc++.so" || true echo 'INPUT(libc++.so.1 -lc++abi -lpthread)' > "${DESTDIR}${ORCHESTRA_ROOT}/lib64/libc++.so" if test -z "$DESTDIR"; then echo "Installing clang-release which will clobber LLVM!" else find ${DESTDIR}${ORCHESTRA_ROOT}/lib* -maxdepth 1 -not -type d \( -name libLLVM* -or -name libclang* \) -delete; rm ${DESTDIR}${ORCHESTRA_ROOT}/bin/opt || true rm ${DESTDIR}${ORCHESTRA_ROOT}/bin/llvm-config || true rm -rf ${DESTDIR}${ORCHESTRA_ROOT}/lib*/cmake/ || true rm -rf ${DESTDIR}${ORCHESTRA_ROOT}/include/clang/ || true rm -rf ${DESTDIR}${ORCHESTRA_ROOT}/include/clang-c/ || true rm -rf ${DESTDIR}${ORCHESTRA_ROOT}/include/llvm/ || true rm -rf ${DESTDIR}${ORCHESTRA_ROOT}/include/llvm-c/ || true fi mkdir -p "${DESTDIR}${ORCHESTRA_ROOT}/link-only/bin" COMPILER_WRAPPER="${ORCHESTRA_DOTDIR}/support/hard-flags-compiler-wrapper.py" cd "${DESTDIR}${ORCHESTRA_ROOT}/link-only/bin" cp -a "$COMPILER_WRAPPER" clang cp -a "$COMPILER_WRAPPER" clang++ cp -a "$COMPILER_WRAPPER" clang-tidy "ndebug": !!bool |- true "commit": !!null |- null "default_build": |- default "license": |- source/llvm/LICENSE.TXT "repository": !!null |- null "skip_post_install": !!bool |- false - "add_to_path": [] "builds": "default": "build_dependencies": - |- gcc-host-toolchain "configure": | mkdir -p "$BUILD_DIR" extract.sh --into "$BUILD_DIR" https://github.com/Kitware/CMake/releases/download/v3.22.2/cmake-3.22.2.tar.gz cd "$BUILD_DIR" && ./bootstrap \ --prefix="$ORCHESTRA_ROOT" \ --parallel=16 \ LDFLAGS="-static-libstdc++ -static-libgcc" \ -- -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_INSTALL_PREFIX="$ORCHESTRA_ROOT" \ -DCMAKE_SHARED_LINKER_FLAGS="-static-libstdc++ -static-libgcc" \ -DCMAKE_MODULE_LINKER_FLAGS="-static-libstdc++ -static-libgcc" \ -DCMAKE_EXE_LINKER_FLAGS="-static-libstdc++ -static-libgcc" \ -DCMAKE_USE_OPENSSL=OFF "dependencies": [] "install": | cd "$BUILD_DIR" make ${JOBS:+-j$JOBS} make ${JOBS:+-j$JOBS} install DESTDIR="$DESTDIR" "ndebug": !!bool |- true "commit": !!null |- null "default_build": |- default "license": |- Licenses/README.rst "repository": !!null |- null "skip_post_install": !!bool |- false - "add_to_path": [] "builds": "default": "build_dependencies": [] "configure": |- mkdir -p "$BUILD_DIR" "dependencies": - |- toolchain/host/gcc - |- toolchain/host/binutils "install": |- exit 0 "ndebug": !!bool |- true "commit": !!null |- null "default_build": |- default "license": !!null |- null "repository": !!null |- null "skip_post_install": !!bool |- false - "add_to_path": [] "builds": "default": "build_dependencies": [] "configure": | mkdir -p "$BUILD_DIR/source" extract.sh --into "$BUILD_DIR/source" https://ftp.gnu.org/gnu/glibc/glibc-2.13.tar.xz sed -i 's|test -n ".critic_missing"|false|g' "$BUILD_DIR/source/configure" sed -i 's|struct obstack ._obstack_compat|\0 = 0|g' "$BUILD_DIR/source/malloc/obstack.c" patch-if-exists "${ORCHESTRA_DOTDIR}/patches/glibc-2.13-fix-isinf.patch" "$BUILD_DIR/source" # Create __libc_single_threaded symbol (required by recent libstdc++) echo 'char __libc_single_threaded;' >> "$BUILD_DIR/source/misc/error.c" sed -i \ 's/GLIBC_2.13/GLIBC_2.13\n GLIBC_2.32/' \ "$BUILD_DIR/source/Versions.def" sed -i \ 's/^}/ GLIBC_2.32 {\n __libc_single_threaded;\n }\n}/g' \ "$BUILD_DIR/source/misc/Versions" cd $BUILD_DIR export CC="cc -no-pie -fuse-ld=bfd -Wl,-z,origin -Wl,--enable-new-dtags -Wl,-rpath,$RPATH_PLACEHOLDER/link-only/lib" ./source/configure \ --disable-profile \ --without-gd \ --enable-crypt \ --disable-static-pie \ --disable-systemtap \ --disable-nscd \ --disable-timezone-tools \ --enable-stack-protector=strong \ --enable-stackguard-randomization \ --disable-cet \ --without-selinux \ --without-cvs \ --disable-werror \ --enable-bind-now \ --disable-sanity-checks \ --prefix="$INSTALL_LINK_ONLY_PATH" \ CFLAGS="-w -O2 -fno-stack-protector -DNDEBUG -march=core2 -U_FORTIFY_SOURCE" "dependencies": [] "install": |+ cd "$BUILD_DIR" make ${JOBS:+-j$JOBS} make ${JOBS:+-j$JOBS} install_root="$DESTDIR" install sed -i "s|$INSTALL_LINK_ONLY_PATH/lib/||g" \ "$DESTDIR$INSTALL_LINK_ONLY_PATH/lib/libpthread.so" \ "$DESTDIR$INSTALL_LINK_ONLY_PATH/lib/libc.so" ln -s . "$DESTDIR$INSTALL_LINK_ONLY_PATH/usr" rm -f "$DESTDIR$INSTALL_LINK_ONLY_PATH"/libexec/getconf/POSIX_V7_LP64_OFF64* rm -rf "$DESTDIR$INSTALL_LINK_ONLY_PATH"/bin cp -a "$DESTDIR$INSTALL_LINK_ONLY_PATH"/lib/*.o "$DESTDIR$ORCHESTRA_ROOT"/lib/ # This file is needed because gcc fixinclude detects it when bootstrapping toolchains touch "$DESTDIR$INSTALL_LINK_ONLY_PATH/include/stdc-predef.h" "ndebug": !!bool |- true "commit": !!null |- null "default_build": |- default "license": |- source/COPYING "repository": !!null |- null "skip_post_install": !!bool |- false - "add_to_path": [] "builds": "default": "build_dependencies": - |- glibc "configure": | mkdir -p "$BUILD_DIR" extract.sh --into "$BUILD_DIR" "https://gmplib.org/download/gmp/gmp-6.1.2.tar.xz" cd "$BUILD_DIR" && ./configure \ --prefix="$ORCHESTRA_ROOT" \ --enable-shared=no \ --enable-fat \ CFLAGS="-fPIC" \ CXXFLAGS="-fPIC" \ LDFLAGS="-static-libgcc" "dependencies": [] "install": | cd "$BUILD_DIR" make ${JOBS:+-j$JOBS} make ${JOBS:+-j$JOBS} install DESTDIR="$DESTDIR" "ndebug": !!bool |- true "commit": !!null |- null "default_build": |- default "license": |- COPYING "repository": !!null |- null "skip_post_install": !!bool |- false - "add_to_path": [] "builds": "default": "build_dependencies": [] "configure": |- mkdir -p "$BUILD_DIR" "dependencies": - |- glibc - |- toolchain/host/binutils - |- clang-release "install": |- exit 0 "ndebug": !!bool |- true "commit": !!null |- null "default_build": |- default "license": !!null |- null "repository": !!null |- null "skip_post_install": !!bool |- false - "add_to_path": [] "builds": "default": "build_dependencies": [] "configure": |- mkdir -p "$BUILD_DIR" "dependencies": - |- clang-release - |- toolchain/host/gcc "install": |- exit 0 "ndebug": !!bool |- true "commit": !!null |- null "default_build": |- default "license": !!null |- null "repository": !!null |- null "skip_post_install": !!bool |- false - "add_to_path": [] "builds": "default": "build_dependencies": - |- gcc-host-toolchain - |- glibc "configure": | mkdir -p "$BUILD_DIR" extract.sh --into "$BUILD_DIR" https://download.savannah.nongnu.org/releases/libunwind/libunwind-1.4.0.tar.gz cd "$BUILD_DIR" export CC="cc -fcommon" ./configure \ --enable-cxx-exceptions \ --disable-coredump \ --disable-ptrace \ --enable-setjmp \ --disable-debug-frame \ --disable-documentation \ --disable-minidebuginfo \ --disable-static \ --disable-conservative_checks \ --disable-debug \ --prefix="$ORCHESTRA_ROOT" "dependencies": [] "install": | cd "$BUILD_DIR" make ${JOBS:+-j$JOBS} make ${JOBS:+-j$JOBS} install DESTDIR="$DESTDIR" "ndebug": !!bool |- true "commit": !!null |- null "default_build": |- default "license": |- COPYING "repository": !!null |- null "skip_post_install": !!bool |- false - "add_to_path": [] "builds": "debug": "build_dependencies": - |- cmake - |- host-cxx-toolchain "configure": | mkdir -p "$BUILD_DIR" cd "$BUILD_DIR"; cmake \ -DCMAKE_EXPORT_COMPILE_COMMANDS=ON \ -DCMAKE_INSTALL_SO_NO_EXE=0 \ -DCMAKE_INSTALL_PREFIX="$ORCHESTRA_ROOT" \ -DCMAKE_PREFIX_PATH="$ORCHESTRA_ROOT" \ "$SOURCE_DIR/llvm" \ -GNinja \ -DCMAKE_BUILD_RPATH="\$ORIGIN/../lib:$ORCHESTRA_ROOT/lib" \ -DCMAKE_INSTALL_RPATH="$RPATH_PLACEHOLDER/lib" \ -DCMAKE_BUILD_TYPE="Debug" \ -DCMAKE_EXE_LINKER_FLAGS="-ggdb3 -O0 " \ -DCMAKE_SHARED_LINKER_FLAGS="-ggdb3 -O0 " \ -DCMAKE_MODULE_LINKER_FLAGS="-ggdb3 -O0 " \ -DCMAKE_CXX_FLAGS="-ggdb3 -O0 " \ -DLLVM_TARGETS_TO_BUILD="AArch64;AMDGPU;ARM;Mips;SystemZ;X86" \ -DLLVM_INSTALL_UTILS=ON \ -DLLVM_ENABLE_DUMP=ON \ -DLLVM_ENABLE_TERMINFO=OFF \ -DLIBCXX_ENABLE_ABI_LINKER_SCRIPT=OFF \ -DCMAKE_CXX_STANDARD=20 \ -DLLVM_ENABLE_Z3_SOLVER=OFF \ -DLLVM_INCLUDE_GO_TESTS=OFF \ -DLLVM_ENABLE_ZLIB=ON \ -DBUILD_SHARED_LIBS=ON \ -DLLVM_ENABLE_ZLIB=ON \ -DLLVM_ENABLE_PROJECTS="clang" \ -DCMAKE_C_COMPILER="$ORCHESTRA_ROOT/link-only/bin/clang" \ -DCMAKE_CXX_COMPILER="$ORCHESTRA_ROOT/link-only/bin/clang++" \ -Wno-dev "dependencies": - |- host-libcxx - |- libunwind - |- zlib - |- ncurses "install": | cd "$BUILD_DIR" ninja ${JOBS:+-j$JOBS} install CLANG_RELEASE_IDX="$ORCHESTRA_ROOT/share/orchestra/clang-release.idx" if [ -e "$CLANG_RELEASE_IDX" ]; then cat "$CLANG_RELEASE_IDX" | while read f; do rm "${TMP_ROOT}${ORCHESTRA_ROOT}/$f" || true done fi if test "$RUN_TESTS" -eq 1; then ninja ${JOBS:+-j$JOBS} check-all fi "ndebug": !!bool |- false "optimized": "build_dependencies": - |- cmake - |- host-cxx-toolchain "configure": | mkdir -p "$BUILD_DIR" cd "$BUILD_DIR"; cmake \ -DCMAKE_EXPORT_COMPILE_COMMANDS=ON \ -DCMAKE_INSTALL_SO_NO_EXE=0 \ -DCMAKE_INSTALL_PREFIX="$ORCHESTRA_ROOT" \ -DCMAKE_PREFIX_PATH="$ORCHESTRA_ROOT" \ "$SOURCE_DIR/llvm" \ -GNinja \ -DCMAKE_BUILD_RPATH="\$ORIGIN/../lib:$ORCHESTRA_ROOT/lib" \ -DCMAKE_INSTALL_RPATH="$RPATH_PLACEHOLDER/lib" \ -DCMAKE_BUILD_TYPE="Debug" \ -DCMAKE_EXE_LINKER_FLAGS="-ggdb3 -O2 -fno-omit-frame-pointer " \ -DCMAKE_SHARED_LINKER_FLAGS="-ggdb3 -O2 -fno-omit-frame-pointer " \ -DCMAKE_MODULE_LINKER_FLAGS="-ggdb3 -O2 -fno-omit-frame-pointer " \ -DCMAKE_CXX_FLAGS="-ggdb3 -O2 -fno-omit-frame-pointer " \ -DLLVM_TARGETS_TO_BUILD="AArch64;AMDGPU;ARM;Mips;SystemZ;X86" \ -DLLVM_INSTALL_UTILS=ON \ -DLLVM_ENABLE_DUMP=ON \ -DLLVM_ENABLE_TERMINFO=OFF \ -DLIBCXX_ENABLE_ABI_LINKER_SCRIPT=OFF \ -DCMAKE_CXX_STANDARD=20 \ -DLLVM_ENABLE_Z3_SOLVER=OFF \ -DLLVM_INCLUDE_GO_TESTS=OFF \ -DLLVM_ENABLE_ZLIB=ON \ -DBUILD_SHARED_LIBS=ON \ -DLLVM_ENABLE_ZLIB=ON \ -DLLVM_ENABLE_PROJECTS="clang" \ -DCMAKE_C_COMPILER="$ORCHESTRA_ROOT/link-only/bin/clang" \ -DCMAKE_CXX_COMPILER="$ORCHESTRA_ROOT/link-only/bin/clang++" \ -Wno-dev "dependencies": - |- host-libcxx - |- libunwind - |- zlib - |- ncurses "install": | cd "$BUILD_DIR" ninja ${JOBS:+-j$JOBS} install CLANG_RELEASE_IDX="$ORCHESTRA_ROOT/share/orchestra/clang-release.idx" if [ -e "$CLANG_RELEASE_IDX" ]; then cat "$CLANG_RELEASE_IDX" | while read f; do rm "${TMP_ROOT}${ORCHESTRA_ROOT}/$f" || true done fi if test "$RUN_TESTS" -eq 1; then ninja ${JOBS:+-j$JOBS} check-all fi "ndebug": !!bool |- false "release": "build_dependencies": - |- cmake - |- host-cxx-toolchain "configure": | mkdir -p "$BUILD_DIR" cd "$BUILD_DIR"; cmake \ -DCMAKE_EXPORT_COMPILE_COMMANDS=ON \ -DCMAKE_INSTALL_SO_NO_EXE=0 \ -DCMAKE_INSTALL_PREFIX="$ORCHESTRA_ROOT" \ -DCMAKE_PREFIX_PATH="$ORCHESTRA_ROOT" \ "$SOURCE_DIR/llvm" \ -GNinja \ -DCMAKE_BUILD_RPATH="\$ORIGIN/../lib:$ORCHESTRA_ROOT/lib" \ -DCMAKE_INSTALL_RPATH="$RPATH_PLACEHOLDER/lib" \ -DCMAKE_BUILD_TYPE="Release" \ -DCMAKE_EXE_LINKER_FLAGS="-ggdb3 -O2 " \ -DCMAKE_SHARED_LINKER_FLAGS="-ggdb3 -O2 " \ -DCMAKE_MODULE_LINKER_FLAGS="-ggdb3 -O2 " \ -DCMAKE_CXX_FLAGS="-ggdb3 -O2 " \ -DLLVM_TARGETS_TO_BUILD="AArch64;AMDGPU;ARM;Mips;SystemZ;X86" \ -DLLVM_INSTALL_UTILS=ON \ -DLLVM_ENABLE_DUMP=ON \ -DLLVM_ENABLE_TERMINFO=OFF \ -DLIBCXX_ENABLE_ABI_LINKER_SCRIPT=OFF \ -DCMAKE_CXX_STANDARD=20 \ -DLLVM_ENABLE_Z3_SOLVER=OFF \ -DLLVM_INCLUDE_GO_TESTS=OFF \ -DLLVM_ENABLE_ZLIB=ON \ -DBUILD_SHARED_LIBS=ON \ -DLLVM_ENABLE_ZLIB=ON \ -DLLVM_ENABLE_PROJECTS="clang" \ -DCMAKE_C_COMPILER="$ORCHESTRA_ROOT/link-only/bin/clang" \ -DCMAKE_CXX_COMPILER="$ORCHESTRA_ROOT/link-only/bin/clang++" \ -Wno-dev "dependencies": - |- host-libcxx - |- libunwind - |- zlib - |- ncurses "install": | cd "$BUILD_DIR" ninja ${JOBS:+-j$JOBS} install CLANG_RELEASE_IDX="$ORCHESTRA_ROOT/share/orchestra/clang-release.idx" if [ -e "$CLANG_RELEASE_IDX" ]; then cat "$CLANG_RELEASE_IDX" | while read f; do rm "${TMP_ROOT}${ORCHESTRA_ROOT}/$f" || true done fi if test "$RUN_TESTS" -eq 1; then ninja ${JOBS:+-j$JOBS} check-all fi "ndebug": !!bool |- true "commit": |- d039960b65830ac8cf8c26d19aeb1911851a4eb9 "default_build": |- optimized "license": |- llvm/LICENSE.TXT "repository": |- llvm-project "skip_post_install": !!bool |- false - "add_to_path": [] "builds": "default": "build_dependencies": - |- cmake "configure": | rm -rf "$BUILD_DIR" mkdir -p $(dirname "$BUILD_DIR") cp -farl "$SOURCE_DIR" "$BUILD_DIR" mkdir -p "$BUILD_DIR/build" sed 's|FILE_PATTERNS|#FILE_PATTERNS|' -i "$BUILD_DIR"/*/docs/doxygen.cfg.in cd "$BUILD_DIR/build"; cmake "$BUILD_DIR/llvm" \ -DCMAKE_BUILD_TYPE="Debug" \ -DLLVM_BUILD_DOCS=ON \ -DLLVM_ENABLE_DOXYGEN=ON \ -DLLVM_DOXYGEN_SVG=ON \ -DLLVM_TARGETS_TO_BUILD="X86" \ -DBUILD_SHARED_LIBS=ON \ -DLLVM_ENABLE_PROJECTS="clang" \ -Wno-dev "dependencies": - |- llvm "install": | if ! test -s "$BUILD_DIR/build/docs/doxygen/html/Makefile"; then make ${JOBS:+-j$JOBS} -C "$BUILD_DIR/build" doxygen-llvm make ${JOBS:+-j$JOBS} -C "$BUILD_DIR/build" doxygen-clang fi cd $BUILD_DIR/build/docs/doxygen/html sed -i 's|$(XCODE_INSTALL)/usr/bin/docsetutil|'$ORCHESTRA_DOTDIR'/support/docsetutil|' Makefile sed -i 's|XCODE_INSTALL="$(shell xcode-select -print-path)"||' Makefile sed -i 's|<string>doxygen</string>|<string>llvm</string>|' Info.plist sed -i 's|</dict>|<key>isJavaScriptEnabled</key><true/>\n</dict>|' Info.plist make ${JOBS:+-j$JOBS} find llvm.docset/Contents/Resources/Documents -iname "*.html" | xargs -n 10 sed -i -s 's/ inherit / /' download_file.sh "$BUILD_DIR/build/docs/doxygen/html/llvm.docset/Contents/Resources/Documents" \ "https://opensource.apple.com/source/lldb/lldb-310.2.36/www/cpp_reference/html" \ "dynsections.js" cd $BUILD_DIR/build/tools/clang/docs/doxygen/html sed -i 's|$(XCODE_INSTALL)/usr/bin/docsetutil|'$ORCHESTRA_DOTDIR'/support/docsetutil|' Makefile sed -i 's|XCODE_INSTALL="$(shell xcode-select -print-path)"||' Makefile sed -i 's|<string>doxygen</string>|<string>clang</string>|' Info.plist sed -i 's|</dict>|<key>isJavaScriptEnabled</key><true/>\n</dict>|' Info.plist make ${JOBS:+-j$JOBS} find clang.docset/Contents/Resources/Documents -iname "*.html" | xargs -n 10 sed -i -s 's/ inherit / /' download_file.sh "$BUILD_DIR/build/tools/clang/docs/doxygen/html/clang.docset/Contents/Resources/Documents" \ "https://opensource.apple.com/source/lldb/lldb-310.2.36/www/cpp_reference/html" \ "dynsections.js" mkdir -p "${DESTDIR}${ORCHESTRA_ROOT}/share/doc/llvm" cp -farl "$BUILD_DIR/build/docs/doxygen/html/llvm.docset" "${DESTDIR}${ORCHESTRA_ROOT}/share/doc/llvm" mkdir -p "${DESTDIR}${ORCHESTRA_ROOT}/share/doc/clang" cp -farl "$BUILD_DIR/build/tools/clang/docs/doxygen/html/clang.docset" "${DESTDIR}${ORCHESTRA_ROOT}/share/doc/clang" cat <<EOF To install the Zeal docset run the following commands from command line: ZEAL_PATH="\${XDG_DATA_HOME:-\$HOME/.local/share}/Zeal/Zeal/docsets/" ln -s \$(realpath -m --relative-to "\$ZEAL_PATH" \$ORCHESTRA_ROOT/share/doc/llvm/llvm.docset) "\$ZEAL_PATH" ln -s \$(realpath -m --relative-to "\$ZEAL_PATH" \$ORCHESTRA_ROOT/share/doc/clang/clang.docset) "\$ZEAL_PATH" EOF "ndebug": !!bool |- true "commit": |- d039960b65830ac8cf8c26d19aeb1911851a4eb9 "default_build": |- default "license": |- llvm/LICENSE.TXT "repository": |- llvm-project "skip_post_install": !!bool |- false - "add_to_path": [] "builds": "default": "build_dependencies": - |- glibc "configure": | mkdir -p "$BUILD_DIR" extract.sh --into "$BUILD_DIR" https://ftp.gnu.org/gnu/mpc//mpc-1.1.0.tar.gz cd "$BUILD_DIR" && ./configure \ --prefix="$ORCHESTRA_ROOT" \ --with-gmp="$ORCHESTRA_ROOT" \ --with-mpfr="$ORCHESTRA_ROOT" \ --enable-shared=no \ CFLAGS="-fPIC" \ CXXFLAGS="-fPIC" \ LDFLAGS="-static-libgcc" "dependencies": - |- gmp - |- mpfr "install": | cd "$BUILD_DIR" make ${JOBS:+-j$JOBS} make ${JOBS:+-j$JOBS} install DESTDIR="$DESTDIR" "ndebug": !!bool |- true "commit": !!null |- null "default_build": |- default "license": |- COPYING.LESSER "repository": !!null |- null "skip_post_install": !!bool |- false - "add_to_path": [] "builds": "default": "build_dependencies": - |- glibc "configure": | mkdir -p "$BUILD_DIR" extract.sh --into "$BUILD_DIR" https://www.mpfr.org/mpfr-4.1.0/mpfr-4.1.0.tar.xz cd "$BUILD_DIR" && ./configure \ --prefix="$ORCHESTRA_ROOT" \ --with-gmp="$ORCHESTRA_ROOT" \ --enable-shared=no \ CFLAGS="-fPIC" \ CXXFLAGS="-fPIC" \ LDFLAGS="-static-libgcc" "dependencies": - |- gmp "install": | cd "$BUILD_DIR" make ${JOBS:+-j$JOBS} make ${JOBS:+-j$JOBS} install DESTDIR="$DESTDIR" "ndebug": !!bool |- true "commit": !!null |- null "default_build": |- default "license": |- COPYING "repository": !!null |- null "skip_post_install": !!bool |- false - "add_to_path": [] "builds": "default": "build_dependencies": - |- gcc-host-toolchain - |- glibc "configure": | mkdir -p "$BUILD_DIR" extract.sh --into "$BUILD_DIR" https://ftp.gnu.org/pub/gnu/ncurses/ncurses-6.2.tar.gz cd "$BUILD_DIR" ./configure \ --disable-stripping \ --disable-term-driver \ --disable-termcap \ --disable-widec \ --enable-colorfgbg \ --enable-const \ --enable-echo \ --enable-hard-tabs \ --enable-leaks \ --enable-overwrite \ --enable-symlinks \ --enable-warnings \ --with-cxx \ --with-cxx-binding \ --with-cxx-shared \ --with-macros \ --with-manpage-format=normal \ --with-progs \ --with-rcs-ids \ --with-shared \ --with-termlib \ --without-ada \ --without-assertions \ --without-debug \ --without-dlsym \ --without-expanded \ --without-gpm \ --without-hashed-db \ --without-profile \ --without-tack \ --without-tests \ --without-trace \ --prefix="$ORCHESTRA_ROOT" "dependencies": [] "install": | cd "$BUILD_DIR" make ${JOBS:+-j$JOBS} make ${JOBS:+-j$JOBS} install DESTDIR="$DESTDIR" "ndebug": !!bool |- true "commit": !!null |- null "default_build": |- default "license": |- COPYING "repository": !!null |- null "skip_post_install": !!bool |- false - "add_to_path": - |- ${ORCHESTRA_ROOT}/x86_64-pc-linux-gnu/x86_64-pc-linux-gnu/binutils-bin/2.37 "builds": "default": "build_dependencies": - |- glibc - |- toolchain/host/gcc "configure": | extract.sh --into "$SOURCE_DIR" https://ftp.gnu.org/gnu/binutils/binutils-2.37.tar.bz2 mkdir -p "$BUILD_DIR" cd "$BUILD_DIR" && "$SOURCE_DIR/configure" \ --build=x86_64-pc-linux-gnu \ --host=x86_64-pc-linux-gnu \ --target=x86_64-pc-linux-gnu \ --with-sysroot="$ORCHESTRA_ROOT/x86_64-pc-linux-gnu" \ --prefix=$ORCHESTRA_ROOT \ --datadir=$ORCHESTRA_ROOT/share/binutils-data/x86_64-pc-linux-gnu/2.37 \ --infodir=$ORCHESTRA_ROOT/share/binutils-data/x86_64-pc-linux-gnu/2.37/info \ --mandir=$ORCHESTRA_ROOT/share/binutils-data/x86_64-pc-linux-gnu/2.37/man \ --bindir=$ORCHESTRA_ROOT/x86_64-pc-linux-gnu/x86_64-pc-linux-gnu/binutils-bin/2.37 \ --libdir=$ORCHESTRA_ROOT/lib64/binutils/x86_64-pc-linux-gnu/2.37 \ --libexecdir=$ORCHESTRA_ROOT/lib64/binutils/x86_64-pc-linux-gnu/2.37 \ --includedir=$ORCHESTRA_ROOT/lib64/binutils/x86_64-pc-linux-gnu/2.37/include \ --without-included-gettext \ --with-zlib \ --enable-poison-system-directories \ --enable-secureplt \ --enable-obsolete \ --enable-gold \ --disable-shared \ --enable-threads \ --enable-install-libiberty \ --disable-werror \ --disable-static \ --disable-gdb \ --disable-libdecnumber \ --disable-readline \ --disable-sim \ --without-debuginfod \ --without-stage1-ldflags \ --enable-gold=default \ CFLAGS="-w -ggdb3 -O3" \ CXXFLAGS="-w -ggdb3 -O3" "dependencies": [] "install": | cd "$BUILD_DIR" make ${JOBS:+-j$JOBS} make ${JOBS:+-j$JOBS} install DESTDIR="$DESTDIR" "ndebug": !!bool |- true "commit": !!null |- null "default_build": |- default "license": |- COPYING "repository": !!null |- null "skip_post_install": !!bool |- false - "add_to_path": - |- ${ORCHESTRA_ROOT}/x86_64-pc-linux-gnu/x86_64-pc-linux-gnu/gcc-bin/11.2.0 "builds": "stage1": "build_dependencies": - |- glibc - |- gmp - |- mpfr - |- mpc "configure": | extract.sh --into "$SOURCE_DIR" "https://ftp.gnu.org/gnu/gcc/gcc-11.2.0/gcc-11.2.0.tar.gz" patch-if-exists "${ORCHESTRA_DOTDIR}/patches/gcc-11.2.0-cfns-fix-mismatch-in-gnu_inline-attributes.patch" "$SOURCE_DIR" patch-if-exists "${ORCHESTRA_DOTDIR}/patches/gcc-11.2.0-cpp-musl-support.patch" "$SOURCE_DIR" patch-if-exists "${ORCHESTRA_DOTDIR}/patches/gcc-11.2.0-fixes.patch" "$SOURCE_DIR" sed -i 's|gcc_gxx_include_dir="${gcc_gxx_without_sysroot}"|gcc_gxx_include_dir="/${gcc_gxx_without_sysroot#/}"|' "$SOURCE_DIR/gcc/configure" sed -i "s|SHLIB_LINK = .(CC)|\0 -L$ORCHESTRA_ROOT/link-only/lib|" "$SOURCE_DIR/libgcc/config/t-slibgcc" sed -i 's|@multilib_flags@||' "$SOURCE_DIR/libgcc/config/t-slibgcc" mkdir -p "$BUILD_DIR" cd "$BUILD_DIR" && "$SOURCE_DIR/configure" \ --host=x86_64-pc-linux-gnu \ --build=x86_64-pc-linux-gnu \ --target=x86_64-pc-linux-gnu \ --prefix=$ORCHESTRA_ROOT \ --bindir=$ORCHESTRA_ROOT/x86_64-pc-linux-gnu/x86_64-pc-linux-gnu/gcc-bin/11.2.0 \ --includedir=$ORCHESTRA_ROOT/lib/gcc/x86_64-pc-linux-gnu/11.2.0/include \ --datadir=$ORCHESTRA_ROOT/share/gcc-data/x86_64-pc-linux-gnu/11.2.0 \ --mandir=$ORCHESTRA_ROOT/share/gcc-data/x86_64-pc-linux-gnu/11.2.0/man \ --infodir=$ORCHESTRA_ROOT/share/gcc-data/x86_64-pc-linux-gnu/11.2.0/info \ --with-sysroot=/ \ --enable-obsolete \ --enable-secureplt \ --disable-werror \ --enable-nls \ --without-included-gettext \ --enable-checking=release \ --enable-libstdcxx-time \ --enable-poison-system-directories \ --disable-host-shared \ --enable-shared \ --disable-libatomic \ --disable-bootstrap \ --disable-multilib \ --disable-altivec \ --disable-fixed-point \ --disable-libgcj \ --disable-libgomp \ --disable-libmudflap \ --disable-libssp \ --disable-libcilkrts \ --disable-vtable-verify \ --disable-libvtv \ --disable-libquadmath \ --disable-rpath \ --enable-lto \ --disable-vtable-verify \ --disable-libsanitizer \ --with-gmp="$ORCHESTRA_ROOT" \ --with-mpfr="$ORCHESTRA_ROOT" \ --with-mpc="$ORCHESTRA_ROOT" \ --without-zstd \ --without-cloog \ --enable-libsanitizer \ --enable-libssp \ --enable-shared \ --enable-libatomic \ --enable-libquadmath \ --enable-esp \ --disable-libstdcxx-pch \ --enable-threads=posix \ --enable-__cxa_atexit \ --enable-clocale=gnu \ --disable-altivec \ --disable-fixed-point \ --enable-targets=all \ --enable-libgomp \ --disable-libmudflap \ --disable-libssp \ --disable-systemtap \ --enable-lto \ --without-isl \ --enable-default-pie \ --enable-default-ssp \ --enable-libmpx \ CFLAGS_FOR_TARGET="-I/usr/include/tirpc -I$ORCHESTRA_ROOT/link-only/include" \ CXXFLAGS_FOR_TARGET="-I/usr/include/tirpc -I$ORCHESTRA_ROOT/link-only/include" \ LDFLAGS_FOR_TARGET="-L$INSTALL_LINK_ONLY_PATH/lib -L$ORCHESTRA_ROOT/lib -lrt --sysroot=/ -Wl,-z,origin -Wl,--enable-new-dtags -Wl,-rpath,$RPATH_PLACEHOLDER/lib" \ --enable-languages=c \ CFLAGS="-w -ggdb3 -O3 --sysroot $INSTALL_LINK_ONLY_PATH -idirafter /usr/local/include -idirafter /usr/include/x86_64-linux-gnu -idirafter /usr/include" \ CXXFLAGS="-w -ggdb3 -O3 --sysroot $INSTALL_LINK_ONLY_PATH -idirafter /usr/local/include -idirafter /usr/include/x86_64-linux-gnu -idirafter /usr/include -std=gnu++11" \ LDFLAGS="-L$INSTALL_LINK_ONLY_PATH/lib -L$ORCHESTRA_ROOT/lib -lrt --sysroot=/ -Wl,-z,origin -Wl,--enable-new-dtags -fuse-ld=gold -Wl,-rpath,$RPATH_PLACEHOLDER/lib -static-libgcc" "dependencies": [] "install": | cd "$BUILD_DIR" make ${JOBS:+-j$JOBS} LIBRARY_PATH=/usr/lib/x86_64-linux-gnu make install LIBRARY_PATH=/usr/lib/x86_64-linux-gnu NEW_GCC_PATH="$ORCHESTRA_ROOT/x86_64-pc-linux-gnu/x86_64-pc-linux-gnu/gcc-bin/11.2.0/" if test -e "${DESTDIR}${NEW_GCC_PATH}/gcc"; then if ! test -e "${DESTDIR}${NEW_GCC_PATH}/cc"; then ln -s gcc "${DESTDIR}${NEW_GCC_PATH}/cc" fi mkdir -p "${DESTDIR}${ORCHESTRA_ROOT}/link-only/bin" cp "${ORCHESTRA_DOTDIR}/support/hard-flags-compiler-wrapper.py" "${DESTDIR}${ORCHESTRA_ROOT}/link-only/bin/gcc" ln -s gcc "${DESTDIR}${ORCHESTRA_ROOT}/link-only/bin/cc" ln -s gcc "${DESTDIR}${ORCHESTRA_ROOT}/link-only/bin/x86_64-pc-linux-gnu-cc" ln -s gcc "${DESTDIR}${ORCHESTRA_ROOT}/link-only/bin/x86_64-pc-linux-gnu-gcc" cp -a "${DESTDIR}${ORCHESTRA_ROOT}"/lib/gcc/x86_64-pc-linux-gnu/11.2.0/*.{a,o} "${DESTDIR}${ORCHESTRA_ROOT}"/lib/ fi if test -e "${DESTDIR}${NEW_GCC_PATH}/g++"; then if ! test -e "${DESTDIR}${NEW_GCC_PATH}/c++"; then ln -s g++ "${DESTDIR}${NEW_GCC_PATH}/c++" fi cp "${ORCHESTRA_DOTDIR}/support/hard-flags-compiler-wrapper.py" "${DESTDIR}${ORCHESTRA_ROOT}/link-only/bin/g++" ln -s g++ "${DESTDIR}${ORCHESTRA_ROOT}/link-only/bin/x86_64-pc-linux-gnu-g++" mkdir -p "${DESTDIR}${ORCHESTRA_ROOT}/link-only/bin" ln -s g++ "${DESTDIR}${ORCHESTRA_ROOT}/link-only/bin/c++" ln -s g++ "${DESTDIR}${ORCHESTRA_ROOT}/link-only/bin/x86_64-pc-linux-gnu-c++" fi rm -f "${DESTDIR}${ORCHESTRA_ROOT}"/lib64/libcc1.* # Fixinclude locates the wrong pthread.h find "${DESTDIR}${ORCHESTRA_ROOT}" -type d -name include-fixed -exec rm -f {}/pthread.h \; "ndebug": !!bool |- true "stage2": "build_dependencies": - |- glibc - |- gmp - |- mpfr - |- mpc "configure": | extract.sh --into "$SOURCE_DIR" "https://ftp.gnu.org/gnu/gcc/gcc-11.2.0/gcc-11.2.0.tar.gz" patch-if-exists "${ORCHESTRA_DOTDIR}/patches/gcc-11.2.0-cfns-fix-mismatch-in-gnu_inline-attributes.patch" "$SOURCE_DIR" patch-if-exists "${ORCHESTRA_DOTDIR}/patches/gcc-11.2.0-cpp-musl-support.patch" "$SOURCE_DIR" patch-if-exists "${ORCHESTRA_DOTDIR}/patches/gcc-11.2.0-fixes.patch" "$SOURCE_DIR" sed -i 's|gcc_gxx_include_dir="${gcc_gxx_without_sysroot}"|gcc_gxx_include_dir="/${gcc_gxx_without_sysroot#/}"|' "$SOURCE_DIR/gcc/configure" sed -i "s|SHLIB_LINK = .(CC)|\0 -L$ORCHESTRA_ROOT/link-only/lib|" "$SOURCE_DIR/libgcc/config/t-slibgcc" sed -i 's|@multilib_flags@||' "$SOURCE_DIR/libgcc/config/t-slibgcc" mkdir -p "$BUILD_DIR" cd "$BUILD_DIR" && "$SOURCE_DIR/configure" \ --host=x86_64-pc-linux-gnu \ --build=x86_64-pc-linux-gnu \ --target=x86_64-pc-linux-gnu \ --prefix=$ORCHESTRA_ROOT \ --bindir=$ORCHESTRA_ROOT/x86_64-pc-linux-gnu/x86_64-pc-linux-gnu/gcc-bin/11.2.0 \ --includedir=$ORCHESTRA_ROOT/lib/gcc/x86_64-pc-linux-gnu/11.2.0/include \ --datadir=$ORCHESTRA_ROOT/share/gcc-data/x86_64-pc-linux-gnu/11.2.0 \ --mandir=$ORCHESTRA_ROOT/share/gcc-data/x86_64-pc-linux-gnu/11.2.0/man \ --infodir=$ORCHESTRA_ROOT/share/gcc-data/x86_64-pc-linux-gnu/11.2.0/info \ --with-sysroot=/ \ --enable-obsolete \ --enable-secureplt \ --disable-werror \ --enable-nls \ --without-included-gettext \ --enable-checking=release \ --enable-libstdcxx-time \ --enable-poison-system-directories \ --disable-host-shared \ --enable-shared \ --disable-libatomic \ --disable-bootstrap \ --disable-multilib \ --disable-altivec \ --disable-fixed-point \ --disable-libgcj \ --disable-libgomp \ --disable-libmudflap \ --disable-libssp \ --disable-libcilkrts \ --disable-vtable-verify \ --disable-libvtv \ --disable-libquadmath \ --disable-rpath \ --enable-lto \ --disable-vtable-verify \ --disable-libsanitizer \ --with-gmp="$ORCHESTRA_ROOT" \ --with-mpfr="$ORCHESTRA_ROOT" \ --with-mpc="$ORCHESTRA_ROOT" \ --without-zstd \ --without-cloog \ --enable-libsanitizer \ --enable-libssp \ --enable-shared \ --enable-libatomic \ --enable-libquadmath \ --enable-esp \ --disable-libstdcxx-pch \ --enable-threads=posix \ --enable-__cxa_atexit \ --enable-clocale=gnu \ --disable-altivec \ --disable-fixed-point \ --enable-targets=all \ --enable-libgomp \ --disable-libmudflap \ --disable-libssp \ --disable-systemtap \ --enable-lto \ --without-isl \ --enable-default-pie \ --enable-default-ssp \ --enable-libmpx \ CFLAGS_FOR_TARGET="-I/usr/include/tirpc -I$ORCHESTRA_ROOT/link-only/include" \ CXXFLAGS_FOR_TARGET="-I/usr/include/tirpc -I$ORCHESTRA_ROOT/link-only/include" \ LDFLAGS_FOR_TARGET="-L$INSTALL_LINK_ONLY_PATH/lib -L$ORCHESTRA_ROOT/lib -lrt --sysroot=/ -Wl,-z,origin -Wl,--enable-new-dtags -Wl,-rpath,$RPATH_PLACEHOLDER/lib" \ --enable-languages=c,c++ \ CFLAGS="-w -ggdb3 -O3 --sysroot $INSTALL_LINK_ONLY_PATH -idirafter /usr/local/include -idirafter /usr/include/x86_64-linux-gnu -idirafter /usr/include" \ CXXFLAGS="-w -ggdb3 -O3 --sysroot $INSTALL_LINK_ONLY_PATH -idirafter /usr/local/include -idirafter /usr/include/x86_64-linux-gnu -idirafter /usr/include -std=gnu++11" \ LDFLAGS="-L$INSTALL_LINK_ONLY_PATH/lib -L$ORCHESTRA_ROOT/lib -lrt --sysroot=/ -Wl,-z,origin -Wl,--enable-new-dtags -fuse-ld=gold -Wl,-rpath,$RPATH_PLACEHOLDER/lib -static-libgcc" "dependencies": [] "install": | cd "$BUILD_DIR" make ${JOBS:+-j$JOBS} LIBRARY_PATH=/usr/lib/x86_64-linux-gnu make install LIBRARY_PATH=/usr/lib/x86_64-linux-gnu NEW_GCC_PATH="$ORCHESTRA_ROOT/x86_64-pc-linux-gnu/x86_64-pc-linux-gnu/gcc-bin/11.2.0/" if test -e "${DESTDIR}${NEW_GCC_PATH}/gcc"; then if ! test -e "${DESTDIR}${NEW_GCC_PATH}/cc"; then ln -s gcc "${DESTDIR}${NEW_GCC_PATH}/cc" fi mkdir -p "${DESTDIR}${ORCHESTRA_ROOT}/link-only/bin" cp "${ORCHESTRA_DOTDIR}/support/hard-flags-compiler-wrapper.py" "${DESTDIR}${ORCHESTRA_ROOT}/link-only/bin/gcc" ln -s gcc "${DESTDIR}${ORCHESTRA_ROOT}/link-only/bin/cc" ln -s gcc "${DESTDIR}${ORCHESTRA_ROOT}/link-only/bin/x86_64-pc-linux-gnu-cc" ln -s gcc "${DESTDIR}${ORCHESTRA_ROOT}/link-only/bin/x86_64-pc-linux-gnu-gcc" cp -a "${DESTDIR}${ORCHESTRA_ROOT}"/lib/gcc/x86_64-pc-linux-gnu/11.2.0/*.{a,o} "${DESTDIR}${ORCHESTRA_ROOT}"/lib/ fi if test -e "${DESTDIR}${NEW_GCC_PATH}/g++"; then if ! test -e "${DESTDIR}${NEW_GCC_PATH}/c++"; then ln -s g++ "${DESTDIR}${NEW_GCC_PATH}/c++" fi cp "${ORCHESTRA_DOTDIR}/support/hard-flags-compiler-wrapper.py" "${DESTDIR}${ORCHESTRA_ROOT}/link-only/bin/g++" ln -s g++ "${DESTDIR}${ORCHESTRA_ROOT}/link-only/bin/x86_64-pc-linux-gnu-g++" mkdir -p "${DESTDIR}${ORCHESTRA_ROOT}/link-only/bin" ln -s g++ "${DESTDIR}${ORCHESTRA_ROOT}/link-only/bin/c++" ln -s g++ "${DESTDIR}${ORCHESTRA_ROOT}/link-only/bin/x86_64-pc-linux-gnu-c++" fi rm -f "${DESTDIR}${ORCHESTRA_ROOT}"/lib64/libcc1.* # Fixinclude locates the wrong pthread.h find "${DESTDIR}${ORCHESTRA_ROOT}" -type d -name include-fixed -exec rm -f {}/pthread.h \; "ndebug": !!bool |- true "commit": !!null |- null "default_build": |- stage2 "license": |- COPYING "repository": !!null |- null "skip_post_install": !!bool |- false - "add_to_path": [] "builds": "default": "build_dependencies": - |- gcc-host-toolchain - |- glibc "configure": | mkdir -p "$BUILD_DIR" extract.sh --into "$BUILD_DIR" https://zlib.net/zlib-1.2.11.tar.gz cd "$BUILD_DIR" ./configure \ --shared \ --uname=linux \ --prefix="$ORCHESTRA_ROOT" "dependencies": [] "install": | cd "$BUILD_DIR" make ${JOBS:+-j$JOBS} make ${JOBS:+-j$JOBS} install DESTDIR="$DESTDIR" "ndebug": !!bool |- true "commit": !!null |- null "default_build": |- default "license": |- README "repository": !!null |- null "skip_post_install": !!bool |- false