https://www.engadget.com/2016/06/13/os-x-is-now-macos/
to build and install are included in the archive)
- Tests
- All tests pass on a reasonable amount of platforms (typically,
to build and install are included in the archive)
- Tests
- All tests pass on a reasonable amount of platforms (typically,
- everything on ci + travis/Mac + AppVeyor)
+ everything on ci + travis/macOS + AppVeyor)
- You also tested to build and install the content of the source
archive on a reasonable amount of platforms (typically, 2 or 3).
- ChangeLog file
- You also tested to build and install the content of the source
archive on a reasonable amount of platforms (typically, 2 or 3).
- ChangeLog file
Get the jarfiles for several OSes on the CI slaves. Use Save under to
give a separate name to each of them.
Get the jarfiles for several OSes on the CI slaves. Use Save under to
give a separate name to each of them.
-- Mac OSX, FreeBSD: on Jenkins
+- macOS, FreeBSD: on Jenkins
- Windows: on AppVeyor
- Linux: it is safer to rebuild them in a chroot (to avoid
boost-context and all other optional dependencies):
- Windows: on AppVeyor
- Linux: it is safer to rebuild them in a chroot (to avoid
boost-context and all other optional dependencies):
-SimGrid should work out of the box on Linux, Mac OSX, FreeBSD, and
+SimGrid should work out of the box on Linux, macOS, FreeBSD, and
Windows (under Windows, you need to install the Windows Subsystem
Linux to get more than the Java bindings).
Windows (under Windows, you need to install the Windows Subsystem
Linux to get more than the Java bindings).
The jar file can be retrieved from the `Release page
<https://framagit.org/simgrid/simgrid/tags>`_. This file is
The jar file can be retrieved from the `Release page
<https://framagit.org/simgrid/simgrid/tags>`_. This file is
-self-contained, including the native components for Linux, Mac OS X and
+self-contained, including the native components for Linux, macOS and
Windows. Copy it to your project's classpath and you're set.
Nightly built Java Package
^^^^^^^^^^^^^^^^^^^^^^^^^^
Windows. Copy it to your project's classpath and you're set.
Nightly built Java Package
^^^^^^^^^^^^^^^^^^^^^^^^^^
-For non-Windows systems (Linux, Mac OS X, or FreeBSD), head to `Jenkins <https://ci.inria.fr/simgrid/job/SimGrid>`_.
+For non-Windows systems (Linux, macOS, or FreeBSD), head to `Jenkins <https://ci.inria.fr/simgrid/job/SimGrid>`_.
In the build history, pick the last green (or at least yellow) build that is not blinking (i.e., not currently under
build). In the list, pick a system that is close to yours, and click on the ball in the Debug row. The build artefact
will appear at the top of the resulting page.
In the build history, pick the last green (or at least yellow) build that is not blinking (i.e., not currently under
build). In the list, pick a system that is close to yours, and click on the ball in the Debug row. The build artefact
will appear at the top of the resulting page.
configuration options (e.g., if your python installation is not standard).
boost (at least v1.48, v1.59 recommended)
- On Debian / Ubuntu: ``apt install libboost-dev libboost-context-dev``
configuration options (e.g., if your python installation is not standard).
boost (at least v1.48, v1.59 recommended)
- On Debian / Ubuntu: ``apt install libboost-dev libboost-context-dev``
- - On Max OS X with homebrew: ``brew install boost``
+ - On macOS with homebrew: ``brew install boost``
Java (optional):
- Debian / Ubuntu: ``apt install default-jdk libgcj18-dev`` (or
any version of libgcj)
Java (optional):
- Debian / Ubuntu: ``apt install default-jdk libgcj18-dev`` (or
any version of libgcj)
- - Mac OS X or Windows: Grab a `full JDK <http://www.oracle.com/technetwork/java/javase/downloads>`_
+ - macOS or Windows: Grab a `full JDK <http://www.oracle.com/technetwork/java/javase/downloads>`_
Lua (optional -- must be v5.3)
- SimGrid won't work with any other version of Lua.
- Debian / Ubuntu: ``apt install liblua5.3-dev lua5.3``
Lua (optional -- must be v5.3)
- SimGrid won't work with any other version of Lua.
- Debian / Ubuntu: ``apt install liblua5.3-dev lua5.3``
-Mac OS X Specifics
-^^^^^^^^^^^^^^^^^^
+macOS Specifics
+^^^^^^^^^^^^^^^
-SimGrid compiles like a charm with clang (version 3.0 or higher) on Mac OS X:
+SimGrid compiles like a charm with clang (version 3.0 or higher) on macOS:
-Troubleshooting your Mac OS X build.
+Troubleshooting your macOS build.
CMake Error: Parse error in cache file build_dir/CMakeCache.txt. Offending entry: /SDKs/MacOSX10.8.sdk
This was reported with the XCode version of clang 4.1. The work
CMake Error: Parse error in cache file build_dir/CMakeCache.txt. Offending entry: /SDKs/MacOSX10.8.sdk
This was reported with the XCode version of clang 4.1. The work
You can safely ignore the warning about "-pthread" not being used, if it appears.
/usr/include does not seem to exist
You can safely ignore the warning about "-pthread" not being used, if it appears.
/usr/include does not seem to exist
- This directory does not exist by default on modern Mac OS X versions,
+ This directory does not exist by default on modern macOS versions,
and you may need to create it with ``xcode-select -install``
.. _install_cmake_windows:
and you may need to create it with ``xcode-select -install``
.. _install_cmake_windows:
If you built it yourself, you can try to use an installed version of
the library instead of the one included in the jar. For that, add the
path to the native library into the ``LD_LIBRARY_PATH`` variable (or in
If you built it yourself, you can try to use an installed version of
the library instead of the one included in the jar. For that, add the
path to the native library into the ``LD_LIBRARY_PATH`` variable (or in
-the ``DYLD_LIBRARY_PATH`` on Mac OSX).
+the ``DYLD_LIBRARY_PATH`` on macOS).
pthread_create failed
=====================
pthread_create failed
=====================
{ name,
"lib"+name+".so", /* linux */
name+".dll", "lib"+name+".dll", /* windows (pure and mingw) */
{ name,
"lib"+name+".so", /* linux */
name+".dll", "lib"+name+".dll", /* windows (pure and mingw) */
- "lib"+name+".dylib" /* mac osx */}) {
+ "lib"+name+".dylib" /* macOS */}) {
File fileOut = new File(tempDir.toFile().getAbsolutePath() + File.separator + filename);
boolean done = false;
File fileOut = new File(tempDir.toFile().getAbsolutePath() + File.separator + filename);
boolean done = false;
if (res.second) {
// The new element was inserted.
// Generate a shared memory name from the address of the shared_data:
if (res.second) {
// The new element was inserted.
// Generate a shared memory name from the address of the shared_data:
- char shmname[32]; // cannot be longer than PSHMNAMLEN = 31 on Mac OS X (shm_open raises ENAMETOOLONG otherwise)
+ char shmname[32]; // cannot be longer than PSHMNAMLEN = 31 on macOS (shm_open raises ENAMETOOLONG otherwise)
snprintf(shmname, 31, "/shmalloc%p", &*data);
int fd = shm_open(shmname, O_RDWR | O_CREAT | O_EXCL, S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH);
if (fd < 0) {
snprintf(shmname, 31, "/shmalloc%p", &*data);
int fd = shm_open(shmname, O_RDWR | O_CREAT | O_EXCL, S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH);
if (fd < 0) {
{
xbt_os_sem_t res = xbt_new(s_xbt_os_sem_t, 1);
{
xbt_os_sem_t res = xbt_new(s_xbt_os_sem_t, 1);
- /* On some systems (MAC OS X), only the stub of sem_init is to be found.
+ /* On some systems (macOS), only the stub of sem_init is to be found.
* Any attempt to use it leads to ENOSYS (function not implemented).
* If such a prehistoric system is detected, do the job with sem_open instead
*/
* Any attempt to use it leads to ENOSYS (function not implemented).
* If such a prehistoric system is detected, do the job with sem_open instead
*/
-# On Mac OSX, specify that rpath is useful to look for the dependencies
+# On macOS, specify that rpath is useful to look for the dependencies
# See https://gitlab.kitware.com/cmake/community/wikis/doc/cmake/RPATH-handling and Java.cmake
set(CMAKE_MACOSX_RPATH TRUE)
if(APPLE)
# See https://gitlab.kitware.com/cmake/community/wikis/doc/cmake/RPATH-handling and Java.cmake
set(CMAKE_MACOSX_RPATH TRUE)
if(APPLE)
#
# Use it as a wrapper to your build command, eg: ./travis-sonarqube.sh make VERBOSE=1
#
# Use it as a wrapper to your build command, eg: ./travis-sonarqube.sh make VERBOSE=1
-# On Mac OSX or with pull requests, you don't want to run SonarQube but to exec the build command directly.
+# On macOS or with pull requests, you don't want to run SonarQube but to exec the build command directly.
# Be verbose and fail fast
set -ex
# Be verbose and fail fast
set -ex