61debb00e5
Otherwise the entire build cache effectively invalidates the moment one script changes..
22 lines
586 B
Bash
Executable file
22 lines
586 B
Bash
Executable file
#!/bin/bash
|
|
|
|
SCRIPT_REPO="https://github.com/ARMmbed/mbedtls.git"
|
|
SCRIPT_COMMIT="v3.4.0"
|
|
SCRIPT_TAGFILTER="v3.*"
|
|
|
|
ffbuild_enabled() {
|
|
return 0
|
|
}
|
|
|
|
ffbuild_dockerbuild() {
|
|
cd "$FFBUILD_DLDIR/$SELF"
|
|
|
|
mkdir build && cd build
|
|
|
|
cmake -DCMAKE_TOOLCHAIN_FILE="$FFBUILD_CMAKE_TOOLCHAIN" -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX="$FFBUILD_PREFIX" \
|
|
-DENABLE_PROGRAMS=OFF -DENABLE_TESTING=OFF -DGEN_FILES=ON \
|
|
-DUSE_STATIC_MBEDTLS_LIBRARY=ON -DUSE_SHARED_MBEDTLS_LIBRARY=OFF -DINSTALL_MBEDTLS_HEADERS=ON \
|
|
..
|
|
make -j$(nproc)
|
|
make install
|
|
}
|