|
From: Steve B. <ste...@an...> - 2018-10-21 09:23:26
|
Hi Ruben,
The best way to make a change is through a patch file.
The build process looks for and applies patch files for each benchmark:
https://github.com/dacapobench/dacapobench/blob/master/benchmarks/bms/common.xml#L155
In the current head, you can see that we have a patch for fop. You could use that as an example.
https://github.com/dacapobench/dacapobench/blob/master/benchmarks/bms/fop/fop.patch
You can see where the fop build uses the patch.
https://github.com/dacapobench/dacapobench/blob/master/benchmarks/bms/fop/build.xml#L23
The above references are all with respect to the current head, but you should be able to find the equivalent lines in whichever version you’re working with.
I hope that helps.
--steve
From: Ruben Vervaeke <rub...@ho...>
Reply-To: "dac...@li..." <dac...@li...>
Date: Sunday, 21 October 2018 at 7:31 pm
To: "dac...@li..." <dac...@li...>
Subject: [dacapobench-researchers] Modifying benchmark application
Hi all,
I am trying to modify the Apache Fop application source to build a dacapo jar with this modified source. Unfortunately every time I try to do this, the source Java files get overwritten by ant because they are in the build directory of the benchmark. So I tried to modify the fop source in a separate project and then create a tar.gz file of those sources and copy it to the downloads directory of the Dacapo fop benchmark. This way when building the fop benchmark it would load my modified source of the fop application. Unfortunately this also didn’t work because the source tar.gz source file also gets re-downloaded every time I build dacapo.
So my question is, how can I modify such a benchmark application (the application, not the benchmark itself) so it builds a dacapo jar with that modified source? Or what would be the correct/good way to achieve this?
I tried to do this with Dacapo 9.12 MR1 bach and with Dacapo 2006 10 MR2, both without success.
Thanks in advance.
Ruben
|