From 9bc20d9ff69ad5824e3c77d21d978c8578853617 Mon Sep 17 00:00:00 2001 From: Nathaniel Brough Date: Wed, 15 Feb 2023 21:31:13 -0800 Subject: [PATCH] cxxopts: Initial integration (#9679) Signed-off-by: Nathaniel Brough Signed-off-by: Nathaniel Brough Co-authored-by: Dongge Liu --- projects/cxxopts/Dockerfile | 21 +++++++++++++++++++++ projects/cxxopts/build.sh | 18 ++++++++++++++++++ projects/cxxopts/project.yaml | 6 ++++++ 3 files changed, 45 insertions(+) create mode 100644 projects/cxxopts/Dockerfile create mode 100755 projects/cxxopts/build.sh create mode 100644 projects/cxxopts/project.yaml diff --git a/projects/cxxopts/Dockerfile b/projects/cxxopts/Dockerfile new file mode 100644 index 000000000..c68a76e28 --- /dev/null +++ b/projects/cxxopts/Dockerfile @@ -0,0 +1,21 @@ +# Copyright 2023 Google LLC +# +# 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 update && apt install -y python3 +RUN git clone --depth 1 https://github.com/jarro2783/cxxopts.git cxxopts +WORKDIR cxxopts +COPY build.sh $SRC/ diff --git a/projects/cxxopts/build.sh b/projects/cxxopts/build.sh new file mode 100755 index 000000000..577daee07 --- /dev/null +++ b/projects/cxxopts/build.sh @@ -0,0 +1,18 @@ +#!/bin/bash -eu +# Copyright 2023 Google LLC +# +# 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. +# +################################################################################ + +bazel_build_fuzz_tests diff --git a/projects/cxxopts/project.yaml b/projects/cxxopts/project.yaml new file mode 100644 index 000000000..19a1db748 --- /dev/null +++ b/projects/cxxopts/project.yaml @@ -0,0 +1,6 @@ +homepage: "https://github.com/jarro2783/cxxopts" +language: c++ +primary_contact: "jarro.2783@gmail.com" +main_repo: "https://github.com/jarro2783/cxxopts" +auto_ccs: + - nathaniel.brough@gmail.com