osmith has uploaded this change for review. ( 
https://gerrit.osmocom.org/c/osmo-trx/+/35239?usp=email )


Change subject: contrib/jenkins: set boost libdir for armv8l
......................................................................

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 https://gerrit.osmocom.org/c/osmo-trx/+/35239?usp=email
To unsubscribe, or for help writing mail filters, visit 
https://gerrit.osmocom.org/settings

Gerrit-Project: osmo-trx
Gerrit-Branch: master
Gerrit-Change-Id: I982c13d64415c181b33f89bc145994b9e6aa1a1d
Gerrit-Change-Number: 35239
Gerrit-PatchSet: 1
Gerrit-Owner: osmith <osm...@sysmocom.de>
Gerrit-MessageType: newchange

Reply via email to