forked from fortran-lang/setup-fortran
-
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.
* removed source setvars and manipulation of DYLD_LIBRARY_PATH move macos mkl install into separate script move variable export to main calling function set lib env export in action source instead of execute set MKLLIB per case, skip 2021.5 macos mkl * use macos install script for both dmgs, answer y in apt install for act compatibility * remove accidental duplication * reverse order of passed variables in case string is empty * remove pasted garbage in link * rename macos install script * try wo another export of MKLLIB in the action.yml * export mkllib in test * no latest when using MKLROOT for macos * test for macos 14 with latest basekit for all intel comp versions * set conditions to run mkl test in mkl action file * run all tests * exclude lfortran and nvidia from mkl test
- Loading branch information
Showing
7 changed files
with
99 additions
and
70 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
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,21 @@ | ||
install_mkl=$1 | ||
MACOS_URL=$2 | ||
if [ "$MACOS_URL" == "" ]; then | ||
echo "ERROR: MACOS URL is empty - please check the version mapping for mkl/intel compiler" | ||
echo "SKIPPING MKL/intel installation..." | ||
elif [ "$MACOS_URL" == "2021.5" ] and $install_mkl; then | ||
echo "ERROR: MKL not available for this intel compiler version" | ||
echo "SKIPPING MKL installation..." | ||
else | ||
require_fetch | ||
$fetch $MACOS_URL > m_BASE_HPC_Kit.dmg | ||
hdiutil verify m_BASE_HPC_Kit.dmg | ||
hdiutil attach m_BASE_HPC_Kit.dmg | ||
sudo /Volumes/"$(basename "$MACOS_URL" .dmg)"/bootstrapper.app/Contents/MacOS/bootstrapper -s \ | ||
--action install \ | ||
--eula=accept \ | ||
--continue-with-optional-error=yes \ | ||
--log-dir=. | ||
hdiutil detach /Volumes/"$(basename "$MACOS_URL" .dmg)" -quiet | ||
rm m_BASE_HPC_Kit.dmg | ||
fi |
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