-
Notifications
You must be signed in to change notification settings - Fork 50
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Macos cpp17 into Periodic Boundaries merge (#362)
* Move to ROOT 6.30.02 and C++17. ROOT 6.30.02 provided for macOS arm64 and i386 and ubuntu-22.04. * Drop requirement that ROOT is compiled with C++17. Let's see if we can use ROOT C++14 with BDM compiled with C++17. Initial tests showed ROOT C++14 still work. * Add macos 14 runners (beta, #356) * Add SHA for Root Arm XCode 14.1 * Add back ROOT C++17 compilation check as it must match to BDM C++17 flag. * Require ROOT 6.30/02 for all platforms for move to C++17. For CI we will provide ROOT 6.30/02 for CentOS7, Ubuntu 20.04,22.04 and macOS 12,13,14. * Update the SHA for ROOT for Ubuntu 20.04. * Fix filenames of ROOT tar files. * Update checkout and cache github actions to v4. * Update github actions checkout and cache to v4. * On centos-7 one needs devtoolset-10 for a working c++17 compiler. * Use xcode 14.2 on macOS 12, change pyenv cache key for centOS7. * Support Xcode 14.2. * Missing some run-time libs, hope they come from devtools-8. * Test only macos-13. * Fix cache test. * Don't use the latest checkout and cache actions as they need a node that is not supported. * Work around a brew issue. * Move from devtoolset-8 to devtoolset-10. * Check macos-14 CI. * Added ROOT 6.30.02 for macos-13 with Xcode 15.2. This version can also be used on macos-14 with Xcode 15.2. * Use XCode 15.2 on macOS 13 for macOS System CI * On CentOS7 use cache@v2 node is too old for cache@v4. * For CentOS7 need also previous version of chechout action. * Add minor changes moving to C++17 (#360) * Update demo Cmake * Update Doc * Remove experimental file system * Replace if statement with std::clamp (cpp17) * Automatic detection of cache line size * Add todo * Turn off numa for notebooks Loading BDM into rootcling results in picking up the wrong numa header and returns a fatal error in the resource manager's constructor * Don't build notebooks on ubuntu 20.04; 22.04 only * Disable notebooks with a warning if using float --------- Co-authored-by: Fons Rademakers <[email protected]> Co-authored-by: Tobias Duswald <[email protected]> Co-authored-by: Ahmad Hesam <[email protected]>
- Loading branch information
1 parent
93d1ded
commit 91d10b9
Showing
42 changed files
with
259 additions
and
265 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
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 |
---|---|---|
|
@@ -14,38 +14,39 @@ jobs: | |
build: | ||
strategy: | ||
matrix: | ||
os: [macos-12, macos-13] | ||
os: [macos-12, macos-13, macos-14] | ||
|
||
runs-on: ${{ matrix.os }} | ||
|
||
steps: | ||
- name: Make sure Xcode 14.1 is used on macOS 12 as the default /Application/Xcode.app | ||
- name: Make sure Xcode 14.2 is used on macOS 12 as the default /Application/Xcode.app | ||
shell: bash | ||
run: | | ||
sudo mv /Applications/Xcode.app /Applications/Xcode.app- | ||
sudo ln -s /Applications/Xcode_14.1.app /Applications/Xcode.app | ||
sudo ln -s /Applications/Xcode_14.2.app /Applications/Xcode.app | ||
sudo xcode-select -s /Applications/Xcode.app/Contents/Developer | ||
if: matrix.os == 'macos-12' | ||
|
||
- name: Make sure Xcode 13.1 is used on macOS 11 as the default /Application/Xcode.app | ||
- name: Make sure Xcode 15.2 is used on macOS 13 as the default /Application/Xcode.app | ||
shell: bash | ||
run: | | ||
sudo mv /Applications/Xcode.app /Applications/Xcode.app- | ||
sudo ln -s /Applications/Xcode_13.1.app /Applications/Xcode.app | ||
sudo ln -s /Applications/Xcode_15.2.app /Applications/Xcode.app | ||
sudo xcode-select -s /Applications/Xcode.app/Contents/Developer | ||
if: matrix.os == 'macos-11' | ||
if: matrix.os == 'macos-13' | ||
|
||
- name: Install dependencies | ||
run: | | ||
export HOMEBREW_NO_INSTALLED_DEPENDENTS_CHECK=1 | ||
brew install libomp open-mpi [email protected] wget cmake ninja qt@5 libgit2 | ||
- name: Checkout BioDynaMo | ||
uses: actions/checkout@v3 | ||
uses: actions/checkout@v4 | ||
with: | ||
fetch-depth: 0 | ||
|
||
# - name: Cache Third Party Packages | ||
# uses: actions/cache@v2 | ||
# uses: actions/cache@v4 | ||
# with: | ||
# path: build/third_party | ||
# key: ${{ runner.os }}-third-party-${{ hashFiles('cmake/external/SHA256Digests.cmake') }} | ||
|
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
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
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
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
Oops, something went wrong.