mirror of https://github.com/google/oss-fuzz.git
* Add `$origin` in rpath for missing library. * Update unit test version Signed-off-by: Shen-Ta Hsieh <beststeve@secondstate.io>
This commit is contained in:
parent
7c3296b6bc
commit
0707607b81
|
@ -29,7 +29,7 @@ RUN git clone https://github.com/WasmEdge/WasmEdge.git
|
|||
|
||||
ADD "https://api.github.com/repos/second-state/WasmEdge-unittest/commits?per_page=1&sha=wasm-dev-0.11.0" latest_commit
|
||||
RUN rm latest_commit
|
||||
RUN git clone --branch wasm-dev-0.11.0 https://github.com/second-state/WasmEdge-unittest.git
|
||||
RUN git clone --branch wasm-dev-0.13.0 https://github.com/second-state/WasmEdge-unittest.git
|
||||
|
||||
COPY build.sh $SRC/
|
||||
WORKDIR $SRC
|
||||
|
|
|
@ -35,6 +35,7 @@ cmake -GNinja -Bbuild -DCMAKE_BUILD_TYPE=RelWithDebInfo \
|
|||
.
|
||||
ninja -C build
|
||||
cp -a build/lib/api/libwasmedge*.so* build/tools/fuzz/wasmedge-fuzz* "$OUT"/
|
||||
patchelf --set-rpath \$ORIGIN "$OUT"/libwasmedge*.so*
|
||||
cd utils/corpus/po
|
||||
zip -9 "$OUT/wasmedge-fuzzpo_seed_corpus.zip" -R '*.txt'
|
||||
cd -
|
||||
|
|
Loading…
Reference in New Issue