Skip to content

Commit

Permalink
- Added debug flag and ConfigParams to PicoSATLoadTime
Browse files Browse the repository at this point in the history
  • Loading branch information
Lukas Abelt committed Mar 11, 2024
1 parent 954882a commit bc49a24
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions varats/varats/projects/c_projects/picosat.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,11 @@
from benchbuild.utils.settings import get_number_of_jobs
from plumbum import local

from varats.experiment.workload_util import RSBinary, WorkloadCategory
from varats.experiment.workload_util import (
RSBinary,
WorkloadCategory,
ConfigParams,
)
from varats.paper.paper_config import PaperConfigSpecificGit
from varats.project.project_domain import ProjectDomains
from varats.project.project_util import (
Expand Down Expand Up @@ -267,6 +271,7 @@ class PicoSATLoadTime(VProject, ReleaseProviderHook):
VCommand(
SourceRoot("PicoSATLoadTime") / RSBinary("picosat"),
"ibm-2004-03-k70.cnf",
ConfigParams(),
label="ibm-2004-03-k70.cnf",
),
],
Expand Down Expand Up @@ -307,7 +312,8 @@ def compile(self) -> None:

with local.cwd(picosat_source):
with local.env(CC=str(c_compiler), CXX=str(cxx_compiler)):
bb.watch(local[config_script_name])(["--trace", "--stats"])
bb.watch(local[config_script_name]
)(["--trace", "--stats", "-g"])
bb.watch(make)("-j", get_number_of_jobs(bb_cfg()))

with local.cwd(picosat_source):
Expand Down

0 comments on commit bc49a24

Please sign in to comment.