Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 28 Mar 2019 07:46:55 +0000
From:      bugzilla-noreply@freebsd.org
To:        ports-bugs@FreeBSD.org
Subject:   [Bug 236847] science/chrono: fix build with GCC-based architectures
Message-ID:  <bug-236847-7788@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D236847

            Bug ID: 236847
           Summary: science/chrono: fix build with GCC-based architectures
           Product: Ports & Packages
           Version: Latest
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: Individual Port(s)
          Assignee: yuri@freebsd.org
          Reporter: pkubaj@anongoth.pl
          Assignee: yuri@freebsd.org
             Flags: maintainer-feedback?(yuri@freebsd.org)

Created attachment 203210
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D203210&action=
=3Dedit
patch

Add -Wno-error=3Dnarrowing to CXXFLAGS when using GCC to work around error.

Remove -march=3Dnative from cmake files.

Include sys/syslimits.h in src/chrono_thirdparty/filesystem/path.h, GCC doe=
sn't
include that by default.

In src/chrono/core/ChMatrix.h, include immintrin.h only if SSE or AVX is
present.

Tested on powerpc64 and amd64.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



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