
The last version to support OS X Yosemite is Xcode 7.2.1Īs of August 1, 2016, our OS X El Capitan build server is running Xcode 7.3.1 The last version to support OS X Mavericks is Xcode 6.2
#XCODE FOR MAC 10.10 INSTALL#
Other python distributions may work but have not been tested.įirst install Xcode and then clone the mantid git repository. These instructions are from the assumptions of a blank newly installed Mac and want to use the system python. OS X 10.10 and 10.11 using clang and Xcode ¶ Warning: if you do not want to install Mantid in /Applications, correct the CMAKE_INSTALL_PREFIX in the cmake_install.cmake file in your build directory. You may also install Mantid using the make install command. You may create the dmg package running the make package command I did not manage to build it for the moment.īuild mantid running make or make -j number_of_threads Pay attention that packaging of the documentation is switched off. DCMAKE_INSTALL_PREFIX =path_where_to_install_mantid /path_to_repository/mantid/Code/Mantid DSITEPACKAGES_PATH =/opt/local/Library/Frameworks/amework/Versions/2.7/lib/python2.7/site-packages \ DPYQT4_PATH =/opt/local/Library/Frameworks/amework/Versions/2.7/lib/python2.7/site-packages/PyQt4 \ DSPHINX_EXECUTABLE =/opt/local/bin/sphinx-build-2.7 \ DPYLINT_EXECUTABLE =/opt/local/bin/pylint-2.7 \ DPYTHON_EXECUTABLE =/opt/local/bin/python \ DPYTHON_NUMPY_INCLUDE_DIR =/opt/local/Library/Frameworks/amework/Versions/2.7/lib/python2.7/site-packages/numpy/core/include \ DPYTHON_INCLUDE_DIR =/opt/local/Library/Frameworks/amework/Headers \ DOPENCASCADE_INCLUDE_DIR =/opt/local/include/oce \ DJSONCPP_INCLUDE_DIR =/opt/local/include \ DQWTPLOT3D_INCLUDE_DIR =/opt/local/include/qwtplot3d \ DCMAKE_CXX_COMPILER =/usr/bin/clang++ -G 'Unix Makefiles' \
#XCODE FOR MAC 10.10 CODE#
LibNeXus: macports do not contain libNeXus.ĭownload the source code from the NeXus developers website.Ĭmake -DCMAKE_C_COMPILER =/usr/bin/clang \ Install OpenCascade libraries as: sudo port install oce -tbb. If you have the POCO libraries already installed, uninstall them: sudo port uninstall poco, then install as: sudo port install poco +ssl.

Install Mantid prerequisites via sudo port install package_nameīy default, POCO libraries in macports are missing libCrypto and libNetSSL. Install Xcode and macports following the instructions on if needed.

It is not recommended to have both, homebrew and macports installed simultaneously on one mac.
#XCODE FOR MAC 10.10 DOWNLOAD#
In other cases please either download a Mantid dmg package or follow the instructions below. It alsoĬonsiders that you need to compile Mantid by yourself. This instruction considers that you either use macports or need them for your other development projects. See Building on OS X for the latest instructions. They almost certainly won’t work with the latest version of mantid. These instructions are provided as reference for building on older versions of OSX. OS X 10.10 and 10.11 using clang and Xcode
