Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
clang-hash
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Model registry
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
Christian Dietrich
clang-hash
Commits
be27e666
There was a problem fetching the pipeline summary.
Commit
be27e666
authored
8 years ago
by
Christian Dietrich
Browse files
Options
Downloads
Patches
Plain Diff
experiment: configure can fail
parent
ace02f24
No related branches found
No related tags found
No related merge requests found
Pipeline
#
Changes
2
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
experiments/Makefile
+3
-3
3 additions, 3 deletions
experiments/Makefile
experiments/lib.py
+2
-2
2 additions, 2 deletions
experiments/lib.py
with
5 additions
and
5 deletions
experiments/Makefile
+
3
−
3
View file @
be27e666
...
@@ -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
This diff is collapsed.
Click to expand it.
experiments/lib.py
+
2
−
2
View file @
be27e666
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
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment