FreeBSD Bugzilla – Attachment 210188 Details for
Bug 242847
math/mkl-dnn: fix build on non-x86
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
patch
mkl-dnn.patch (text/plain), 2.20 KB, created by
Piotr Kubaj
on 2019-12-24 02:01:37 UTC
(
hide
)
Description:
patch
Filename:
MIME Type:
Creator:
Piotr Kubaj
Created:
2019-12-24 02:01:37 UTC
Size:
2.20 KB
patch
obsolete
>Index: Makefile >=================================================================== >--- Makefile (revision 520582) >+++ Makefile (working copy) >@@ -11,8 +11,6 @@ > LICENSE= APACHE20 > LICENSE_FILE= ${WRKSRC}/LICENSE > >-ONLY_FOR_ARCHS= amd64 i386 >-ONLY_FOR_ARCHS_REASON= Intel MKL-DNN supports Intel 64 architecture and compatible architectures > BROKEN_i386= error: shift count >= width of type (and other errors), see https://github.com/intel/mkl-dnn/issues/315 > > TEST_DEPENDS= bash:shells/bash >@@ -30,6 +28,9 @@ > OPENMP_LIB_DEPENDS= libomp.so:devel/openmp > OPENMP_BROKEN_OFF= still requires omp.h, see https://github.com/intel/mkl-dnn/issues/581 > >+CXXFLAGS_amd64= -msse4.1 >+CFXXLAGS_i386= -msse4.1 >+ > post-install: > @${RM} -r ${STAGEDIR}${PREFIX}/share/doc > >Index: files/patch-cmake_platform.cmake >=================================================================== >--- files/patch-cmake_platform.cmake (nonexistent) >+++ files/patch-cmake_platform.cmake (working copy) >@@ -0,0 +1,18 @@ >+--- cmake/platform.cmake.orig 2019-12-24 01:47:09 UTC >++++ cmake/platform.cmake >+@@ -89,7 +89,6 @@ elseif(UNIX OR MINGW) >+ append(CMAKE_CCXX_NOEXCEPT_FLAGS "-fno-exceptions") >+ # compiler specific settings >+ if(CMAKE_CXX_COMPILER_ID MATCHES "Clang") >+- set(DEF_ARCH_OPT_FLAGS "-msse4.1") >+ # Clang cannot vectorize some loops with #pragma omp simd and gets >+ # very upset. Tell it that it's okay and that we love it >+ # unconditionally. >+@@ -133,7 +132,6 @@ elseif(UNIX OR MINGW) >+ append(CMAKE_CCXX_SANITIZER_FLAGS "-g -fno-omit-frame-pointer") >+ endif() >+ elseif("${CMAKE_CXX_COMPILER_ID}" STREQUAL "GNU") >+- set(DEF_ARCH_OPT_FLAGS "-msse4.1") >+ # suppress warning on assumptions made regarding overflow (#146) >+ append(CMAKE_CCXX_NOWARN_FLAGS "-Wno-strict-overflow") >+ elseif(CMAKE_CXX_COMPILER_ID STREQUAL "Intel") > >Property changes on: files/patch-cmake_platform.cmake >___________________________________________________________________ >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
Flags:
pkubaj
:
maintainer-approval?
(
yuri
)
Actions:
View
|
Diff
Attachments on
bug 242847
: 210188