Skip to content

Commit 2620703

Browse files
committed
Try fixing mx.cmd
Signed-off-by: Stefan Marr <[email protected]>
1 parent 5b2f4ed commit 2620703

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

build.xml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -25,8 +25,8 @@
2525
<os family="windows"/>
2626
</condition>
2727

28-
<property name="mx.cmd" value="../../mx/mx" />
29-
<property name="mx.cmd" value="..\..\mx\mx.cmd" if:true="${is.windows}" />
28+
<property name="mx.cmd" location="${libs.dir}/mx/mx" unless:true="${is.windows}" />
29+
<property name="mx.cmd" location="${libs.dir}\mx\mx.cmd" if:true="${is.windows}" />
3030

3131
<property name="build.dir" value="build"/>
3232
<property name="classes.dir" value="${build.dir}/classes"/>
@@ -69,7 +69,7 @@
6969
<matches string="${java.version}" pattern="^9\."/>
7070
</condition>
7171
</target>
72-
72+
7373
<target name="check-truffle-available">
7474
<available file="${lib.dir}/truffle/.git" property="truffle.present"/>
7575
</target>
@@ -93,7 +93,7 @@
9393
http://www.oracle.com/technetwork/oracle-labs/program-languages/downloads/index.html
9494
for a JVMCI JDK Download.
9595
</echo>
96-
96+
9797
<exec executable="${mx.cmd}" dir="${graal.dir}" failonerror="true">
9898
<arg value="build" />
9999
</exec>
@@ -307,7 +307,7 @@
307307
<target name="superinstructions-tests" depends="compile-som">
308308
<exec executable="tests/superinstructions/test.sh" failonerror="true"></exec>
309309
</target>
310-
310+
311311
<target name="update-test-data" depends="compile-som" description="Updates the test data for DynamicMetrics and SuperInstructions">
312312
<exec executable="tests/dym/test.sh" failonerror="true">
313313
<arg value="update" />

0 commit comments

Comments
 (0)