Skip to content

Commit ef544c8

Browse files
committed
Patch build scripts.
1 parent 88a14f3 commit ef544c8

File tree

3 files changed

+5
-3
lines changed

3 files changed

+5
-3
lines changed

jni/lingeling/wscript

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ def configure(conf):
1616
sourceclean(conf)
1717
root = conf.path.abspath()
1818
subprocess.check_call(['wget', 'http://fmv.jku.at/lingeling/' + LINGELING + '.zip', '--directory-prefix', root])
19-
subprocess.check_call(['tar', '-xzf', root + '/' + LINGELING + '.zip', '-C', root, 'code'])
19+
subprocess.check_call(['unzip', root + '/' + LINGELING + '.zip','code/*', '-d', root])
2020

2121
def build(bld):
2222
DEFINES = ['NDBLSCR', 'NLGLOG','NDEBUG', 'NCHKSOL', 'NLGLPICOSAT', 'NLGLDRUPLIG', 'NLGLYALSAT']

jni/plingeling/wscript

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,8 @@ def configure(conf):
1212
sourceclean(conf)
1313
root = conf.path.abspath()
1414
subprocess.check_call(['wget', 'http://fmv.jku.at/lingeling/' + PLINGELING + '.zip', '--directory-prefix', root])
15-
subprocess.check_call(['tar', '-xzf', root + '/' + PLINGELING + '.zip', '-C', root, 'build.sh', 'code'])
15+
subprocess.check_call(['unzip', root + '/' + PLINGELING + '.zip', 'code/*', '-d', root])
16+
subprocess.check_call(['unzip', root + '/' + PLINGELING + '.zip', 'build.sh', '-d', root])
1617

1718
def build(bld):
1819

wscript

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -74,7 +74,8 @@ def test(bld):
7474
bld(rule = 'java -cp {classpath} -Djava.library.path={libpath} {junit} {test}'.format(classpath = ':'.join(cp),
7575
libpath = bld.env.LIBDIR,
7676
junit = 'org.junit.runner.JUnitCore',
77-
test = 'kodkod.test.AllTests'))
77+
test = 'kodkod.test.AllTests'),
78+
always = True)
7879

7980

8081

0 commit comments

Comments
 (0)