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, '')
|
||||
|
||||
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 and update submodules.
|
||||
git submodule init || true
|
||||
git submodule update --recursive
|
||||
# Checkout woff2 repository with submodules.
|
||||
mkdir -p /work/woff2
|
||||
cd /work/woff2
|
||||
git clone https://github.com/google/woff2 --recursive
|
||||
|
||||
# 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.
|
||||
cd woff2
|
||||
cat brotli/shared.mk | sed -e "s/-no-canonical-prefixes//" \
|
||||
> brotli/shared.mk.temp
|
||||
mv brotli/shared.mk.temp brotli/shared.mk
|
||||
|
|
Loading…
Reference in New Issue