Lines Matching +full:- +full:dcmake_cxx_compiler
1 #!/bin/bash -eu
8 # http://www.apache.org/licenses/LICENSE-2.0
20 mkdir -p $DEPS_PATH
23 cmake -G "Unix Makefiles" \
24 -DCMAKE_C_COMPILER=$CC -DCMAKE_CXX_COMPILER=$CXX \
25 -DCMAKE_C_FLAGS="$CFLAGS" -DCMAKE_CXX_FLAGS="$CXXFLAGS" \
26 -DCMAKE_INSTALL_PREFIX="$DEPS_PATH" \
27 -DENABLE_SHARED:bool=off \
30 make -j$(nproc) x265-static
36 --prefix="$DEPS_PATH" \
37 --disable-shared \
38 --enable-static \
39 --disable-dec265 \
40 --disable-sherlock265 \
41 --disable-hdrcopy \
42 --disable-enc265 \
43 --disable-acceleration_speed
45 make -j$(nproc)
48 mkdir -p $SRC/aom/build/linux
50 cmake -G "Unix Makefiles" \
51 -DCMAKE_C_COMPILER=$CC -DCMAKE_CXX_COMPILER=$CXX \
52 -DCMAKE_C_FLAGS="$CFLAGS" -DCMAKE_CXX_FLAGS="$CXXFLAGS" \
53 -DCMAKE_INSTALL_PREFIX="$DEPS_PATH" \
54 -DENABLE_SHARED:bool=off -DCONFIG_PIC=1 \
55 -DENABLE_EXAMPLES=0 -DENABLE_DOCS=0 -DENABLE_TESTS=0 \
56 -DCONFIG_SIZE_LIMIT=1 \
57 -DDECODE_HEIGHT_LIMIT=12288 -DDECODE_WIDTH_LIMIT=12288 \
58 -DDO_RANGE_CHECK_CLAMP=1 \
59 -DAOM_MAX_ALLOCABLE_MEMORY=536870912 \
60 -DAOM_TARGET_CPU=generic \
63 make -j$(nproc)
67 rm -f $DEPS_PATH/lib/*.so
68 rm -f $DEPS_PATH/lib/*.so.*
72 PKG_CONFIG="pkg-config --static" PKG_CONFIG_PATH="$DEPS_PATH/lib/pkgconfig" ./configure \
73 --disable-shared \
74 --enable-static \
75 --disable-examples \
76 --disable-go \
77 --enable-libfuzzer="$LIB_FUZZING_ENGINE"
79 make -j$(nproc)
81 cp libheif/*-fuzzer $OUT
82 cp fuzzing/dictionary.txt $OUT/box-fuzzer.dict
83 cp fuzzing/dictionary.txt $OUT/file-fuzzer.dict
85 zip -r $OUT/file-fuzzer_seed_corpus.zip fuzzing/corpus/*.heic