Skip to content

Commit

Permalink
- Updated project name for alternative PicoSAT project as suggested i…
Browse files Browse the repository at this point in the history
…n PR
  • Loading branch information
Lukas Abelt committed Feb 19, 2024
1 parent 6088be8 commit 8d67747
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions varats/varats/projects/c_projects/picosat.py
Original file line number Diff line number Diff line change
Expand Up @@ -192,19 +192,19 @@ def get_release_revisions(
if re.match(release_regex, tag)]


class PicoSATLT(VProject, ReleaseProviderHook):
class PicoSATLoadTime(VProject, ReleaseProviderHook):
"""Adapted version of picoSAT that has been refactored, such that it does
not require a field-sensitive analysis."""

NAME = 'PicosatLT'
NAME = 'PicoSATLoadTime'
GROUP = 'c_projects'
DOMAIN = ProjectDomains.SOLVER

SOURCE = [
PaperConfigSpecificGit(
project_name="PicosatLT",
project_name="PicoSATLoadTime",
remote="https://github.com/se-sic/picoSAT-vara",
local="PicosatLT",
local="PicoSATLoadTime",
refspec="origin/HEAD",
limit=None,
shallow=False
Expand Down Expand Up @@ -265,7 +265,7 @@ class PicoSATLT(VProject, ReleaseProviderHook):
WORKLOADS = {
WorkloadSet(WorkloadCategory.SMALL): [
VCommand(
SourceRoot("PicosatLT") / RSBinary("picosat"),
SourceRoot("PicoSATLoadTime") / RSBinary("picosat"),
"ibm-2004-03-k70.cnf",
label="ibm-2004-03-k70.cnf",
),
Expand All @@ -277,7 +277,7 @@ def binaries_for_revision(
revision: ShortCommitHash
) -> tp.List[ProjectBinaryWrapper]:
binary_map = RevisionBinaryMap(
get_local_project_git_path(PicoSATLT.NAME)
get_local_project_git_path(PicoSATLoadTime.NAME)
)
binary_map.specify_binary(
'picosat', BinaryType.EXECUTABLE, valid_exit_codes=[0, 10, 20]
Expand Down

0 comments on commit 8d67747

Please sign in to comment.