Skip to content
Snippets Groups Projects
Commit c2c026e8 authored by Craig Tiller's avatar Craig Tiller
Browse files

Renames

parent dc559c96
No related branches found
No related tags found
No related merge requests found
#================= #=================
# Update clang to a version with improved tsan # Update clang to a version with improved tsan and fuzzing capabilities
RUN apt-get update && apt-get -y install python cmake && apt-get clean RUN apt-get update && apt-get -y install python cmake && apt-get clean
......
%YAML 1.2 %YAML 1.2
--- --- |
foreach: targets
output_name: ${selected.name}/Dockerfile
cond: selected.build == 'fuzzer'
template: |
# Copyright 2015-2016, Google Inc. # Copyright 2015-2016, Google Inc.
# All rights reserved. # All rights reserved.
# #
...@@ -35,10 +31,10 @@ template: | ...@@ -35,10 +31,10 @@ template: |
FROM debian:jessie FROM debian:jessie
<%include file="../apt_get_basic.include"/> <%include file="../../apt_get_basic.include"/>
<%include file="../cxx_deps.include"/> <%include file="../../cxx_deps.include"/>
<%include file="../clang_update.include"/> <%include file="../../clang_update.include"/>
<%include file="../run_tests_addons.include"/> <%include file="../../run_tests_addons.include"/>
RUN clang++ -c -g -O2 -std=c++11 llvm/lib/Fuzzer/*.cpp -IFuzzer RUN clang++ -c -g -O2 -std=c++11 llvm/lib/Fuzzer/*.cpp -IFuzzer
RUN ar ruv libFuzzer.a Fuzzer*.o RUN ar ruv libFuzzer.a Fuzzer*.o
RUN mv libFuzzer.a /usr/lib RUN mv libFuzzer.a /usr/lib
......
...@@ -68,7 +68,7 @@ RUN apt-get update && apt-get install -y time && apt-get clean ...@@ -68,7 +68,7 @@ RUN apt-get update && apt-get install -y time && apt-get clean
RUN apt-get update && apt-get -y install libgflags-dev libgtest-dev libc++-dev clang && apt-get clean RUN apt-get update && apt-get -y install libgflags-dev libgtest-dev libc++-dev clang && apt-get clean
#================= #=================
# Update clang to a version with improved tsan # Update clang to a version with improved tsan and fuzzing capabilities
RUN apt-get update && apt-get -y install python cmake && apt-get clean RUN apt-get update && apt-get -y install python cmake && apt-get clean
......
...@@ -68,7 +68,7 @@ RUN apt-get update && apt-get install -y time && apt-get clean ...@@ -68,7 +68,7 @@ RUN apt-get update && apt-get install -y time && apt-get clean
RUN apt-get update && apt-get -y install libgflags-dev libgtest-dev libc++-dev clang && apt-get clean RUN apt-get update && apt-get -y install libgflags-dev libgtest-dev libc++-dev clang && apt-get clean
#================= #=================
# Update clang to a version with improved tsan # Update clang to a version with improved tsan and fuzzing capabilities
RUN apt-get update && apt-get -y install python cmake && apt-get clean RUN apt-get update && apt-get -y install python cmake && apt-get clean
......
...@@ -31,8 +31,5 @@ ...@@ -31,8 +31,5 @@
set -ex set -ex
git submodule update --init
find . | sort
make CONFIG=$config run_dep_checks
make CONFIG=$config $1 make CONFIG=$config $1
bins/$config/$1 bins/$config/$1
...@@ -34,7 +34,7 @@ set -ex ...@@ -34,7 +34,7 @@ set -ex
export RUN_COMMAND="tools/fuzzer/build_and_run_fuzzer.sh $1" export RUN_COMMAND="tools/fuzzer/build_and_run_fuzzer.sh $1"
export DOCKER_RUN_SCRIPT=tools/jenkins/docker_run.sh export DOCKER_RUN_SCRIPT=tools/jenkins/docker_run.sh
export DOCKERFILE_DIR=tools/dockerfile/test/fuzzers/$1 export DOCKERFILE_DIR=tools/dockerfile/test/fuzzer
export OUTPUT_DIR= export OUTPUT_DIR=
tools/jenkins/build_and_run_docker.sh \ tools/jenkins/build_and_run_docker.sh \
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment