To protect your data, the CISO officer has suggested users to enable GitLab 2FA as soon as possible.

Commit 3e78ab60 authored by john's avatar john
Browse files

removed tabs from build files

parent 7c3655aa
......@@ -7,139 +7,139 @@
* http://www.opensource.org/licenses/apache2.0.php
-->
<project name="DacapoAgent" default="all" basedir="..">
<description>DaCapo Agent</description>
<description>DaCapo Agent</description>
<import file="../util.xml"/>
<import file="../libs/libs.xml"/>
<property name="agent-dir" value="${basedir}/agent"/>
<property name="dist-dir" value="${agent-dir}/dist"/>
<property file="dacapo.properties"/>
<import file="../util.xml"/>
<import file="../libs/libs.xml"/>
<property name="agent-dir" value="${basedir}/agent"/>
<property name="dist-dir" value="${agent-dir}/dist"/>
<property file="dacapo.properties"/>
<condition property="linux">
<equals arg1="${os.name}" arg2="linux" casesensitive="no" trim="yes"/>
</condition>
<condition property="linux">
<equals arg1="${os.name}" arg2="linux" casesensitive="no" trim="yes"/>
</condition>
<condition property="32bit">
<equals arg1="${os.name}" arg2="32" casesensitive="no" trim="yes"/>
</condition>
<condition property="64bit">
<equals arg1="${os.name}" arg2="64" casesensitive="no" trim="yes"/>
</condition>
<property name="download-dir" value="${agent-dir}/download"/>
<!-- http://zlib.net/zlib-1.2.5.tar.gz -->
<property name="zlib" value="zlib"/>
<property name="zlib-version" value="1.2.5"/>
<property name="zlib-basename" value="${zlib}-${zlib-version}"/>
<property name="zlib-name" value="${zlib-basename}.tar.gz"/>
<property name="zlib-url" value="http://${zlib}.net"/>
<property name="zlib-lib-base" value="z"/>
<condition property="32bit">
<equals arg1="${os.name}" arg2="32" casesensitive="no" trim="yes"/>
</condition>
<condition property="64bit">
<equals arg1="${os.name}" arg2="64" casesensitive="no" trim="yes"/>
</condition>
<property name="download-dir" value="${agent-dir}/download"/>
<!-- http://zlib.net/zlib-1.2.5.tar.gz -->
<property name="zlib" value="zlib"/>
<property name="zlib-version" value="1.2.5"/>
<property name="zlib-basename" value="${zlib}-${zlib-version}"/>
<property name="zlib-name" value="${zlib-basename}.tar.gz"/>
<property name="zlib-url" value="http://${zlib}.net"/>
<property name="zlib-lib-base" value="z"/>
<property name="cli" value="commons-cli"/>
<property name="cli-version" value="1.2"/>
<property name="cli-basename" value="${cli}-${cli-version}"/>
<property name="cli-jar" value="${cli-basename}.jar"/>
<property name="cli-jar" value="${cli-basename}.jar"/>
<property name="cli-name" value="${cli-basename}-bin.tar.gz"/>
<property name="cli-url" value="${apache.dl.url}/commons/cli/binaries"/>
<property name="make" value="make"/>
<property name="make" value="make"/>
<target name="init">
<mkdir dir="${agent-dir}/build"/>
<mkdir dir="${agent-dir}/lib"/>
<mkdir dir="${dist-dir}"/>
</target>
<target name="init">
<mkdir dir="${agent-dir}/build"/>
<mkdir dir="${agent-dir}/lib"/>
<mkdir dir="${dist-dir}"/>
</target>
<target name="zlibsrc" depends="init">
<antcall target="check-source">
<param name="target-file" value="${zlib-name}" />
<param name="target-dir" value="${download-dir}" />
<param name="target-url" value="${zlib-url}"/>
</antcall>
<untar src="${download-dir}/${zlib-name}" dest="${agent-dir}/build" compression="gzip"/>
<target name="zlibsrc" depends="init">
<antcall target="check-source">
<param name="target-file" value="${zlib-name}" />
<param name="target-dir" value="${download-dir}" />
<param name="target-url" value="${zlib-url}"/>
</antcall>
<untar src="${download-dir}/${zlib-name}" dest="${agent-dir}/build" compression="gzip"/>
<patch patchfile="${agent-dir}/${zlib}.patch" dir="${agent-dir}/build" strip="1" ignorewhitespace="yes"/>
</target>
<target name="buildzlib32" depends="init,zlibsrc" unless="64bit">
<exec executable="sh" dir="${agent-dir}/build/${zlib-basename}" >
<arg value="configure"/>
</exec>
<exec executable="make" dir="${agent-dir}/build/${zlib-basename}" />
</target>
<target name="buildzlib64" depends="init,zlibsrc" if="64bit">
<exec executable="sh" dir="${agent-dir}/build/${zlib-basename}" >
<arg value="configure"/>
<arg value="--64"/>
</exec>
<exec executable="make" dir="${agent-dir}/build/${zlib-basename}" />
</target>
<target name="buildzlib" depends="buildzlib32,buildzlib64"/>
<target name="libs" depends="init,asm,bcel,buildzlib">
<copy file="${asm-jar}" todir="${dist-dir}"/>
<copy file="${asm-commons-jar}" todir="${dist-dir}"/>
<!-- get commons commandline -->
<antcall target="check-source">
<param name="target-file" value="${cli-name}" />
<param name="target-dir" value="${download-dir}" />
<param name="target-url" value="${cli-url}"/>
</antcall>
<untar src="${download-dir}/${cli-name}" dest="${build-dir}" compression="gzip"/>
</target>
<target name="buildzlib32" depends="init,zlibsrc" unless="64bit">
<exec executable="sh" dir="${agent-dir}/build/${zlib-basename}" >
<arg value="configure"/>
</exec>
<exec executable="make" dir="${agent-dir}/build/${zlib-basename}" />
</target>
<target name="buildzlib64" depends="init,zlibsrc" if="64bit">
<exec executable="sh" dir="${agent-dir}/build/${zlib-basename}" >
<arg value="configure"/>
<arg value="--64"/>
</exec>
<exec executable="make" dir="${agent-dir}/build/${zlib-basename}" />
</target>
<target name="buildzlib" depends="buildzlib32,buildzlib64"/>
<target name="libs" depends="init,asm,bcel,buildzlib">
<copy file="${asm-jar}" todir="${dist-dir}"/>
<copy file="${asm-commons-jar}" todir="${dist-dir}"/>
<!-- get commons commandline -->
<antcall target="check-source">
<param name="target-file" value="${cli-name}" />
<param name="target-dir" value="${download-dir}" />
<param name="target-url" value="${cli-url}"/>
</antcall>
<untar src="${download-dir}/${cli-name}" dest="${build-dir}" compression="gzip"/>
<copy file="${build-dir}/${cli-basename}/${cli-basename}.jar" todir="${dist-dir}"/>
</target>
<target name="all" depends="init,libs,jar,build-agent-linux">
</target>
<target name="jar">
<javac debug="on" srcdir="${agent-dir}/src" destdir="${agent-dir}/src" classpath="${asm-jar}:${asm-commons-jar}" />
<jar destfile="${agent-dir}/dist/agent.jar" basedir="${agent-dir}/src" />
</target>
<target name="build-agent-linux" if="linux">
<mkdir dir="${agent-dir}/build/agent" />
<copy todir="${agent-dir}/build/agent" >
<fileset dir="${agent-dir}/c/src">
<include name="**.c"/>
<include name="**.h"/>
<include name="Makefile"/>
</fileset>
</copy>
<exec executable="${make}" dir="${agent-dir}/build/agent">
<arg value="JAVA_HOME=${java.home}/.."/>
<arg value="OSNAME=linux"/>
<!-- <arg value="OPT=true"/> -->
<arg value="ZLIB_DIR=${agent-dir}/build/${zlib-basename}"/>
<arg value="ZLIB_LIB=${zlib-lib-base}"/>
</exec>
<copy todir="${agent-dir}/lib">
<fileset dir="${agent-dir}/build/agent">
<include name="lib*.so"/>
</fileset>
</copy>
</target>
<copy file="${build-dir}/${cli-basename}/${cli-basename}.jar" todir="${dist-dir}"/>
</target>
<target name="all" depends="init,libs,jar,build-agent-linux">
</target>
<target name="jar">
<javac debug="on" srcdir="${agent-dir}/src" destdir="${agent-dir}/src" classpath="${asm-jar}:${asm-commons-jar}" />
<jar destfile="${agent-dir}/dist/agent.jar" basedir="${agent-dir}/src" />
</target>
<target name="build-agent-linux" if="linux">
<mkdir dir="${agent-dir}/build/agent" />
<copy todir="${agent-dir}/build/agent" >
<fileset dir="${agent-dir}/c/src">
<include name="**.c"/>
<include name="**.h"/>
<include name="Makefile"/>
</fileset>
</copy>
<exec executable="${make}" dir="${agent-dir}/build/agent">
<arg value="JAVA_HOME=${java.home}/.."/>
<arg value="OSNAME=linux"/>
<!-- <arg value="OPT=true"/> -->
<arg value="ZLIB_DIR=${agent-dir}/build/${zlib-basename}"/>
<arg value="ZLIB_LIB=${zlib-lib-base}"/>
</exec>
<copy todir="${agent-dir}/lib">
<fileset dir="${agent-dir}/build/agent">
<include name="lib*.so"/>
</fileset>
</copy>
</target>
<target name="clean" depends="clean-linux">
<delete dir="${dist-dir}"/>
<delete dir="${agent-dir}/lib"/>
<delete dir="${agent-dir}/build"/>
</target>
<target name="clean-linux" if="linux">
<exec executable="${make}" dir="agent">
<arg value="JAVA_HOME=${java.home}"/>
<arg value="OSNAME=linux"/>
<arg value="clean"/>
</exec>
</target>
<target name="clean" depends="clean-linux">
<delete dir="${dist-dir}"/>
<delete dir="${agent-dir}/lib"/>
<delete dir="${agent-dir}/build"/>
</target>
<target name="clean-linux" if="linux">
<exec executable="${make}" dir="agent">
<arg value="JAVA_HOME=${java.home}"/>
<arg value="OSNAME=linux"/>
<arg value="clean"/>
</exec>
</target>
</project>
......@@ -7,93 +7,93 @@
* http://www.opensource.org/licenses/apache2.0.php
-->
<project name="DacapoAnalysis" default="all" basedir="..">
<description>DaCapo Analysis</description>
<description>DaCapo Analysis</description>
<import file="../util.xml"/>
<import file="../libs/libs.xml"/>
<property name="analysis-dir" value="${basedir}/analysis"/>
<property name="dist-dir" value="${analysis-dir}/dist"/>
<property name="build-dir" value="${analysis-dir}/build"/>
<property name="javabin-dir" value="${analysis-dir}/javabin"/>
<import file="../util.xml"/>
<import file="../libs/libs.xml"/>
<property name="analysis-dir" value="${basedir}/analysis"/>
<property name="dist-dir" value="${analysis-dir}/dist"/>
<property name="build-dir" value="${analysis-dir}/build"/>
<property name="javabin-dir" value="${analysis-dir}/javabin"/>
<property name="agent-dir" value="${basedir}/agent"/>
<property name="agent-jar" value="agent.jar"/>
<property file="dacapo.properties"/>
<property name="agent-dir" value="${basedir}/agent"/>
<property name="agent-jar" value="agent.jar"/>
<property file="dacapo.properties"/>
<condition property="linux">
<equals arg1="${os.name}" arg2="linux" casesensitive="no" trim="yes"/>
</condition>
<condition property="linux">
<equals arg1="${os.name}" arg2="linux" casesensitive="no" trim="yes"/>
</condition>
<property name="download-dir" value="${analysis-dir}/download"/>
<property name="download-dir" value="${analysis-dir}/download"/>
<property name="cli" value="commons-cli"/>
<property name="cli-version" value="1.2"/>
<property name="cli-basename" value="${cli}-${cli-version}"/>
<property name="cli-jar" value="${cli-basename}.jar"/>
<property name="cli-jar" value="${cli-basename}.jar"/>
<property name="cli-name" value="${cli-basename}-bin.tar.gz"/>
<property name="cli-url" value="${apache.dl.url}/commons/cli/binaries"/>
<property name="ckjm-version" value="1.9"/>
<property name="ckjm-basename" value="ckjm-${ckjm-version}"/>
<property name="ckjm-jar" value="${ckjm-basename}.jar"/>
<property name="ckjm-name" value="${ckjm-basename}.tar.gz"/>
<property name="ckjm-url" value="http://www.spinellis.gr/sw/ckjm"/>
<property name="make" value="make"/>
<property name="ckjm-version" value="1.9"/>
<property name="ckjm-basename" value="ckjm-${ckjm-version}"/>
<property name="ckjm-jar" value="${ckjm-basename}.jar"/>
<property name="ckjm-name" value="${ckjm-basename}.tar.gz"/>
<property name="ckjm-url" value="http://www.spinellis.gr/sw/ckjm"/>
<property name="make" value="make"/>
<target name="init">
<mkdir dir="${analysis-dir}/lib"/>
<mkdir dir="${build-dir}"/>
<mkdir dir="${dist-dir}"/>
<mkdir dir="${javabin-dir}"/>
</target>
<target name="init">
<mkdir dir="${analysis-dir}/lib"/>
<mkdir dir="${build-dir}"/>
<mkdir dir="${dist-dir}"/>
<mkdir dir="${javabin-dir}"/>
</target>
<target name="libs" depends="bcel,init">
<!-- we need the LogTags from the agent library -->
<exec executable="ant" dir="${agent-dir}" failonerror="yes" />
<!-- get ckjm library -->
<antcall target="check-source">
<param name="target-file" value="${ckjm-name}" />
<param name="target-dir" value="${download-dir}" />
<param name="target-url" value="${ckjm-url}"/>
</antcall>
<untar src="${download-dir}/${ckjm-name}" dest="${build-dir}" compression="gzip"/>
<copy todir="${dist-dir}" flatten="yes">
<fileset dir="${build-dir}">
<include name="${ckjm-basename}/build/*.jar"/>
<!-- <include name="${ckjm-basename}/lib/*.jar"/> -->
</fileset>
</copy>
<target name="libs" depends="bcel,init">
<!-- we need the LogTags from the agent library -->
<exec executable="ant" dir="${agent-dir}" failonerror="yes" />
<!-- get ckjm library -->
<antcall target="check-source">
<param name="target-file" value="${ckjm-name}" />
<param name="target-dir" value="${download-dir}" />
<param name="target-url" value="${ckjm-url}"/>
</antcall>
<untar src="${download-dir}/${ckjm-name}" dest="${build-dir}" compression="gzip"/>
<copy todir="${dist-dir}" flatten="yes">
<fileset dir="${build-dir}">
<include name="${ckjm-basename}/build/*.jar"/>
<!-- <include name="${ckjm-basename}/lib/*.jar"/> -->
</fileset>
</copy>
<!-- get commons commandline -->
<antcall target="check-source">
<param name="target-file" value="${cli-name}" />
<param name="target-dir" value="${download-dir}" />
<param name="target-url" value="${cli-url}"/>
</antcall>
<untar src="${download-dir}/${cli-name}" dest="${build-dir}" compression="gzip"/>
<!-- get commons commandline -->
<antcall target="check-source">
<param name="target-file" value="${cli-name}" />
<param name="target-dir" value="${download-dir}" />
<param name="target-url" value="${cli-url}"/>
</antcall>
<untar src="${download-dir}/${cli-name}" dest="${build-dir}" compression="gzip"/>
<copy file="${build-dir}/${cli-basename}/${cli-basename}.jar" todir="${dist-dir}"/>
<copy file="${bcel-jar}" todir="${dist-dir}"/>
<copy file="${agent-dir}/dist/${agent-jar}" todir="${dist-dir}" />
</target>
<target name="jar">
<javac debug="on" srcdir="${analysis-dir}/src" destdir="${javabin-dir}" classpath="${dist-dir}/${agent-jar}:${dist-dir}/${cli-jar}:${bcel-jar}:${dist-dir}/${ckjm-jar}" />
<jar destfile="${analysis-dir}/dist/analysis.jar" basedir="${javabin-dir}" />
</target>
<copy file="${build-dir}/${cli-basename}/${cli-basename}.jar" todir="${dist-dir}"/>
<copy file="${bcel-jar}" todir="${dist-dir}"/>
<copy file="${agent-dir}/dist/${agent-jar}" todir="${dist-dir}" />
</target>
<target name="jar">
<javac debug="on" srcdir="${analysis-dir}/src" destdir="${javabin-dir}" classpath="${dist-dir}/${agent-jar}:${dist-dir}/${cli-jar}:${bcel-jar}:${dist-dir}/${ckjm-jar}" />
<jar destfile="${analysis-dir}/dist/analysis.jar" basedir="${javabin-dir}" />
</target>
<target name="all" depends="init,libs,jar">
</target>
<target name="clean" depends="init">
<delete dir="${build-dir}" />
<delete dir="${dist-dir}" />
<delete dir="${analysis-dir}/javabin"/>
</target>
<target name="all" depends="init,libs,jar">
</target>
<target name="clean" depends="init">
<delete dir="${build-dir}" />
<delete dir="${dist-dir}" />
<delete dir="${analysis-dir}/javabin"/>
</target>
</project>
......@@ -7,46 +7,46 @@
* http://www.opensource.org/licenses/apache2.0.php
-->
<project name="avrora" default="all" basedir="../..">
<description>DaCapo avrora benchmark</description>
<property file="dacapo.properties" />
<property name="bm-name" value="avrora" />
<property name="bm-cvs-root" value=":pserver:anonymous@avrora.cvs.sourceforge.net:/cvsroot/avrora" />
<property name="bm-cvs-date" value="20091224" />
<property name="bm-cvs-package" value="${bm-name}" />
<property name="bm-version" value="cvs-${bm-cvs-date}" />
<property name="bm-src" value="${bm-name}-${bm-version}-src.tar.gz" />
<import file="../common.xml" />
<target name="unpack" depends="untar" />
<target name="bm-build">
<property name="bm-tmp-dir" location="${bm-build-dir}/build" />
<mkdir dir="${bm-tmp-dir}" />
<javac srcdir="${bm-build-dir}/${bm-name}/src" destdir="${bm-tmp-dir}" source="1.5" target="1.5" debug="true" debuglevel="lines,vars,source" />
<copy todir="${bm-tmp-dir}/avrora/gui">
<fileset dir="${bm-build-dir}/${bm-name}/src/avrora/gui">
<include name="images/*" />
</fileset>
</copy>
</target>
<target name="data">
<zip destfile="${bm-dat}/${bm-name}.zip">
<fileset dir="${bm-build-dir}/${bm-name}">
<include name="test/**/*" />
</fileset>
</zip>
</target>
<target name="jar">
<jar destfile="${bm-jars}/${bm-name}-${bm-version}.jar">
<fileset dir="${bm-build-dir}/build">
<include name="**/*" />
</fileset>
</jar>
</target>
<description>DaCapo avrora benchmark</description>
<property file="dacapo.properties" />
<property name="bm-name" value="avrora" />
<property name="bm-cvs-root" value=":pserver:anonymous@avrora.cvs.sourceforge.net:/cvsroot/avrora" />
<property name="bm-cvs-date" value="20091224" />
<property name="bm-cvs-package" value="${bm-name}" />
<property name="bm-version" value="cvs-${bm-cvs-date}" />
<property name="bm-src" value="${bm-name}-${bm-version}-src.tar.gz" />
<import file="../common.xml" />
<target name="unpack" depends="untar" />
<target name="bm-build">
<property name="bm-tmp-dir" location="${bm-build-dir}/build" />
<mkdir dir="${bm-tmp-dir}" />
<javac srcdir="${bm-build-dir}/${bm-name}/src" destdir="${bm-tmp-dir}" source="1.5" target="1.5" debug="true" debuglevel="lines,vars,source" />
<copy todir="${bm-tmp-dir}/avrora/gui">
<fileset dir="${bm-build-dir}/${bm-name}/src/avrora/gui">
<include name="images/*" />
</fileset>
</copy>
</target>
<target name="data">
<zip destfile="${bm-dat}/${bm-name}.zip">
<fileset dir="${bm-build-dir}/${bm-name}">
<include name="test/**/*" />
</fileset>
</zip>
</target>
<target name="jar">
<jar destfile="${bm-jars}/${bm-name}-${bm-version}.jar">
<fileset dir="${bm-build-dir}/build">
<include name="**/*" />
</fileset>
</jar>
</target>
</project>
......@@ -7,39 +7,39 @@
* http://www.opensource.org/licenses/apache2.0.php
-->
<project name="batik" default="all" basedir="../..">
<description>DaCapo Batik benchmark</description>
<property file="dacapo.properties"/>
<property name="bm-name" value="batik"/>
<property name="batik.major.version" value="1.7"/>
<property name="bm-version" value="${batik.major.version}beta1"/>
<property name="bm-src" value="${bm-name}-src-${bm-version}.zip"/>
<property name="bm-url" value="${apache.dl.url}/xmlgraphics/batik"/>
<import file="../common.xml"/>
<property name="batik-top" value="${bm-build-dir}/batik-${batik.major.version}"/>
<target name="unpack" depends="unzip"/>
<target name="bm-build">
<ant antfile="build.xml" dir="${batik-top}" target="all-jar" inheritall="false">
<property name="debug" value="on"/>
</ant>
</target>
<target name="jar" depends="deps">
<copy file="${batik-top}/batik-${batik.major.version}/lib/batik-all.jar" todir="${bm-jars}"/>
<copy file="${batik-top}/lib/build/crimson-1.1.3.jar" todir="${bm-jars}"/>
<copy file="${batik-top}/lib/xalan-2.6.0.jar" todir="${bm-jars}"/>
<copy file="${batik-top}/lib/xerces_2_5_0.jar" todir="${bm-jars}"/>
<copy file="${batik-top}/lib/xml-apis.jar" todir="${bm-jars}"/>
<copy file="${batik-top}/lib/xml-apis-ext.jar" todir="${bm-jars}"/>
</target>
<target name="deps">
<copy file="${batik-top}/lib/js.jar" todir="${bm-deps-output-dir}"/>
<copy file="${batik-top}/lib/pdf-transcoder.jar" todir="${bm-deps-output-dir}"/>
</target>
<description>DaCapo Batik benchmark</description>
<property file="dacapo.properties"/>
<property name="bm-name" value="batik"/>
<property name="batik.major.version" value="1.7"/>
<property name="bm-version" value="${batik.major.version}beta1"/>
<property name="bm-src" value="${bm-name}-src-${bm-version}.zip"/>
<property name="bm-url" value="${apache.dl.url}/xmlgraphics/batik"/>
<import file="../common.xml"/>
<property name="batik-top" value="${bm-build-dir}/batik-${batik.major.version}"/>
<target name="unpack" depends="unzip"/>
<target name="bm-build">
<ant antfile="build.xml" dir="${batik-top}" target="all-jar" inheritall="false">
<property name="debug" value="on"/>
</ant>
</target>
<target name="jar" depends="deps">
<copy file="${batik-top}/batik-${batik.major.version}/lib/batik-all.jar" todir="${bm-jars}"/>
<copy file="${batik-top}/lib/build/crimson-1.1.3.jar" todir="${bm-jars}"/>
<copy file="${batik-top}/lib/xalan-2.6.0.jar" todir="${bm-jars}"/>
<copy file="${batik-top}/lib/xerces_2_5_0.jar" todir="${bm-jars}"/>
<copy file="${batik-top}/lib/xml-apis.jar" todir="${bm-jars}"/>
<copy file="${batik-top}/lib/xml-apis-ext.jar" todir="${bm-jars}"/>
</target>
<target name="deps">
<copy file="${batik-top}/lib/js.jar" todir="${bm-deps-output-dir}"/>
<copy file="${batik-top}/lib/pdf-transcoder.jar" todir="${bm-deps-output-dir}"/>
</target>
</project>
......@@ -7,96 +7,96 @@
* http://www.opensource.org/licenses/apache2.0.php
-->
<project name="eclipse" default="all" basedir="../..">
<description>DaCapo eclipse benchmark</description>