mirror of https://github.com/google/oss-fuzz.git
[woff2] Do actual checkout in build.sh. Use dummy repo in Jenkinsfile.
This commit is contained in:
parent
92c1c481d0
commit
1eddcd93ca
|
@ -19,5 +19,7 @@ def libfuzzerBuild = fileLoader.fromGit('infra/libfuzzer-pipeline.groovy',
|
||||||
'master', null, '')
|
'master', null, '')
|
||||||
|
|
||||||
libfuzzerBuild {
|
libfuzzerBuild {
|
||||||
git = "https://github.com/google/woff2"
|
// We need to do 'clone --recursive' (to checkout submodules as well).
|
||||||
|
// The below is just a dummy. Actual checkout is being done in build.sh.
|
||||||
|
git = "https://github.com/google/oss-fuzz"
|
||||||
}
|
}
|
||||||
|
|
|
@ -15,14 +15,14 @@
|
||||||
#
|
#
|
||||||
################################################################################
|
################################################################################
|
||||||
|
|
||||||
cd /src/woff2
|
# Checkout woff2 repository with submodules.
|
||||||
|
mkdir -p /work/woff2
|
||||||
# Checkout and update submodules.
|
cd /work/woff2
|
||||||
git submodule init || true
|
git clone https://github.com/google/woff2 --recursive
|
||||||
git submodule update --recursive
|
|
||||||
|
|
||||||
# Build the library. Actually there is no 'library' target, so we use .o files.
|
# Build the library. Actually there is no 'library' target, so we use .o files.
|
||||||
# '-no-canonical-prefixes' flag makes clang crazy. Need to avoid it.
|
# '-no-canonical-prefixes' flag makes clang crazy. Need to avoid it.
|
||||||
|
cd woff2
|
||||||
cat brotli/shared.mk | sed -e "s/-no-canonical-prefixes//" \
|
cat brotli/shared.mk | sed -e "s/-no-canonical-prefixes//" \
|
||||||
> brotli/shared.mk.temp
|
> brotli/shared.mk.temp
|
||||||
mv brotli/shared.mk.temp brotli/shared.mk
|
mv brotli/shared.mk.temp brotli/shared.mk
|
||||||
|
|
Loading…
Reference in New Issue