diff options
Diffstat (limited to 'graphics/luxrender')
-rw-r--r-- | graphics/luxrender/Makefile | 3 | ||||
-rw-r--r-- | graphics/luxrender/files/patch-CMakeLists.txt | 2 | ||||
-rw-r--r-- | graphics/luxrender/files/patch-luxrays-cmake-PlatformSpecific.cmake | 2 |
3 files changed, 5 insertions, 2 deletions
diff --git a/graphics/luxrender/Makefile b/graphics/luxrender/Makefile index 0569ca33b119..ddff4fc3dfc4 100644 --- a/graphics/luxrender/Makefile +++ b/graphics/luxrender/Makefile @@ -24,6 +24,9 @@ LIB_DEPENDS= libboost_python.so:${PORTSDIR}/devel/boost-python-libs \ LIB_DEPENDS+= libexecinfo.so:${PORTSDIR}/devel/libexecinfo .endif +ONLY_FOR_ARCHS= i386 amd64 +ONLY_FOR_ARCHS_REASON= uses SSE extensions + USES= bison cmake tar:bzip2 USE_GL= glut glew WRKSRC= ${WRKDIR}/luxrender-lux-${LUX_REV} diff --git a/graphics/luxrender/files/patch-CMakeLists.txt b/graphics/luxrender/files/patch-CMakeLists.txt index 8b79b1af7065..1cea51b134b9 100644 --- a/graphics/luxrender/files/patch-CMakeLists.txt +++ b/graphics/luxrender/files/patch-CMakeLists.txt @@ -14,7 +14,7 @@ # Dade - default compiler options # Removed "-O3" from definitions in order to have CMake Release/Debug options to work - ADD_DEFINITIONS(-msse2 -mfpmath=sse -ftree-vectorize -funroll-loops -Wall -fPIC -DHAVE_PTHREAD_H) -+ ADD_DEFINITIONS(-Wall -fPIC -DHAVE_PTHREAD_H) ++ ADD_DEFINITIONS(-msse -Wall -fPIC -DHAVE_PTHREAD_H) set(CMAKE_CXX_FLAGS_DEBUG "${CMAKE_CXX_FLAGS_DEBUG} -fvisibility=hidden -fvisibility-inlines-hidden") set(CMAKE_CXX_FLAGS_RELEASE "${CMAKE_CXX_FLAGS_RELEASE} -fvisibility=hidden -fvisibility-inlines-hidden") # The QBVH accelerator needs to be compiled with much reduced optimizations diff --git a/graphics/luxrender/files/patch-luxrays-cmake-PlatformSpecific.cmake b/graphics/luxrender/files/patch-luxrays-cmake-PlatformSpecific.cmake index aecad2dfde73..74c02cfb6c22 100644 --- a/graphics/luxrender/files/patch-luxrays-cmake-PlatformSpecific.cmake +++ b/graphics/luxrender/files/patch-luxrays-cmake-PlatformSpecific.cmake @@ -9,7 +9,7 @@ # Update if necessary set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wall -Wno-long-long -pedantic") - set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -msse -msse2 -msse3 -mssse3") -+# set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -msse -msse2 -msse3 -mssse3") ++ set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -msse") IF(NOT CYGWIN) SET(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fPIC") ENDIF(NOT CYGWIN) |