[Bug 236847] science/chrono: fix build with GCC-based architectures

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Thu Mar 28 07:47:03 UTC 2019


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=236847

            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 at freebsd.org
          Reporter: pkubaj at anongoth.pl
          Assignee: yuri at freebsd.org
             Flags: maintainer-feedback?(yuri at freebsd.org)

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

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

Remove -march=native from cmake files.

Include sys/syslimits.h in src/chrono_thirdparty/filesystem/path.h, GCC doesn'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.

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


More information about the freebsd-ports-bugs mailing list