FreeBSD Bugzilla – Attachment 209425 Details for
Bug 242234
devel/dmlc-core: fix build on GCC architectures
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
patch
dmlc-core.patch (text/plain), 1.83 KB, created by
Piotr Kubaj
on 2019-11-25 20:39:10 UTC
(
hide
)
Description:
patch
Filename:
MIME Type:
Creator:
Piotr Kubaj
Created:
2019-11-25 20:39:10 UTC
Size:
1.83 KB
patch
obsolete
>Index: Makefile >=================================================================== >--- Makefile (revision 517976) >+++ Makefile (working copy) >@@ -11,9 +11,7 @@ > > LICENSE= APACHE20 > >-BUILD_DEPENDS= llvm${LLVM_DEFAULT}>0:devel/llvm${LLVM_DEFAULT} >- >-USES= cmake >+USES= compiler:openmp cmake > USE_GITHUB= yes > GH_ACCOUNT= dmlc > USE_LDCONFIG= yes >@@ -20,15 +18,10 @@ > > CMAKE_ON= BUILD_SHARED_LIBS > >-# use clang from ports because otherwise OpenMP isn't detected on some systems (ex. 12.0-RELEASE-p9) >-CPP= clang-cpp${LLVM_DEFAULT} >-CC= clang${LLVM_DEFAULT} >-CXX= clang++${LLVM_DEFAULT} >+.include <bsd.port.pre.mk> > >-.include <bsd.port.options.mk> >- >-.if ${LLVM_DEFAULT:S,-devel,990,} >= 90 >-LLVM_DEFAULT= 80 >+.if ${CHOSEN_COMPILER_TYPE} == gcc >+USE_GCC= yes > .endif > >-.include <bsd.port.mk> >+.include <bsd.port.post.mk> >Index: files/patch-CMakeLists.txt >=================================================================== >--- files/patch-CMakeLists.txt (nonexistent) >+++ files/patch-CMakeLists.txt (working copy) >@@ -0,0 +1,11 @@ >+--- CMakeLists.txt.orig 2019-11-25 13:40:31 UTC >++++ CMakeLists.txt >+@@ -207,7 +207,7 @@ target_include_directories(dmlc PUBLIC >+ $<BUILD_INTERFACE:${CMAKE_CURRENT_SOURCE_DIR}/include> >+ $<INSTALL_INTERFACE:${CMAKE_INSTALL_PREFIX}/include>) >+ target_compile_definitions(dmlc PRIVATE -D_XOPEN_SOURCE=700 >+- -D_POSIX_SOURCE -D_POSIX_C_SOURCE=200809L -D_DARWIN_C_SOURCE >++ -D_DARWIN_C_SOURCE >+ -DDMLC_CORE_USE_CMAKE) >+ # DMLC_CORE_USE_CMAKE macro constant indicates the use of CMake >+ > >Property changes on: files/patch-CMakeLists.txt >___________________________________________________________________ >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 242234
: 209425