Advertisement
Guest User

Quick Patch to Build DaCapo Suite on Linux x86-64 (Jan 2014)

a guest
Jan 20th, 2014
366
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Diff 6.15 KB | None | 0 0
  1. diff -Naur original/benchmarks/bms/eclipse/build.xml new/benchmarks/bms/eclipse/build.xml
  2. --- original/benchmarks/bms/eclipse/build.xml   2009-12-24 13:26:12.000000000 +0000
  3. +++ new/benchmarks/bms/eclipse/build.xml    2014-01-20 08:30:39.723440317 +0000
  4. @@ -13,7 +13,7 @@
  5.     <property name="bm-name" value="eclipse"/>
  6.     <property name="bm-version" value="3.5.1"/>
  7.     <property name="bm-drop" value="200909170800"/>
  8. -   <property name="bm-url" value="http://download.eclipse.org/eclipse/downloads/drops/R-${bm-version}-${bm-drop}"/>
  9. +   <property name="bm-url" value="http://archive.eclipse.org/eclipse/downloads/drops/R-${bm-version}-${bm-drop}"/>
  10.     <property name="bm-src" value="eclipse-SDK-${bm-version}-macosx-cocoa.tar.gz"/>
  11.     <property name="osgi-bootstrap-jar" value="org.eclipse.osgi_3.5.1.R35x_v20090827.jar"/>
  12.  
  13. diff -Naur original/benchmarks/bms/jython/build.xml new/benchmarks/bms/jython/build.xml
  14. --- original/benchmarks/bms/jython/build.xml    2009-12-24 13:26:18.000000000 +0000
  15. +++ new/benchmarks/bms/jython/build.xml 2014-01-20 08:32:22.955441667 +0000
  16. @@ -11,7 +11,7 @@
  17.     <property file="dacapo.properties"/>
  18.  
  19.     <property name="bm-name" value="jython"/>
  20. -   <property name="bm-svn-url" value="https://jython.svn.sourceforge.net/svnroot/jython/tags/Release_2_5_1/jython"/>
  21. +   <property name="bm-svn-url" value="https://svn.code.sf.net/p/jython/svn/tags/Release_2_5_1/jython/"/>
  22.     <property name="bm-svn-revision" value="6571"/> <!-- 2.5.0 -->
  23.     <property name="bm-version" value="svn-${bm-svn-revision}"/>
  24.     <property name="bm-ignore-failure" value="yes" />
  25. diff -Naur original/benchmarks/bms/jython/downloads/jython-src-svn-6571.tar.gz.MD5 new/benchmarks/bms/jython/downloads/jython-src-svn-6571.tar.gz.MD5
  26. --- original/benchmarks/bms/jython/downloads/jython-src-svn-6571.tar.gz.MD5 2009-12-24 13:26:18.000000000 +0000
  27. +++ new/benchmarks/bms/jython/downloads/jython-src-svn-6571.tar.gz.MD5  1970-01-01 01:00:00.000000000 +0100
  28. @@ -1 +0,0 @@
  29. -27c1259b383234ed429247c28d00d971
  30. diff -Naur original/benchmarks/libs/daytrader/build.xml new/benchmarks/libs/daytrader/build.xml
  31. --- original/benchmarks/libs/daytrader/build.xml    2009-12-24 13:26:24.000000000 +0000
  32. +++ new/benchmarks/libs/daytrader/build.xml 2014-01-20 08:33:04.951442216 +0000
  33. @@ -236,11 +236,18 @@
  34.             <arg value="-Dfile=${tomcat-jar-loc}"/>
  35.         </exec>
  36.  
  37. -       <!-- build required plugins -->
  38. -       <exec executable="${mvn}" dir="${lib-build-dir}/plugins/j2ee" failonerror="yes" failifexecutionfails="yes"/>
  39. -       <exec executable="${mvn}" dir="${lib-build-dir}/plugins/client" failonerror="yes" failifexecutionfails="yes"/>
  40. -       <exec executable="${mvn}" dir="${lib-build-dir}/plugins/cxf" failonerror="yes" failifexecutionfails="yes"/>
  41. -       <exec executable="${mvn}" dir="${lib-build-dir}/plugins/axis" failonerror="yes" failifexecutionfails="yes"/>
  42. +       <exec executable="${mvn}" dir="${lib-build-dir}/plugins/j2ee" failonerror="yes" failifexecutionfails="yes">
  43. +       <env key="JAVA_HOME" path="/usr/lib/jvm/jdk1.5.0_22/"/>
  44. +       </exec>
  45. +       <exec executable="${mvn}" dir="${lib-build-dir}/plugins/client" failonerror="yes" failifexecutionfails="yes">
  46. +       <env key="JAVA_HOME" path="/usr/lib/jvm/jdk1.5.0_22/"/>
  47. +       </exec>
  48. +       <exec executable="${mvn}" dir="${lib-build-dir}/plugins/cxf" failonerror="yes" failifexecutionfails="yes">
  49. +       <env key="JAVA_HOME" path="/usr/lib/jvm/jdk1.5.0_22/"/>
  50. +       </exec>
  51. +       <exec executable="${mvn}" dir="${lib-build-dir}/plugins/axis" failonerror="yes" failifexecutionfails="yes">
  52. +       <env key="JAVA_HOME" path="/usr/lib/jvm/jdk1.5.0_22/"/>
  53. +       </exec>
  54.  
  55.         <!-- build daytrader -->
  56.         <exec executable="${mvn}" dir="${dt-build}">
  57. diff -Naur original/benchmarks/libs/daytrader/downloads/daytrader-svn-767347-src.tar.gz.MD5 new/benchmarks/libs/daytrader/downloads/daytrader-svn-767347-src.tar.gz.MD5
  58. --- original/benchmarks/libs/daytrader/downloads/daytrader-svn-767347-src.tar.gz.MD5    2009-12-24 13:26:24.000000000 +0000
  59. +++ new/benchmarks/libs/daytrader/downloads/daytrader-svn-767347-src.tar.gz.MD5 1970-01-01 01:00:00.000000000 +0100
  60. @@ -1 +0,0 @@
  61. -13487e873c20b5475f5ca38c9e4e06dc
  62. diff -Naur original/benchmarks/libs/daytrader/downloads/geronimo-jetty6-minimal-2.1.4-plugins.tar.gz.MD5 new/benchmarks/libs/daytrader/downloads/geronimo-jetty6-minimal-2.1.4-plugins.tar.gz.MD5
  63. --- original/benchmarks/libs/daytrader/downloads/geronimo-jetty6-minimal-2.1.4-plugins.tar.gz.MD5   2009-12-24 13:26:24.000000000 +0000
  64. +++ new/benchmarks/libs/daytrader/downloads/geronimo-jetty6-minimal-2.1.4-plugins.tar.gz.MD5    1970-01-01 01:00:00.000000000 +0100
  65. @@ -1 +0,0 @@
  66. -5f367f78dbe8f246bbcb2a4e1469ff7b
  67. diff -Naur original/benchmarks/libs/daytrader/downloads/jstl-impl-1.2.jar.MD5 new/benchmarks/libs/daytrader/downloads/jstl-impl-1.2.jar.MD5
  68. --- original/benchmarks/libs/daytrader/downloads/jstl-impl-1.2.jar.MD5  2009-12-24 13:26:24.000000000 +0000
  69. +++ new/benchmarks/libs/daytrader/downloads/jstl-impl-1.2.jar.MD5   1970-01-01 01:00:00.000000000 +0100
  70. @@ -1 +0,0 @@
  71. -fe701af121eddd2c634089243b27b2b9
  72. diff -Naur original/benchmarks/local.properties new/benchmarks/local.properties
  73. --- original/benchmarks/local.properties    1970-01-01 01:00:00.000000000 +0100
  74. +++ new/benchmarks/local.properties 2014-01-20 08:29:55.203439734 +0000
  75. @@ -0,0 +1,25 @@
  76. +#
  77. +# DO NOT EDIT THIS FILE.
  78. +#
  79. +# To customize for your local environment, simply copy
  80. +# this file as "local.properties", which is sourced by ant
  81. +# before this file, and will thus override these defaults
  82. +#
  83. +# The settings below reflect default properties for the
  84. +# ANU regression machines where the suite is tested nightly
  85. +#
  86. +make=/usr/bin/make
  87. +# Derby still depends on access to 1.4 libraries at build time
  88. +# The build will attempt to construct each benchmark, and include each on that succeeded in the
  89. +# final jar.  If the construction of a benchmark does not succeed then it will ignore this and
  90. +# continue on to the next one.  To force the build to fail as soon as a benchmark fails
  91. +# set the build.failonerror to true in your local.properties file.
  92. +build.failonerror=true
  93. +
  94. +java14.lib=/usr/lib/jvm/j2sdk1.4.2_19/
  95. +
  96. +java15.lib=/usr/lib/jvm/jdk1.5.0_22/
  97. +
  98. +java14compile.classpath=/usr/lib/jvm/j2sdk1.4.2_19/lib/
  99. +
  100. +java15compile.classpath=/usr/lib/jvm/jdk1.5.0_22/lib
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement