Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Christian Dietrich
clang-hash
Commits
be27e666
Commit
be27e666
authored
Jan 27, 2017
by
Christian Dietrich
Browse files
experiment: configure can fail
parent
ace02f24
Pipeline
#3060
passed with stage
in 0 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
experiments/Makefile
View file @
be27e666
...
...
@@ -46,11 +46,11 @@ hist_$3: hist_$3_$2
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,\
$(eval $(call hist_template,$(project),$(mode),$(shell echo $(project) | tr '[
:
upper:]' '[:lower:]' )))))
analyze
:
./analyze_results.py
-v
-d
../versuchung-data
-s
\
--
result
'../versuchung-data/IncrementalCompilation-*'
./analyze_results.py
-d
../versuchung-data
-s
\
--
incremental
'../versuchung-data/IncrementalCompilation-*'
--dummy
experiments/lib.py
View file @
be27e666
import
os
import
fnmatch
import
time
from
versuchung.execute
import
shell
,
CommandFailed
from
versuchung.execute
import
shell
,
CommandFailed
,
shell_failok
import
logging
def
read_hash_directory
(
hash_dir
,
remove_keys
=
[]):
...
...
@@ -49,7 +49,7 @@ class ClangHashHelper:
if
self
.
project_name
()
==
"postgresql"
:
shell
(
"cd %s; ./configure --enable-depend"
,
path
)
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"
,):
shell
(
"cd %s; mkdir -p build build/Modules;"
,
path
)
shell
(
"cd %s; cp -u Modules/Setup.dist build/Modules/Setup"
,
path
)
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment