svn commit: r505453 - in head/games/leela-zero: . files

Piotr Kubaj pkubaj at FreeBSD.org
Sun Jun 30 19:44:37 UTC 2019


Author: pkubaj
Date: Sun Jun 30 19:44:35 2019
New Revision: 505453
URL: https://svnweb.freebsd.org/changeset/ports/505453

Log:
  games/leela-zero: don't set -march=native
  
  -march=native breaks compilation on powerpc64 and we shouldn't optimize anyway for the CPU in the build cluster.
  
  PR:             238886
  Approved by:    yuri (maintainer), tcberner (mentor)
  Differential Revision:  https://reviews.freebsd.org/D20806

Modified:
  head/games/leela-zero/Makefile
  head/games/leela-zero/files/patch-CMakeLists.txt

Modified: head/games/leela-zero/Makefile
==============================================================================
--- head/games/leela-zero/Makefile	Sun Jun 30 19:44:20 2019	(r505452)
+++ head/games/leela-zero/Makefile	Sun Jun 30 19:44:35 2019	(r505453)
@@ -3,7 +3,7 @@
 PORTNAME=	leela-zero
 DISTVERSIONPREFIX=	v
 DISTVERSION=	0.17
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	games
 
 MAINTAINER=	yuri at FreeBSD.org

Modified: head/games/leela-zero/files/patch-CMakeLists.txt
==============================================================================
--- head/games/leela-zero/files/patch-CMakeLists.txt	Sun Jun 30 19:44:20 2019	(r505452)
+++ head/games/leela-zero/files/patch-CMakeLists.txt	Sun Jun 30 19:44:35 2019	(r505453)
@@ -14,7 +14,7 @@
  
  if(GccSpecificFlags)
 -  set(GCC_COMPILE_FLAGS "-Wall -Wextra -ffast-math -flto -march=native")
-+  set(GCC_COMPILE_FLAGS "-Wall -Wextra -ffast-math -march=native") # https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=238514
++  set(GCC_COMPILE_FLAGS "-Wall -Wextra -ffast-math") # https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=238514
    set(GCC_DISABLED_WARNING_COMPILE_FLAGS "-Wno-ignored-attributes -Wno-maybe-uninitialized \
        -Wno-mismatched-tags")
    set(GCC_FLAGS "${GCC_COMPILE_FLAGS} ${GCC_DISABLED_WARNING_COMPILE_FLAGS}")


More information about the svn-ports-all mailing list