[MacPorts] #26612: bullet: OpenCL/OpenCL.h: No such file or directory

MacPorts noreply at macports.org
Sun Sep 26 01:33:55 PDT 2010


#26612: bullet: OpenCL/OpenCL.h: No such file or directory
-------------------------------------+--------------------------------------
 Reporter:  ryandesign@…             |       Owner:  stromnov@…           
     Type:  defect                   |      Status:  new                  
 Priority:  Normal                   |   Milestone:                       
Component:  ports                    |     Version:  1.9.1                
 Keywords:                           |        Port:  bullet               
-------------------------------------+--------------------------------------

Comment(by stromnov@…):

 Currently OpenCL used only for soft cloth simulations.
 Soft cloth can be simulated in software, MiniCL (software OpenCL), Apple
 hardware OpenCL, nVidia hardware OpenCL and AMD hardware OpenCL. You can
 optionally disable hardware OpenCL on unsupported platform and still get
 working bullet libs.

 You can check this :
  1. Enable demos in Portfile: {{{-DBUILD_DEMOS=ON
 -DBUILD_MINICL_OPENCL_DEMOS=ON}}}
  2. Demos/OpenCLClothDemo/CMakeLists.txt: remove all lines, except
 {{{SUBDIRS( MiniCL  )}}}
  3. src/BulletMultiThreaded/GpuSoftBodySolvers/OpenCL/CMakeLists.txt:
 remove all lines, except {{{SUBDIRS( MiniCL  )}}}
  4. src/BulletMultiThreaded/GpuSoftBodySolvers/CMakeLists.txt leave
 untouched

 Build port and then examine executable in Demos/OpenCLClothDemo/MiniCL/.

 I'm guessing we have to disable hardware implementations for 10.5 and
 earlier. For 10.6 such variant must be optional.

-- 
Ticket URL: <https://trac.macports.org/ticket/26612#comment:3>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list