Opened 13 years ago

Closed 13 years ago

#33700 closed defect (fixed)

py27-pyopencl @2011.2: Build failure with Xcode 4.3.1

Reported by: larryv (Lawrence Velázquez) Owned by: drkp (Dan Ports)
Priority: Normal Milestone:
Component: ports Version: 2.0.4
Keywords: haspatch maintainer Cc: ypekka (Timo-Pekka Yrjölä)
Port: py-pyopencl

Description

Building py27-pyopencl currently fails with Xcode 4.3.1 because setup.py hardcodes "/Developer/SDKs" into CXXFLAGS. (See attached log for build failures.) The attached patch removes the hardcoded reference.

It also seems that setup.py set its own arch flags, so this port built universal regardless of the whether the universal variant was chosen. The patch removes these flags also.

Attachments (3)

py27-pyopencl_main.log (926.5 KB) - added by larryv (Lawrence Velázquez) 13 years ago.
Log with current py27-pyopencl
patch-setup.py.diff (465 bytes) - added by larryv (Lawrence Velázquez) 13 years ago.
Patch to fix setup.py
Portfile-py-pyopencl.diff (453 bytes) - added by larryv (Lawrence Velázquez) 13 years ago.
Portfile patch

Download all attachments as: .zip

Change History (6)

Changed 13 years ago by larryv (Lawrence Velázquez)

Attachment: py27-pyopencl_main.log added

Log with current py27-pyopencl

Changed 13 years ago by larryv (Lawrence Velázquez)

Attachment: patch-setup.py.diff added

Patch to fix setup.py

Changed 13 years ago by larryv (Lawrence Velázquez)

Attachment: Portfile-py-pyopencl.diff added

Portfile patch

comment:1 Changed 13 years ago by mf2k (Frank Schima)

Keywords: maintainer added
Port: py-pyopencl added; py27-pyopencl removed

Note that should probably be revision bumped because of the universal issue.

comment:2 Changed 13 years ago by drkp (Dan Ports)

Owner: changed from macports-tickets@… to dports@…
Status: newassigned

comment:3 Changed 13 years ago by drkp (Dan Ports)

Resolution: fixed
Status: assignedclosed

Thanks, committed in r91189.

Note: See TracTickets for help on using tickets.