From owner-svn-ports-head@FreeBSD.ORG Sat Jul 12 15:59:45 2014 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 675C0D99; Sat, 12 Jul 2014 15:59:45 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 3B1B62DC3; Sat, 12 Jul 2014 15:59:45 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s6CFxjTV072953; Sat, 12 Jul 2014 15:59:45 GMT (envelope-from danfe@svn.freebsd.org) Received: (from danfe@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s6CFxiFc072949; Sat, 12 Jul 2014 15:59:44 GMT (envelope-from danfe@svn.freebsd.org) Message-Id: <201407121559.s6CFxiFc072949@svn.freebsd.org> From: Alexey Dokuchaev Date: Sat, 12 Jul 2014 15:59:44 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r361622 - in head/graphics/luxrender: . files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 12 Jul 2014 15:59:45 -0000 Author: danfe Date: Sat Jul 12 15:59:44 2014 New Revision: 361622 URL: http://svnweb.freebsd.org/changeset/ports/361622 QAT: https://qat.redports.org/buildarchive/r361622/ Log: Unbreak on i386 by letting compiler to use SSE extensions, and limit the port to x86 only because of this. Reported by: pkg-fallout Modified: head/graphics/luxrender/Makefile head/graphics/luxrender/files/patch-CMakeLists.txt head/graphics/luxrender/files/patch-luxrays-cmake-PlatformSpecific.cmake Modified: head/graphics/luxrender/Makefile ============================================================================== --- head/graphics/luxrender/Makefile Sat Jul 12 15:22:00 2014 (r361621) +++ head/graphics/luxrender/Makefile Sat Jul 12 15:59:44 2014 (r361622) @@ -24,6 +24,9 @@ LIB_DEPENDS= libboost_python.so:${PORTSD 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} Modified: head/graphics/luxrender/files/patch-CMakeLists.txt ============================================================================== --- head/graphics/luxrender/files/patch-CMakeLists.txt Sat Jul 12 15:22:00 2014 (r361621) +++ head/graphics/luxrender/files/patch-CMakeLists.txt Sat Jul 12 15:59:44 2014 (r361622) @@ -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 Modified: head/graphics/luxrender/files/patch-luxrays-cmake-PlatformSpecific.cmake ============================================================================== --- head/graphics/luxrender/files/patch-luxrays-cmake-PlatformSpecific.cmake Sat Jul 12 15:22:00 2014 (r361621) +++ head/graphics/luxrender/files/patch-luxrays-cmake-PlatformSpecific.cmake Sat Jul 12 15:59:44 2014 (r361622) @@ -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)