diff --git a/projects/orbit/Dockerfile b/projects/orbit/Dockerfile deleted file mode 100644 index a9136e03d04e..000000000000 --- a/projects/orbit/Dockerfile +++ /dev/null @@ -1,27 +0,0 @@ -# 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@sha256:19782f7fe8092843368894dbc471ce9b30dd6a2813946071a36e8b05f5b1e27e -# ! This project was pinned after a clang bump. Please remove the pin, Try to fix any build warnings and errors, as well as runtime errors -RUN apt-get update && apt-get install -y m4 libglu1-mesa-dev mesa-common-dev \ - libxmu-dev libxi-dev pkg-config libxxf86vm-dev patchelf - -ADD https://github.com/google/orbit/archive/main.tar.gz $SRC/ -RUN mkdir -p $SRC/orbit && tar -xzf $SRC/main.tar.gz \ - -C $SRC/orbit/ --strip-components 1; rm -f $SRC/main.tar.gz -WORKDIR $SRC/orbit -COPY build.sh $SRC/ -COPY default.options $SRC/ diff --git a/projects/orbit/build.sh b/projects/orbit/build.sh deleted file mode 100755 index 76dbb7886d3c..000000000000 --- a/projects/orbit/build.sh +++ /dev/null @@ -1,64 +0,0 @@ -#!/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. -# -################################################################################ - -# Dont check Coverage in CI as it gets killed -if [[ -n "${OSS_FUZZ_CI-}" && "$SANITIZER" = coverage ]]; then - touch $OUT/exit - exit 0 -fi - -#builds project -export PATH="$HOME/.local/bin:$PATH" -$SRC/orbit/bootstrap-orbit.sh --dont-compile --ignore-system-requirements - -conan profile new default --detect -conan profile update settings.compiler.libcxx=libc++ default -conan profile update settings.compiler.fpo=False default -conan profile update settings.compiler.address_sanitizer=True default -conan profile update settings.compiler.fuzzer_sanitizer=True default - -sed -i 's/\[settings\]/include(libfuzzer_base)\n\n[settings]/' ~/.conan/profiles/default -echo "CFLAGS=\$BASE_CFLAGS" >> ~/.conan/profiles/default -echo "CXXFLAGS=\$BASE_CXXFLAGS" >> ~/.conan/profiles/default -echo "LDFLAGS=\$BASE_LDFLAGS" >> ~/.conan/profiles/default -echo "OrbitProfiler:CFLAGS=\$BASE_CFLAGS $CFLAGS" >> ~/.conan/profiles/default -echo "OrbitProfiler:CXXFLAGS=\$BASE_CFLAGS $CXXFLAGS" >> ~/.conan/profiles/default -echo "OrbitProfiler:LDFLAGS=\$BASE_LDFLAGS ${LDFLAGS:-}" >> ~/.conan/profiles/default -echo "llvm-core:CFLAGS=\$BASE_CFLAGS $CFLAGS" >> ~/.conan/profiles/default -echo "llvm-core:CXXFLAGS=\$BASE_CXXFLAGS $CXXFLAGS" >> ~/.conan/profiles/default -echo "llvm-core:LDFLAGS=\$BASE_LDFLAGS ${LDFLAGS:-}" >> ~/.conan/profiles/default - -$SRC/orbit/build.sh default - -function copy_fuzzer { - mkdir -p "$OUT/lib" - cp -v "$1" "$OUT/" - patchelf --set-rpath '$ORIGIN/lib' "$OUT/$(basename "$1")" - - cp -v "$SRC/default.options" "$OUT/$(basename "$1").options" - - ldd "$1" | grep '=>' | cut -d ' ' -f 3 | while read lib; do - if [[ -f $lib ]]; then - cp -v "$lib" "$OUT/lib/" - patchelf --set-rpath '$ORIGIN' "$OUT/lib/$(basename "$lib")" - fi - done -} - -find $SRC/orbit/build_default/bin -name \*Fuzzer | while read fuzzer; do - copy_fuzzer "$fuzzer" -done diff --git a/projects/orbit/default.options b/projects/orbit/default.options deleted file mode 100644 index 1c815b33fa59..000000000000 --- a/projects/orbit/default.options +++ /dev/null @@ -1,2 +0,0 @@ -[libfuzzer] -close_fd_mask=1 diff --git a/projects/orbit/project.yaml b/projects/orbit/project.yaml deleted file mode 100644 index b83b6425f238..000000000000 --- a/projects/orbit/project.yaml +++ /dev/null @@ -1,21 +0,0 @@ -homepage: "https://github.com/google/orbit" -main_repo: "https://github.com/google/orbit" -language: c++ -primary_contact: "hebecker@google.com" -auto_ccs: - - "orbitprofiler-eng+fuzztests@google.com" - - "antonrohr@google.com" - - "dfenner@google.com" - - "dimitry@google.com" - - "dpallotti@google.com" - - "freichl@google.com" - - "irinashkviro@google.com" - - "karupayun@google.com" - - "kuebler@google.com" - - "pierric@google.com" - - "wotzlaw@google.com" - -fuzzing_engines: - - libfuzzer -sanitizers: - - address