Skip to content
Snippets Groups Projects
Commit be27e666 authored by Christian Dietrich's avatar Christian Dietrich
Browse files

experiment: configure can fail

parent ace02f24
No related branches found
No related tags found
No related merge requests found
Pipeline #
...@@ -46,11 +46,11 @@ hist_$3: hist_$3_$2 ...@@ -46,11 +46,11 @@ hist_$3: hist_$3_$2
endef endef
$(foreach project,LUA MBEDTLS SAMBA MUSL POSTGRESQL CPYTHON,\ $(foreach project,LUA MBEDTLS SAMBA MUSL POSTGRESQL CPYTHON BASH,\
$(foreach mode,normal ccache clang-hash ccache-clang-hash,\ $(foreach mode,normal ccache clang-hash ccache-clang-hash,\
$(eval $(call hist_template,$(project),$(mode),$(shell echo $(project) | tr '[:upper:]' '[:lower:]' ))))) $(eval $(call hist_template,$(project),$(mode),$(shell echo $(project) | tr '[:upper:]' '[:lower:]' )))))
analyze: analyze:
./analyze_results.py -v -d ../versuchung-data -s \ ./analyze_results.py -d ../versuchung-data -s \
--result '../versuchung-data/IncrementalCompilation-*' --incremental '../versuchung-data/IncrementalCompilation-*' --dummy
import os import os
import fnmatch import fnmatch
import time import time
from versuchung.execute import shell, CommandFailed from versuchung.execute import shell, CommandFailed, shell_failok
import logging import logging
def read_hash_directory(hash_dir, remove_keys = []): def read_hash_directory(hash_dir, remove_keys = []):
...@@ -49,7 +49,7 @@ class ClangHashHelper: ...@@ -49,7 +49,7 @@ class ClangHashHelper:
if self.project_name() == "postgresql": if self.project_name() == "postgresql":
shell("cd %s; ./configure --enable-depend", path) shell("cd %s; ./configure --enable-depend", path)
elif self.project_name() in ("musl", "bash", "samba"): elif self.project_name() in ("musl", "bash", "samba"):
shell("cd %s; ./configure", path) shell_failok("cd %s; ./configure", path)
elif self.project_name() in ("cpython",): elif self.project_name() in ("cpython",):
shell("cd %s; mkdir -p build build/Modules;", path) shell("cd %s; mkdir -p build build/Modules;", path)
shell("cd %s; cp -u Modules/Setup.dist build/Modules/Setup", path) shell("cd %s; cp -u Modules/Setup.dist build/Modules/Setup", path)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment