Skip to content

Commit b6240b2

Browse files
author
Andy C
committed
[mycpp benchmarks] souffle -> nosouffle
1 parent 162711a commit b6240b2

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

mycpp/NINJA_subgraph.py

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -189,8 +189,8 @@ def ShouldSkipBenchmark(name):
189189
],
190190
}
191191

192-
# mycpp-souffle only has three variants for now
193-
SOUFFLE_MATRIX = [
192+
# mycpp-nosouffle only has three variants for now
193+
NOSOUFFLE_MATRIX = [
194194
('cxx', 'opt'), # for benchmarks
195195
('cxx', 'asan'), # need this for running the examples in CI
196196
('cxx', 'asan+gcalways'),
@@ -385,9 +385,10 @@ def MycppExamples(ru, ph):
385385

386386
## Translate the example 2 ways, and benchmark and test it
387387

388-
for translator in ['mycpp', 'mycpp-souffle']:
388+
for translator in ['mycpp', 'mycpp-nosouffle']:
389389

390-
matrix = SOUFFLE_MATRIX if translator == 'mycpp-souffle' else COMPILERS_VARIANTS
390+
matrix = (NOSOUFFLE_MATRIX if translator == 'mycpp-nosouffle' else
391+
COMPILERS_VARIANTS)
391392
phony_prefix = 'mycpp-examples' if translator == 'mycpp' else None
392393
py_inputs = TRANSLATE_FILES.get(ex)
393394

@@ -438,8 +439,8 @@ def MycppExamples(ru, ph):
438439
b_example = '_bin/cxx-%s/mycpp/examples/%s.%s' % (variant, ex,
439440
translator)
440441
impl = 'C++'
441-
if translator == 'mycpp-souffle':
442-
impl = 'C++-Souffle'
442+
if translator == 'mycpp-nosouffle':
443+
impl = 'C++-NoSouffle'
443444

444445
n.build([task_out, cc_log_out],
445446
'example-task', [b_example],

0 commit comments

Comments
 (0)