From owner-svn-ports-head@freebsd.org Wed Jun 12 06:57:04 2019 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id E646615AB815; Wed, 12 Jun 2019 06:57:03 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 8D60169F29; Wed, 12 Jun 2019 06:57:03 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 6609FD860; Wed, 12 Jun 2019 06:57:03 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id x5C6v3H6036556; Wed, 12 Jun 2019 06:57:03 GMT (envelope-from yuri@FreeBSD.org) Received: (from yuri@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id x5C6v3Ut036555; Wed, 12 Jun 2019 06:57:03 GMT (envelope-from yuri@FreeBSD.org) Message-Id: <201906120657.x5C6v3Ut036555@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: yuri set sender to yuri@FreeBSD.org using -f From: Yuri Victorovich Date: Wed, 12 Jun 2019 06:57:03 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r504004 - head/games/leela-zero/files X-SVN-Group: ports-head X-SVN-Commit-Author: yuri X-SVN-Commit-Paths: head/games/leela-zero/files X-SVN-Commit-Revision: 504004 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Rspamd-Queue-Id: 8D60169F29 X-Spamd-Bar: -- Authentication-Results: mx1.freebsd.org X-Spamd-Result: default: False [-2.96 / 15.00]; local_wl_from(0.00)[FreeBSD.org]; NEURAL_HAM_MEDIUM(-1.00)[-0.998,0]; NEURAL_HAM_SHORT(-0.96)[-0.962,0]; ASN(0.00)[asn:11403, ipnet:2610:1c1:1::/48, country:US]; NEURAL_HAM_LONG(-1.00)[-1.000,0] X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.29 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: Wed, 12 Jun 2019 06:57:04 -0000 Author: yuri Date: Wed Jun 12 06:57:02 2019 New Revision: 504004 URL: https://svnweb.freebsd.org/changeset/ports/504004 Log: games/leela-zero: Fix build on some systems by removing -flto -flto causes failures: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=238514 Reported by: fallout Modified: head/games/leela-zero/files/patch-CMakeLists.txt Modified: head/games/leela-zero/files/patch-CMakeLists.txt ============================================================================== --- head/games/leela-zero/files/patch-CMakeLists.txt Wed Jun 12 06:52:51 2019 (r504003) +++ head/games/leela-zero/files/patch-CMakeLists.txt Wed Jun 12 06:57:02 2019 (r504004) @@ -9,6 +9,22 @@ # Required Packages set(Boost_MIN_VERSION "1.58.0") set(Boost_USE_MULTITHREADED ON) +@@ -70,13 +72,13 @@ if(NOT CMAKE_CONFIGURATION_TYPES AND NOT CMAKE_BUILD_T + endif(NOT CMAKE_CONFIGURATION_TYPES AND NOT CMAKE_BUILD_TYPE) + + 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_DISABLED_WARNING_COMPILE_FLAGS "-Wno-ignored-attributes -Wno-maybe-uninitialized \ + -Wno-mismatched-tags") + set(GCC_FLAGS "${GCC_COMPILE_FLAGS} ${GCC_DISABLED_WARNING_COMPILE_FLAGS}") + set(CMAKE_CXX_FLAGS_DEBUG "${GCC_FLAGS} -g -Og") + set(CMAKE_CXX_FLAGS_RELEASE "${GCC_FLAGS} -g -O3 -DNDEBUG") +- set(CMAKE_EXE_LINKER_FLAGS "-flto -g") ++ set(CMAKE_EXE_LINKER_FLAGS "-g") # https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=238514 + endif(GccSpecificFlags) + + if(USE_CPU_ONLY) @@ -86,7 +88,7 @@ if(USE_HALF) add_definitions(-DUSE_HALF) endif()