[gmx-developers] [Patch] Gromacs 4.5.5 installs libraries to wrong directory on 64bit
Szilárd Páll
szilard.pall at cbr.su.se
Wed Sep 21 19:40:24 CEST 2011
> Would you accept patches to get this correct on
> RHEL/SuSE/debian/ubuntu ?
Sure, but as I said, the fix we prefer would involve letting CMake
decide which lib directory to use unless GMXLIB is defined. This way
we can save ourselves from the maintenance hell OS/platform-specific
code. I'm not sure how well does CMake handle this internally, though.
>> if ( DEFINED GMXLIB )
>> set(LIB_INSTALL_DIR "${CMAKE_INSTALL_PREFIX}/${GMXLIB}")
>> else()
>> set(LIB_INSTALL_DIR ${CMAKE_INSTALL_PREFIX}/lib)
>> endif()
>>
>> which means that we do not let CMake put libraries where it thinks
>> they should go, it is indeed a subtle bug.
>
> Ok, then I'll pass GMXLIB in the rpm spec file instead of patching
> CMakeLists.txt
That will be easier and quicker for you, I guess. I will look into the
issue later.
Cheers,
--
Szilárd
> Klaus
> ---
> SUSE LINUX Products GmbH, GF: Jeff Hawn, Jennifer Guild, Felix Imendörffer, HRB 16746 (AG Nürnberg)
> Maxfeldstraße 5, 90409 Nürnberg, Germany
> --
> gmx-developers mailing list
> gmx-developers at gromacs.org
> http://lists.gromacs.org/mailman/listinfo/gmx-developers
> Please don't post (un)subscribe requests to the list. Use the
> www interface or send it to gmx-developers-request at gromacs.org.
>
More information about the gromacs.org_gmx-developers
mailing list