Date: Fri, 6 Nov 2020 15:20:06 +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: r554298 - head/math/onednn Message-ID: <202011061520.0A6FK6QI045077@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: yuri Date: Fri Nov 6 15:20:06 2020 New Revision: 554298 URL: https://svnweb.freebsd.org/changeset/ports/554298 Log: math/onednn: Force the -O3 optimization level because -O2 exposes a clang bug Modified: head/math/onednn/Makefile Modified: head/math/onednn/Makefile ============================================================================== --- head/math/onednn/Makefile Fri Nov 6 14:21:15 2020 (r554297) +++ head/math/onednn/Makefile Fri Nov 6 15:20:06 2020 (r554298) @@ -3,6 +3,7 @@ PORTNAME= onednn DISTVERSIONPREFIX= v DISTVERSION= 1.7 +PORTREVISION= 1 CATEGORIES= math # machine-learning MAINTAINER= yuri@FreeBSD.org @@ -30,6 +31,8 @@ OPENMP_BROKEN_OFF= still requires omp.h, see https://g CXXFLAGS_amd64= -msse4.1 CXXFLAGS_i386= -msse4.1 + +CXXFLAGS:= ${CXXFLAGS:S/-O2/-O3/} # clang writes wrong binary code when -O2 optimization is used and one testcase is failing, see https://github.com/oneapi-src/oneDNN/issues/873#issuecomment-722778910 .include <bsd.port.options.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202011061520.0A6FK6QI045077>