Bug 238886

Summary: games/leela-zero: don't set -march=native
Product: Ports & Packages Reporter: Piotr Kubaj <pkubaj>
Component: Individual Port(s)Assignee: Piotr Kubaj <pkubaj>
Status: Closed FIXED    
Severity: Affects Some People CC: linimon, yuri
Priority: --- Flags: yuri: maintainer-feedback+
koobs: merge-quarterly?
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
patch yuri: maintainer-approval+

Description Piotr Kubaj freebsd_committer freebsd_triage 2019-06-29 21:42:13 UTC
Created attachment 205424 [details]
patch

-march=native breaks compilation on powerpc64 and we shouldn't optimize anyway for the CPU in the build cluster.
Comment 1 Yuri Victorovich freebsd_committer freebsd_triage 2019-06-29 21:57:14 UTC
Approved.
Comment 2 commit-hook freebsd_committer freebsd_triage 2019-06-30 19:45:40 UTC
A commit references this bug:

Author: pkubaj
Date: Sun Jun 30 19:44:36 UTC 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

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