tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: cmake radical proposal



Am Sat, 16 Oct 2021 11:11:37 -0400
schrieb Greg Troxel <gdt%lexort.com@localhost>:

> What do you mean by "RPATH that you hand into pkgsrc"?  Or rather, how
> do you specify it, and how does pkgsrc process it?

I set such  (replacing the #STUFF# with the appropriate values) in
mk.conf:

LDFLAGS+= #COMPILER_LIBFLAGS#
LDFLAGS+= #COMPILER_RPATH#
BUILDLINK_PASSTHRU_DIRS+= #COMPILER_LIBDIRS# #COMPILER_INCLDIRS#
BUILDLINK_PASSTHRU_RPATHDIRS+= #COMPILER_LIBDIRS#


>   Don't pass any -Wl,-R LDFLAGS to cmake
> 
>   pass CMAKE_BUILD_RPATH and CMAKE_INSTALL_RPATH to the full rpath set
> 
>   fix the cmake bug about the order that build-dir is added

That does sound sane and I remember something along those lines … at
least the though occured. I'm in a different problem realm right now,
but this proposal of yours doesn't sound so dangerously radical to me;-)


Alrighty then,

Thomas

-- 
Dr. Thomas Orgis
HPC @ Universität Hamburg


Home | Main Index | Thread Index | Old Index