Issue 55 in casacore: lib path for Debian/Ubuntu MultiArch

1 view
Skip to first unread message

casa...@googlecode.com

unread,
Sep 14, 2012, 11:35:43 AM9/14/12
to casacor...@googlegroups.com
Status: New
Owner: ----
Labels: Type-Defect Priority-Medium Milestone-Release1.4

New issue 55 by ole.stre...@gmail.com: lib path for Debian/Ubuntu MultiArch
http://code.google.com/p/casacore/issues/detail?id=55

Debian and Ubuntu are moving to a Multiarchitecture approach:

http://wiki.debian.org/ReleaseGoals/MultiArch

For this, the libraries should be installed in /usr/lib/<arch>, with <arch>
being something like i386-linux-gnu or x86_64-linux-gnu (keep in mind that
Debian is also ported to other CPUs and other kernels).

While the current cmake-2.8.4 supports finding libraries in these
directories, the casacore libraries are not installed there.

The attached patch fixes this: it allows to specify the architecture with

cmake -DLIBRARY_OUTPUT_PATH=lib/$(DEB_HOST_GNU_TYPE)

This is similar to <http://code.google.com/p/casacore/issues/detail?id=54>,
so maybe the two bugs could be merged.

Attachments:
debian_patches_multiarch.patch 5.4 KB

Reply all
Reply to author
Forward
0 new messages