#18078: CMake optional package
-------------------------------------+-------------------------------------
Reporter: isuruf | Owner:
Type: enhancement | Status: needs_work
Priority: major | Milestone: sage-6.6
Component: packages: | Resolution:
optional | Merged in:
Keywords: | Reviewers:
Authors: Isuru Fernando | Work issues:
Report Upstream: N/A | Commit:
Branch: | 2b9f83e5439bca4355cfce2e5e04cd8cfd13913c
u/isuruf/cmake_optional_package | Stopgaps:
Dependencies: |
-------------------------------------+-------------------------------------
Comment (by dimpase):
Doesn't build on OSX 10.10.3 with the latest XCode:
{{{
27%] Building CXX object
Source/CMakeFiles/OSXScriptLauncher.dir/CPack/OSXScriptLauncher.cxx.o
[ 27%] Building CXX object
Utilities/cmjsoncpp/CMakeFiles/cmjsoncpp.dir/src/lib_json/json_writer.cpp.o
In file included from
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/usr/include/dispatch/dispatch.h:50:0,
from
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFStream.h:15,
from
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CFPropertyList.h:13,
from
/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.9.sdk/System/Library/Frameworks/CoreFoundation.framework/Headers/CoreFoundation.h:55,
from
/usr/local/src/sage/sage/local/var/tmp/sage/build/cmake-3.2.1/src/Source/CPack/OSXScriptLauncher.cxx:17:
/usr/local/src/sage/sage/local/include/dispatch/object.h:321:1: error:
'DISPATCH_UNAVAILABLE' does not name a type
DISPATCH_UNAVAILABLE
^
/usr/local/src/sage/sage/local/include/dispatch/object.h:358:1: error:
'DISPATCH_UNAVAILABLE' does not name a type
DISPATCH_UNAVAILABLE
^
/usr/local/src/sage/sage/local/include/dispatch/object.h:387:1: error:
'DISPATCH_UNAVAILABLE' does not name a type
DISPATCH_UNAVAILABLE
^
/usr/local/src/sage/sage/local/include/dispatch/object.h:418:1: error:
'DISPATCH_UNAVAILABLE' does not name a type
DISPATCH_UNAVAILABLE
^
make[2]: ***
[Source/CMakeFiles/OSXScriptLauncher.dir/CPack/OSXScriptLauncher.cxx.o]
Error 1
make[1]: *** [Source/CMakeFiles/OSXScriptLauncher.dir/all] Error 2
make[1]: *** Waiting for unfinished jobs....
Linking CXX static library libcmjsoncpp.a
[ 27%] Built target cmjsoncpp
make: *** [all] Error 2
Error building CMake.
real 7m15.276s
user 5m26.048s
sys 1m33.521s
************************************************************************
Error installing package cmake-3.2.1
************************************************************************
...
}}}
I suspect that we don't need the fully blown OSX cmake (we don't need
OSXScriptLauncher probably), perhaps some options need to be used while
building on OSX...
--
Ticket URL: <http://trac.sagemath.org/ticket/18078#comment:10>
Sage <http://www.sagemath.org>
Sage: Creating a Viable Open Source Alternative to Magma, Maple, Mathematica,
and MATLAB
--
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/sage-trac.
For more options, visit https://groups.google.com/d/optout.