osmith has uploaded this change for review.
contrib/jenkins: set boost libdir for armv8l
Fix for:
checking whether the Boost::Thread library is available... yes
configure: error: Could not find a version of the library!
Related: OS#5873
Change-Id: I982c13d64415c181b33f89bc145994b9e6aa1a1d
---
M contrib/jenkins.sh
1 file changed, 22 insertions(+), 1 deletion(-)
git pull ssh://gerrit.osmocom.org:29418/osmo-trx refs/changes/39/35239/1
diff --git a/contrib/jenkins.sh b/contrib/jenkins.sh
index 990e6f4..7e71478 100755
--- a/contrib/jenkins.sh
+++ b/contrib/jenkins.sh
@@ -79,7 +79,14 @@
mkdir "$deps" || true
osmo-build-dep.sh libosmocore "" "--enable-sanitize --disable-doxygen --disable-pcsc"
-PARALLEL_MAKE="" osmo-build-dep.sh libusrp
+
+CONFIG_LIBUSRP=""
+if [ "$(arch)" = "armv8l" ]; then
+ # Set boost libdir explicitly, as configure otherwise fails (OS#5873):
+ # configure: error: Could not find a version of the library!
+ CONFIG_LIBUSRP="--with-boost-libdir=/usr/lib/arm-linux-gnueabihf"
+fi
+PARALLEL_MAKE="" osmo-build-dep.sh libusrp "" "$CONFIG_LIBUSRP"
export PKG_CONFIG_PATH="$inst/lib/pkgconfig:$PKG_CONFIG_PATH"
export LD_LIBRARY_PATH="$inst/lib"
To view, visit change 35239. To unsubscribe, or for help writing mail filters, visit settings.