Skip to content

Commit 71afdb5

Browse files
committed
Merge pull request strawlab#53 from larsmans/fix-osx-build
Fix OS X build
2 parents 8507941 + 48d36ac commit 71afdb5

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ test: pcl/_pcl.so tests/test.py
1313

1414
clean:
1515
rm -rf build
16-
rm -f pcl/_pcl.cpp pcl/_pcl.so
16+
rm -f pcl/_pcl.cpp pcl/_pcl.so pcl/registration.so
1717

1818
doc: pcl.so conf.py readme.rst
1919
sphinx-build -b singlehtml -d build/doctrees . build/html

setup.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,11 @@
66
import subprocess
77
import numpy
88
import sys
9+
import platform
10+
import os
11+
12+
if platform.system() == "Darwin":
13+
os.environ['ARCHFLAGS'] = ''
914

1015
# Try to find PCL. XXX we should only do this when trying to build or install.
1116
PCL_SUPPORTED = ["-1.7", "-1.6", ""] # in order of preference

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy