Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 30 Jun 2019 19:44:35 +0000 (UTC)
From:      Piotr Kubaj <pkubaj@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r505453 - in head/games/leela-zero: . files
Message-ID:  <201906301944.x5UJiZ7Q092719@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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}")



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