123456789101112131415161718 |
- #!/bin/bash
- SCRIPT_REPO="https://github.com/google/brotli.git"
- SCRIPT_COMMIT="841f672884d2d67aae9dcf4725860aafadc5da2b"
- ffbuild_enabled() {
- return 0
- }
- ffbuild_dockerbuild() {
- mkdir build && cd build
- cmake -G Ninja -DCMAKE_TOOLCHAIN_FILE="$FFBUILD_CMAKE_TOOLCHAIN" -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX="$FFBUILD_PREFIX" \
- -DCMAKE_POSITION_INDEPENDENT_CODE=ON -DBUILD_SHARED_LIBS=OFF ..
- ninja -j$(nproc)
- ninja install
- }
|