[immer] Add Immer project (#4129)

* Delete files that clearly someone added by mistake

* [immer] Add initial integration
This commit is contained in:
Juanpe Bolívar 2020-07-15 03:37:37 +02:00 committed by GitHub
parent 9d61148f4d
commit 820d15ea83
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 54 additions and 0 deletions

BIN
.DS_Store vendored

Binary file not shown.

BIN
projects/.DS_Store vendored

Binary file not shown.

21
projects/immer/Dockerfile Normal file
View File

@ -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/

30
projects/immer/build.sh Executable file
View File

@ -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

View File

@ -0,0 +1,3 @@
homepage: "https://sinusoid.es/immer"
language: c++
primary_contact: "juanpe@sinusoid.al"