forked from idaholab/moose
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
moose-environment, package_version update
Add support for Catalina. Update to GCC 9.2/LLVM 9. Update to Modules 4.3.1. Add VTK-Mesa support (offscreen rendering).
- Loading branch information
Showing
8 changed files
with
60 additions
and
10 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
20 changes: 20 additions & 0 deletions
20
modules/doc/content/getting_started/installation/catalina_profile.md
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,20 @@ | ||
## Modify your Zsh Profile | ||
|
||
During the installation of the moose-environment package, you have two opportunities to allow the installer to modify your zsh profile. This will allow the moose-environment module system and compiler stack to be made available by default with every new terminal window opened. | ||
|
||
- The first is available after clicking 'Customize' during the install. While in this pane, check the option "MOOSE Environment", and then continue by clicking 'Install'. | ||
|
||
- The second is after the installer has completed, where you will be presented with a pop-up window alerting you to either allow the installer to make this change, or to do nothing. If you choose 'Cancel' at this point, know that you are now responsible for altering your zsh profile yourself. In order to make the module system available, you must instruct your zsh profile to source the following file: | ||
|
||
```bash | ||
source /opt/moose/environments/moose_profile | ||
``` | ||
|
||
Once sourced, you can then load an appropriate compiler stack for MOOSE-based development: | ||
|
||
```bash | ||
module load moose-dev-clang | ||
``` | ||
|
||
!alert note title= Finalize Installation | ||
Once the installer has completed, and/or you chose to modify your zsh profile yourself, you must close any opened terminal windows, and re-open them to use the MOOSE environment. |
2 changes: 1 addition & 1 deletion
2
modules/doc/content/getting_started/installation/macos_bash_profile.md
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,24 @@ | ||
## MacOS Catalina Caveats id=catalinacaveats | ||
|
||
- GCC is not completely functional. | ||
|
||
- [There appears to be an issue/bug with Xcode](https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90835), which prevents many GNU sources from compiling while not using the Xcode IDE. However, there is a work-around. But unfortunately it requires some know-how on your part. The `stdlib.h` header file located at `/usr/include` within the basepath of `xcrun --show-sdk-path`, needs to be patched. The following represents the required change: | ||
|
||
```diff | ||
diff --git a/usr/include/stdlib.h b/usr/include/stdlib.h | ||
index 035e6c0..035bb92 100644 | ||
--- a/usr/include/stdlib.h | ||
+++ b/usr/include/stdlib.h | ||
@@ -58,8 +58,8 @@ | ||
#ifndef _STDLIB_H_ | ||
#define _STDLIB_H_ | ||
|
||
-#include <Availability.h> | ||
#include <sys/cdefs.h> | ||
+#include <Availability.h> | ||
|
||
#include <_types.h> | ||
#if !defined(_ANSI_SOURCE) | ||
``` | ||
|
||
- Basically, we want to swap the includes, so that `#include <sys/cdefs.h>` is included before `#include <Availability.h>`. Keep in mind, this change will need to be executed each time Catalina goes through an Xcode update. At the time of this writing, the latest Xcode (11.2) is affected. |
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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
# moose-environment package version (https://github.com/idaholab/package_builder) | ||
# https://github.com/idaholab/package_builder/pull/209 | ||
repo-hash:e0fec5c11f9fe7484714c8fc1a69886941624b2f | ||
# https://github.com/idaholab/package_builder/pull/212 | ||
repo-hash:882d2a67a19038452c90736d6caa24222ce5cd3b | ||
|