You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@geode.apache.org by bb...@apache.org on 2022/04/06 20:05:09 UTC
[geode-native] branch develop updated: Ubuntu build break fix, 2nd attempt (#953)
This is an automated email from the ASF dual-hosted git repository.
bbender pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/geode-native.git
The following commit(s) were added to refs/heads/develop by this push:
new c8253c081 Ubuntu build break fix, 2nd attempt (#953)
c8253c081 is described below
commit c8253c081e8fbe95b64a52030e1f7a14f2b72f37
Author: Blake Bender <bb...@pivotal.io>
AuthorDate: Wed Apr 6 13:05:05 2022 -0700
Ubuntu build break fix, 2nd attempt (#953)
* Fix Ubuntu build break due to cmake upgrade
- New cmake version changes treatment of CMAKE_INSTALL_LIBDIR variable,
which now evaluates to different things for xerces build and main
client build. As a result, we build Xerces, then go looking to link
to it in the wrong place. Hard-coding the path to just 'lib' for now
appears to fix the Ubuntu issue without breaking anything else.
* 2nd attempt to fix Ubuntu build break
- First attempt broke RHEL flavors, and only fixed the first dependent
library on Ubuntu - gtest was still looked for in the wrong place
- It appears cmake has special code on Ubuntu to use the wrong lib dir
iff CMAKE_INSTALL_PREFIX is set to /usr or /usr/local, so we'll set it
to something else and see if that does or doesn't break anything else.
---
ci/base/base.yml | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/ci/base/base.yml b/ci/base/base.yml
index 34386ea2a..da2649331 100644
--- a/ci/base/base.yml
+++ b/ci/base/base.yml
@@ -99,6 +99,8 @@ builds:
#@yaml/map-key-override
params:
CMAKE_CONFIGURE_FLAGS: "-DCMAKE_INSTALL_PREFIX=/home/build"
+ CMAKE_BUILD_FLAGS: "-j16"
+ CPACK_GENERATORS: "TGZ"
- _: #@ template.replace(new_build("ubuntu-20.04"))
image_family: build-ubuntu-20-04
@@ -106,5 +108,7 @@ builds:
#@yaml/map-key-override
params:
CMAKE_CONFIGURE_FLAGS: "-DCMAKE_INSTALL_PREFIX=/home/build"
+ CMAKE_BUILD_FLAGS: "-j16"
+ CPACK_GENERATORS: "TGZ"
configs: [ ]