Skip to content
Snippets Groups Projects
none_23dd6221f6d3efe05000447875546ca729358c8a.hash-material.yml 292.18 KiB
- "add_to_path": []
  "builds":
    "default":
      "build_dependencies":
      - |-
        host-cxx-toolchain
      "configure": |
        mkdir -p "$BUILD_DIR"

        extract.sh --into "$BUILD_DIR" "https://downloads.sourceforge.net/project/boost/boost/1.72.0/boost_1_72_0.tar.bz2"
        patch-if-exists "${ORCHESTRA_DOTDIR}/patches/boost-1.63.0-icl-disable-LessThanComparableConcept.patch" "$BUILD_DIR"
        cd "$BUILD_DIR"

        ./bootstrap.sh \
          --prefix="$ORCHESTRA_ROOT" \
          --with-libraries=regex,test \
          --without-icu
      "dependencies":
      - |-
        host-libcxx
      - |-
        libunwind
      "install": |+
        cd "$BUILD_DIR"

        ./b2 \
          --prefix="${DESTDIR}${ORCHESTRA_ROOT}" \
          --ignore-site-config toolset='clang'

        ./b2 \
          --prefix="${DESTDIR}${ORCHESTRA_ROOT}" \
          --ignore-site-config toolset='clang' \
          install

      "ndebug": !!bool |-
        true
  "commit": !!null |-
    null
  "default_build": |-
    default
  "license": |-
    LICENSE_1_0.txt
  "repository": !!null |-
    null
  "skip_post_install": !!bool |-
    false
- "add_to_path": []
  "builds":
    "default":
      "build_dependencies":
      - |-
        host-c-toolchain
      "configure": |
        mkdir -p "$BUILD_DIR"
        extract.sh --into "$BUILD_DIR" https://sourceware.org/pub/bzip2/bzip2-1.0.8.tar.gz

        sed 's/-Winline//g' -i "$BUILD_DIR"/Makefile*
      "dependencies": []
      "install": |+
        cd "$BUILD_DIR"

        # Build
        make ${JOBS:+-j$JOBS} -f Makefile-libbz2_so PREFIX=/
        make ${JOBS:+-j$JOBS} bzip2 bzip2recover PREFIX=/

        # Install
        INSTALLDIR="${DESTDIR}${ORCHESTRA_ROOT}"
        install -dm755 "$INSTALLDIR"/{bin,lib64,include,lib64/pkgconfig}

        install -m755 bzip2-shared "$INSTALLDIR"/bin/bzip2