diff options
author | Zhirui Dai | 2024-03-31 01:52:39 -0700 |
---|---|---|
committer | Zhirui Dai | 2024-03-31 01:52:39 -0700 |
commit | 1522f4db1de697d704acf0b8f27a19b953e35da6 (patch) | |
tree | a2816451fa37e8ccdfa8d50f1857abb8c1e8e749 | |
parent | 64ca6cec27698cb3589c3d06ab2b24aa3ede712d (diff) | |
download | aur-1522f4db1de697d704acf0b8f27a19b953e35da6.tar.gz |
set GLIBCXX_USE_CXX11_ABI=OFF to make open3d compatible with other python packages like PyTorch
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | PKGBUILD | 5 |
2 files changed, 4 insertions, 3 deletions
@@ -1,7 +1,7 @@ pkgbase = open3d pkgdesc = A Modern Library for 3D Data Processing pkgver = 0.18.0 - pkgrel = 3 + pkgrel = 4 epoch = 1 url = http://www.open3d.org arch = x86_64 @@ -4,7 +4,7 @@ pkgbase=open3d pkgname=( {,python-}open3d python-py3d ) pkgver=0.18.0 -pkgrel=3 +pkgrel=4 epoch=1 pkgdesc="A Modern Library for 3D Data Processing" arch=('x86_64') @@ -58,7 +58,8 @@ function build() { -DBUILD_SHARED_LIBS=ON \ -DCMAKE_BUILD_TYPE=Release \ -DCMAKE_C_COMPILER=/usr/bin/gcc-12 \ - -DCMAKE_CXX_COMPILER=/usr/bin/g++-12 + -DCMAKE_CXX_COMPILER=/usr/bin/g++-12 \ + -DGLIBCXX_USE_CXX11_ABI=OFF make -j$(nproc) } |