Best, Maik
Am 17.10.19 um 09:18 schrieb Henkel:
Dear Maik, you may use something like configopts = ['', '-DSHARED=1'] I think. See https://easybuild.readthedocs.io/en/latest/Writing_easyconfig_files.html#configure-build-install-command-options That leads to two build iterations one with static and one with shared lib build. But maybe you have to look at the easyblock because sometimes the whole installdir gets emptied on a new iteration (at least I experienced that 2 times on other builds). Best Andreas On 10/17/19 8:58 AM, Maik Schmidt wrote:Hi all, short question: I want to extend the ParMETIS easyblock so that it builds both the static and the shared library. For that, two separate builds are necessary, one with -DSHARED=1 and one without, because the build system doesn't allow to build both at the same time. I'm pretty sure that there are other EasyBlocks that already do something similiar but I can't happen to remember which ones. Can you point me in the right direction on what I need to change in order to implement this? Thanks in advance.
-- Maik Schmidt HPC Services Technische Universität Dresden Zentrum für Informationsdienste und Hochleistungsrechnen (ZIH) Andreas-Pfitzmann-Bau E049 D-01187 Dresden Telefon: +49 351 463-32836
smime.p7s
Description: S/MIME Cryptographic Signature