Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 Sep 2020 20:42:00 +0000 (UTC)
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r549953 - head/misc/vxl
Message-ID:  <202009242042.08OKg0Xt092615@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: yuri
Date: Thu Sep 24 20:42:00 2020
New Revision: 549953
URL: https://svnweb.freebsd.org/changeset/ports/549953

Log:
  misc/vxl: Fix build on i386
  
  On i386 architectures projects that need SSE2 have to explicitly enable it using -msse2.
  
  Also fix WWW.
  
  MFH:		2020Q3

Modified:
  head/misc/vxl/Makefile
  head/misc/vxl/pkg-descr

Modified: head/misc/vxl/Makefile
==============================================================================
--- head/misc/vxl/Makefile	Thu Sep 24 20:41:53 2020	(r549952)
+++ head/misc/vxl/Makefile	Thu Sep 24 20:42:00 2020	(r549953)
@@ -29,7 +29,12 @@ do-test:
 
 .include <bsd.port.pre.mk>
 
-.if ${ARCH} == "amd64" || ${ARCH} == "i386"
+.if ${ARCH} == "amd64"
+PLIST_SUB+=	X86=""
+CMAKE_ON+=	VIL_CONFIG_ENABLE_SSE2_ROUNDING # the automatic SSE2 test fails on i386: Performing Try-Run Test VXL_HAS_SSE2_HARDWARE_SUPPORT - Test Compilation Failed
+.elif ${ARCH} == "i386"
+CFLAGS+=	-msse2 # sse2 is not enabled on i386 by default as it is enabled on amd64, see https://github.com/vxl/vxl/issues/795
+CXXFLAGS+=	-msse2
 PLIST_SUB+=	X86=""
 CMAKE_ON+=	VIL_CONFIG_ENABLE_SSE2_ROUNDING # the automatic SSE2 test fails on i386: Performing Try-Run Test VXL_HAS_SSE2_HARDWARE_SUPPORT - Test Compilation Failed
 .else

Modified: head/misc/vxl/pkg-descr
==============================================================================
--- head/misc/vxl/pkg-descr	Thu Sep 24 20:41:53 2020	(r549952)
+++ head/misc/vxl/pkg-descr	Thu Sep 24 20:42:00 2020	(r549953)
@@ -3,4 +3,4 @@ for computer vision research and implementation. It wa
 and the IUE with the aim of making a light, fast and consistent system. VXL is
 written in ANSI/ISO C++ and is designed to be portable over many platforms.
 
-WWW: https://github.com/vxl/vxl
+WWW: https://vxl.github.io/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202009242042.08OKg0Xt092615>