tech-pkg archive

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

[PATCH] devel/boost-jam fix RPATH support



Hi,

I am going to post patches I created locally in order to get an install
of pkgsrc-2017Q1 in our HPC installation. I did some testing that they
still apply to today's CVS, but I did not do another full build.

The first one should be simple: It makes boost honour my configured
RPATH directories. This is needed on our site to properly find the
externally installed MPI library, for example (I postet a patch for
MPI_TYPE=native a long time ago on pkgsrc-users, AFAIR, will do it
again here after getting the obvious fixes out).


Alrighty then,

Thomas

-- 
Dr. Thomas Orgis
Universität Hamburg
RRZ / Basis-Infrastruktur / HPC
Schlüterstr. 70
20146 Hamburg
Tel.: 040/42838 8826
Fax: 040/428 38 6270
diff -ruN -x CVS pkgsrc-2016Q4/devel/boost-jam/bjam.mk pkgsrc/devel/boost-jam/bjam.mk
--- pkgsrc-2016Q4/devel/boost-jam/bjam.mk	2016-02-29 00:54:11.000000000 +0100
+++ pkgsrc/devel/boost-jam/bjam.mk	2017-03-16 15:32:24.260884756 +0100
@@ -43,6 +43,10 @@
 BJAM_BUILD+=		threading=multi
 BJAM_BUILD+=		link=shared,static
 
+# Support RPATH in generated libs for paths mentioned in LDFLAGS.
+BJAM_ARGS+= hardcode-dll-paths=true
+BJAM_ARGS+= ${BUILDLINK_PASSTHRU_RPATHDIRS:@p@dll-path=${p}@}
+
 BJAM_CMD=		${SETENV} ${MAKE_ENV} ${BJAM} ${BJAM_ARGS}
 
 UNLIMIT_RESOURCES+=	datasize

Attachment: smime.p7s
Description: S/MIME cryptographic signature



Home | Main Index | Thread Index | Old Index