Skip to content

Commit

Permalink
Updates reference and revisions
Browse files Browse the repository at this point in the history
  • Loading branch information
vulder committed Jul 7, 2023
1 parent 2e1f720 commit 1829482
Showing 1 changed file with 9 additions and 25 deletions.
34 changes: 9 additions & 25 deletions varats/varats/projects/perf_tests/feature_perf_cs_collection.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
def _do_feature_perf_cs_collection_compile(
project: VProject, cmake_flag: str
) -> None:
"""Base class that implements common project functionality."""
"""Common compile function for FeaturePerfCSCollection projects."""
feature_perf_source = local.path(project.source_of(project.primary_source))

cc_compiler = bb.compiler.cc(project)
Expand Down Expand Up @@ -160,7 +160,7 @@ class SynthSAFieldSensitivity(VProject):
bb.source.Git(
remote="https://github.com/se-sic/FeaturePerfCSCollection.git",
local="SynthSAFieldSensitivity",
refspec="origin/f-StaticAnalysisMotivatedSynthBenchmarks",
refspec="origin/HEAD",
limit=None,
shallow=False,
version_filter=project_filter_generator("SynthSAFieldSensitivity")
Expand Down Expand Up @@ -188,11 +188,7 @@ def binaries_for_revision(
binary_map.specify_binary(
"build/bin/FieldSense",
BinaryType.EXECUTABLE,
# TODO: fix with commit after merge
# only_valid_in=RevisionRange("162db88346", "master")
only_valid_in=RevisionRange(
"162db88346", "f-StaticAnalysisMotivatedSynthBenchmarks"
)
only_valid_in=RevisionRange("0a9216d769", "master")
)

return binary_map[revision]
Expand All @@ -218,7 +214,7 @@ class SynthSAFlowSensitivity(VProject):
bb.source.Git(
remote="https://github.com/se-sic/FeaturePerfCSCollection.git",
local="SynthSAFlowSensitivity",
refspec="origin/f-StaticAnalysisMotivatedSynthBenchmarks",
refspec="origin/HEAD",
limit=None,
shallow=False,
version_filter=project_filter_generator("SynthSAFlowSensitivity")
Expand Down Expand Up @@ -246,11 +242,7 @@ def binaries_for_revision(
binary_map.specify_binary(
"build/bin/FlowSense",
BinaryType.EXECUTABLE,
# TODO: fix with commit after merge
# only_valid_in=RevisionRange("162db88346", "master")
only_valid_in=RevisionRange(
"162db88346", "f-StaticAnalysisMotivatedSynthBenchmarks"
)
only_valid_in=RevisionRange("0a9216d769", "master")
)

return binary_map[revision]
Expand All @@ -276,7 +268,7 @@ class SynthSAContextSensitivity(VProject):
bb.source.Git(
remote="https://github.com/se-sic/FeaturePerfCSCollection.git",
local="SynthSAContextSensitivity",
refspec="origin/f-StaticAnalysisMotivatedSynthBenchmarks",
refspec="origin/HEAD",
limit=None,
shallow=False,
version_filter=project_filter_generator(
Expand Down Expand Up @@ -307,11 +299,7 @@ def binaries_for_revision(
binary_map.specify_binary(
"build/bin/ContextSense",
BinaryType.EXECUTABLE,
# TODO: fix with commit after merge
# only_valid_in=RevisionRange("162db88346", "master")
only_valid_in=RevisionRange(
"162db88346", "f-StaticAnalysisMotivatedSynthBenchmarks"
)
only_valid_in=RevisionRange("0a9216d769", "master")
)

return binary_map[revision]
Expand All @@ -337,7 +325,7 @@ class SynthSAInterProcedural(VProject):
bb.source.Git(
remote="https://github.com/se-sic/FeaturePerfCSCollection.git",
local="SynthSAInterProcedural",
refspec="origin/f-StaticAnalysisMotivatedSynthBenchmarks",
refspec="origin/HEAD",
limit=None,
shallow=False,
version_filter=project_filter_generator("SynthSAInterProcedural")
Expand Down Expand Up @@ -366,11 +354,7 @@ def binaries_for_revision(
binary_map.specify_binary(
"build/bin/InterProcedural",
BinaryType.EXECUTABLE,
# TODO: fix with commit after merge
# only_valid_in=RevisionRange("162db88346", "master")
only_valid_in=RevisionRange(
"162db88346", "f-StaticAnalysisMotivatedSynthBenchmarks"
)
only_valid_in=RevisionRange("0a9216d769", "master")
)

return binary_map[revision]
Expand Down

0 comments on commit 1829482

Please sign in to comment.