Closed RMeli closed 10 months ago
I would put POSITION_INDEPENDENT_CODE=ON. If applications still rely on POSITION_INDEPENDENT_CODE=OFF then they should be fixed.... There is no penalty in using POSITION_INDEPENDENT_CODE=ON by default with both static (.a) and dynamic libraries (.so).
I would put POSITION_INDEPENDENT_CODE=ON
@mtaillefumier, I think this is indeed the case (implicitly)? https://github.com/electronic-structure/SIRIUS/blob/76cc9ab0e8f9f108d8a8966cd8a4e3cf020f468a/CMakeLists.txt#L57
then all good.
0.3.0
Improvements
dlaf
variant only with@develop
sirius
tosirius-repo
to avoid confusion with package nameFixes:
SIRIUS_USE_DLAF
so thatspack install sirius+dlaf
actually worksSIRIUS_
prefix fromBUILD_SHARED_LIBS
pika+cuda
setsINTERFACE_POSITION_INDEPENDENT_CODE=ON
, therefore it is incompatible with the hard-codedPISITION_INDEPENEDENT_CODE=OFF
in some of the apps/utils. I removed this constraint, but I'm not sure why it was there in the first place.