Skip to contentSkip to conversation

package/qhull: force Release build

PATCH Applied Fabrice Fontaine 2 participants 2 messages Oct 27, 2021 – Nov 9, 2021

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 package/qhull: force Release build

Force Release mode to always build qhull_r library instead of qhull_rd and avoid the following build failure with python-matplotlib raised since bump to version 3.4.3 in commit 23ca2efef1528c73f04b5db8aff66a826fab1b9e and
https://github.com/matplotlib/matplotlib/commit/2dacb1c9090eda4b3c202db80f5e3ce340850760:

/home/giuliobenetti/autobuild/run/instance-3/output-1/host/opt/ext-toolchain/bin/../lib/gcc/powerpc64-buildroot-linux-gnu/9.3.0/../../../../powerpc64-buildroot-linux-gnu/bin/ld: cannot find -lqhull_r

Fixes:
- http://autobuild.buildroot.org/results/c2b/c2ba407275863bafe42faa4b335a20c6fa9e1d55/build-end.log

---
 package/qhull/qhull.mk | 3 +++
 1 file changed, 3 insertions(+)
package/qhull/qhull.mk +3 -0
index c11bed0373..72f6270434 100644
@@ -11,6 +11,9 @@ QHULL_INSTALL_STAGING = YES
 QHULL_LICENSE = BSD-Style
 QHULL_LICENSE_FILES = COPYING.txt
 
+# Force Release mode to always build qhull_r instead of qhull_rd
+QHULL_CONF_OPTS = -DCMAKE_BUILD_TYPE=Release
+
 # BUILD_SHARED_LIBS is handled in pkg-cmake.mk as it is a generic cmake variable
 # although BUILD_STATIC_LIBS=ON is default, make it explicit,
 # cmake and static/shared libs is confusing enough already.
Signature · 6 lines
2.33.0

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot
#1 lore raw
Quoted 6 lines · Fabrice Fontaine

Force Release mode to always build qhull_r library instead of qhull_rd and avoid the following build failure with python-matplotlib raised since bump to version 3.4.3 in commit 23ca2efef1528c73f04b5db8aff66a826fab1b9e and
https://github.com/matplotlib/matplotlib/commit/2dacb1c9090eda4b3c202db80f5e3ce340850760:

Quoted 6 lines

/home/giuliobenetti/autobuild/run/instance-3/output-1/host/opt/ext-toolchain/bin/../lib/gcc/powerpc64-buildroot-linux-gnu/9.3.0/../../../../powerpc64-buildroot-linux-gnu/bin/ld: cannot find -lqhull_r

Fixes:
- http://autobuild.buildroot.org/results/c2b/c2ba407275863bafe42faa4b335a20c6fa9e1d55/build-end.log

Applied to master, thanks.

Regards,
Arnout

Quoted 10 lines
---
  package/qhull/qhull.mk | 3 +++
  1 file changed, 3 insertions(+)
package/qhull/qhull.mk +0 -0
index c11bed0373..72f6270434 100644

package/qhull/qhull.mk QHULL_INSTALL_STAGING = YES · line 19

Quoted 9 lines
package/qhull/qhull.mk +3 -0
@@ -11,6 +11,9 @@ QHULL_INSTALL_STAGING = YES
  QHULL_LICENSE = BSD-Style
  QHULL_LICENSE_FILES = COPYING.txt
 
+# Force Release mode to always build qhull_r instead of qhull_rd
+QHULL_CONF_OPTS = -DCMAKE_BUILD_TYPE=Release
+
  # BUILD_SHARED_LIBS is handled in pkg-cmake.mk as it is a generic cmake variable
  # although BUILD_STATIC_LIBS=ON is default, make it explicit,
  # cmake and static/shared libs is confusing enough already.

_______________________________________________
buildroot mailing list
[email protected]
https://lists.buildroot.org/mailman/listinfo/buildroot