easybuild-easyblocks icon indicating copy to clipboard operation
easybuild-easyblocks copied to clipboard

Dolfin build in Debug mode

Open Flamefire opened this issue 5 years ago • 2 comments

@JensTimmerman You introduced this change: https://github.com/easybuilders/easybuild-easyblocks/commit/de16713b1a744354e2022000c84a9f08ba3665aa#diff-ae44a1c5fa077d44e8ada75a8cabd117R47

What was the reasoning in building in debug mode (aka -O0 etc)? The comment "run cmake in debug mode" makes me think you want debug output from CMake not a debug build

Flamefire avatar Jan 14 '20 16:01 Flamefire

Oh, euh, this was 7 years ago. I remember dolfin being a particularly hard project to build and indeed I was not able to finish it and @boegel took over from me at some point.

It is entirely possible that I enabled this flag to get some more insights into the process or avoid some weird condition and later forgot to turn it of or could not find a way to make this work without it.

JensTimmerman avatar Jan 14 '20 18:01 JensTimmerman

The comment tells me that @JensTimmerman was under the assumption that using -DCMAKE_BUILD_TYPE=Debug indeed put cmake in debug mode.

The only (non-archive) easyconfig we still have around for DOLFIN is DOLFIN-2018.1.0.post1-foss-2018a-Python-3.6.4.eb, as long as dropping the -DCMAKE_BUILD_TYPE=Debug doesn't break installing that easyconfig, we can change this imho.

boegel avatar Jan 14 '20 20:01 boegel