diff --git a/.DS_Store b/.DS_Store deleted file mode 100644 index 7c4bc7bae..000000000 Binary files a/.DS_Store and /dev/null differ diff --git a/projects/.DS_Store b/projects/.DS_Store deleted file mode 100644 index b20e987f5..000000000 Binary files a/projects/.DS_Store and /dev/null differ diff --git a/projects/immer/Dockerfile b/projects/immer/Dockerfile new file mode 100644 index 000000000..6605b72b6 --- /dev/null +++ b/projects/immer/Dockerfile @@ -0,0 +1,21 @@ +# Copyright 2020 Google Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# +################################################################################ + +FROM gcr.io/oss-fuzz-base/base-builder +RUN apt-get update && apt-get install -y cmake libgc-dev +RUN git clone --depth 1 https://github.com/arximboldi/immer.git immer +WORKDIR immer +COPY build.sh $SRC/ diff --git a/projects/immer/build.sh b/projects/immer/build.sh new file mode 100755 index 000000000..cf367fe35 --- /dev/null +++ b/projects/immer/build.sh @@ -0,0 +1,30 @@ +#!/bin/bash -eu +# Copyright 2020 Google Inc. +# +# Licensed under the Apache License, Version 2.0 (the "License"); +# you may not use this file except in compliance with the License. +# You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, software +# distributed under the License is distributed on an "AS IS" BASIS, +# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. +# See the License for the specific language governing permissions and +# limitations under the License. +# +################################################################################ + + +mkdir build +cd build +cmake .. \ + -DBOEHM_GC_INCLUDE_DIR=/usr/include \ + -DBOEHM_GC_LIBRARIES=/usr/lib/x86_64-linux-gnu/libgc.a +make -j$(nproc) fuzzers + +for fuzzer in extra/fuzzer/*; do + if [[ -f $fuzzer && -x $fuzzer ]]; then + cp $fuzzer $OUT + fi +done diff --git a/projects/immer/project.yaml b/projects/immer/project.yaml new file mode 100644 index 000000000..31c16ffb3 --- /dev/null +++ b/projects/immer/project.yaml @@ -0,0 +1,3 @@ +homepage: "https://sinusoid.es/immer" +language: c++ +primary_contact: "juanpe@sinusoid.al"