-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #340 from OpenChemistry/github-actions-upgrade-macos
Upgrade macos version on GitHub Actions
- Loading branch information
Showing
8 changed files
with
46 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -36,7 +36,7 @@ jobs: | |
} | ||
- { | ||
name: 'MacOSX', | ||
os: macos-10.15, | ||
os: macos-11, | ||
package: 'dmg', | ||
generator: 'Unix Makefiles', | ||
c: 'clang', | ||
|
@@ -101,7 +101,7 @@ jobs: | |
if: ${{ matrix.config.name != 'Linux'}} | ||
uses: jwlawson/[email protected] | ||
with: | ||
cmake-version: '3.15.7' | ||
cmake-version: '3.19.0' | ||
|
||
- name: Set compiler variables | ||
run: | | ||
|
@@ -122,7 +122,7 @@ jobs: | |
if: ${{ matrix.config.name == 'MacOSX'}} | ||
uses: maxim-lobanov/setup-xcode@v1 | ||
with: | ||
xcode-version: '11.2.1' | ||
xcode-version: '13.2.1' | ||
|
||
- name: Setup configure, build and package commands | ||
run: | | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,11 @@ | ||
set(numpy_platform_string "cp37-cp37m-macosx_10_6_intel.macosx_10_9_intel.macosx_10_9_x86_64.macosx_10_10_intel.macosx_10_10_x86_64") | ||
|
||
include(numpy.common) | ||
add_external_project(numpy | ||
DEPENDS python | ||
CONFIGURE_COMMAND "" | ||
INSTALL_COMMAND | ||
${python_pip_executable} install -U pip | ||
COMMAND ${python_pip_executable} install "numpy-1.16.3-${numpy_platform_string}.whl" | ||
BUILD_IN_SOURCE 1 | ||
BUILD_COMMAND "" | ||
) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
--- configure.ac 2019-03-25 16:21:05.000000000 -0400 | ||
+++ configure.ac.new 2022-10-10 10:10:18.000000000 -0400 | ||
@@ -490,7 +490,7 @@ | ||
# has no effect, don't bother defining them | ||
Darwin/@<:@6789@:>@.*) | ||
define_xopen_source=no;; | ||
- Darwin/1@<:@0-9@:>@.*) | ||
+ Darwin/@<:@[12]@:>@@<:@0-9@:>@.*) | ||
define_xopen_source=no;; | ||
# On AIX 4 and 5.1, mbstate_t is defined only when _XOPEN_SOURCE == 500 but | ||
# used in wcsnrtombs() and mbsnrtowcs() even if _XOPEN_SOURCE is not defined |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
--- configure 2019-03-25 16:21:05.000000000 -0400 | ||
+++ configure.new 2022-10-10 10:10:03.000000000 -0400 | ||
@@ -3387,7 +3387,7 @@ | ||
# has no effect, don't bother defining them | ||
Darwin/[6789].*) | ||
define_xopen_source=no;; | ||
- Darwin/1[0-9].*) | ||
+ Darwin/[12][0-9].*) | ||
define_xopen_source=no;; | ||
# On AIX 4 and 5.1, mbstate_t is defined only when _XOPEN_SOURCE == 500 but | ||
# used in wcsnrtombs() and mbsnrtowcs() even if _XOPEN_SOURCE is not defined |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters