Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Apple renamed all their OSes
authorMartin Quinson <martin.quinson@ens-rennes.fr>
Tue, 6 Nov 2018 06:19:42 +0000 (07:19 +0100)
committerMartin Quinson <martin.quinson@ens-rennes.fr>
Sun, 11 Nov 2018 01:59:33 +0000 (02:59 +0100)
https://www.engadget.com/2016/06/13/os-x-is-now-macos/

doc/doxygen/inside_release.doc
docs/source/Installing_SimGrid.rst
docs/source/app_java.rst
src/bindings/java/org/simgrid/NativeLib.java
src/smpi/internals/smpi_shared.cpp
src/xbt/xbt_os_thread.c
tools/cmake/MakeLib.cmake
tools/internal/travis-sonarqube.sh

index aa61c36..598384c 100644 (file)
@@ -19,7 +19,7 @@ Please apply the following checklist before releasing.
     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
@@ -55,7 +55,7 @@ cmake . && make dist
 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):
index 2c11421..cb94bd1 100644 (file)
@@ -6,7 +6,7 @@ Installing SimGrid
 ==================
 
 
 ==================
 
 
-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).
 
@@ -32,13 +32,13 @@ Stable Java Package
 
 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.
@@ -80,11 +80,11 @@ cmake (v2.8.8).
   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``
@@ -329,10 +329,10 @@ on `our Jenkins <https://ci.inria.fr/simgrid/>`_.
 
 .. _install_cmake_mac:
 
 
 .. _install_cmake_mac:
 
-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:
 
 .. code-block:: shell
 
 
 .. code-block:: shell
 
@@ -340,7 +340,7 @@ SimGrid compiles like a charm with clang (version 3.0 or higher) on Mac OS X:
   make
 
 
   make
 
 
-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
@@ -352,7 +352,7 @@ CMake Error: Parse error in cache file build_dir/CMakeCache.txt. Offending entry
   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:
index ebe7a86..1e71be5 100644 (file)
@@ -73,7 +73,7 @@ precompiled jarfile, please report this bug.
 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
 =====================
index 7fb1103..d358a02 100644 (file)
@@ -100,7 +100,7 @@ public final class NativeLib {
                   { 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;
index 958c9bc..edef84d 100644 (file)
@@ -153,7 +153,7 @@ static void *smpi_shared_malloc_local(size_t size, const char *file, int line)
   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) {
index d4515ad..5b0f98f 100644 (file)
@@ -305,7 +305,7 @@ xbt_os_sem_t xbt_os_sem_init(unsigned int value)
 {
   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
    */
index 2e5a8e0..aa7aeac 100644 (file)
@@ -1,6 +1,6 @@
 ### Make Libs
 
 ### Make Libs
 
-# 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)
index 054088c..5cf1136 100755 (executable)
@@ -4,7 +4,7 @@
 #
 # 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