FreeBSD Bugzilla – Attachment 203210 Details for
Bug 236847
science/chrono: fix build with GCC-based architectures
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
patch
chrono.patch (text/plain), 2.56 KB, created by
Piotr Kubaj
on 2019-03-28 07:46:55 UTC
(
hide
)
Description:
patch
Filename:
MIME Type:
Creator:
Piotr Kubaj
Created:
2019-03-28 07:46:55 UTC
Size:
2.56 KB
patch
obsolete
>Index: Makefile >=================================================================== >--- Makefile (revision 496956) >+++ Makefile (working copy) >@@ -33,10 +33,20 @@ > TESTS_DESC= Build and install unit test programs > TESTS_CMAKE_BOOL= BUILD_TESTING > >+.include <bsd.port.pre.mk> >+ >+.if ${CHOSEN_COMPILER_TYPE} == gcc >+CXXFLAGS+= -Wno-error=narrowing >+.endif >+ > post-extract: > @${RM} ${WRKSRC}/data/opensim/Rajagopal2015.orig > > post-patch: > @${FIND} ${WRKSRC} -name CMakeLists.txt -o -name "*.cmake*" | ${XARGS} ${REINPLACE_CMD} -i '' 's|lib64|lib|' >+ @${REINPLACE_CMD} -e 's/ -march=native//' \ >+ ${WRKSRC}/cmake/FindAVX.cmake \ >+ ${WRKSRC}/cmake/FindFMA.cmake \ >+ ${WRKSRC}/cmake/FindSSE.cmake > >-.include <bsd.port.mk> >+.include <bsd.port.post.mk> >Index: files/patch-src_chrono__thirdparty_filesystem_path.h >=================================================================== >--- files/patch-src_chrono__thirdparty_filesystem_path.h (nonexistent) >+++ files/patch-src_chrono__thirdparty_filesystem_path.h (working copy) >@@ -0,0 +1,13 @@ >+--- src/chrono_thirdparty/filesystem/path.h.orig 2019-03-28 07:38:10 UTC >++++ src/chrono_thirdparty/filesystem/path.h >+@@ -34,6 +34,10 @@ >+ # include <limits.h> >+ #endif >+ >++#ifdef __FreeBSD__ >++# include <sys/syslimits.h> >++#endif >++ >+ >+ NAMESPACE_BEGIN(filesystem) >+ > >Property changes on: files/patch-src_chrono__thirdparty_filesystem_path.h >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property >Index: files/patch-src_chrono_core_ChMatrix.h >=================================================================== >--- files/patch-src_chrono_core_ChMatrix.h (nonexistent) >+++ files/patch-src_chrono_core_ChMatrix.h (working copy) >@@ -0,0 +1,12 @@ >+--- src/chrono/core/ChMatrix.h.orig 2019-03-28 06:51:29 UTC >++++ src/chrono/core/ChMatrix.h >+@@ -15,7 +15,9 @@ >+ #ifndef CHMATRIX_H >+ #define CHMATRIX_H >+ >++#if defined(CHRONO_HAS_SSE) || defined(CHRONO_HAS_AVX) >+ #include <immintrin.h> >++#endif >+ >+ #include "chrono/core/ChCoordsys.h" >+ #include "chrono/core/ChException.h" > >Property changes on: files/patch-src_chrono_core_ChMatrix.h >___________________________________________________________________ >Added: fbsd:nokeywords >## -0,0 +1 ## >+yes >\ No newline at end of property >Added: svn:eol-style >## -0,0 +1 ## >+native >\ No newline at end of property >Added: svn:mime-type >## -0,0 +1 ## >+text/plain >\ No newline at end of property
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 236847
: 203210