Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ensure gFTL is installed with Pyccel (#1809)
- Add `https://github.com/Goddard-Fortran-Ecosystem/gFTL` as a git submodule. - Update the `pyproject.toml` file to include essential files from gFTL. - Implement a GitHub Action in `check_for_gftl` to verify gFTL installation. This fixes #1656. --------- Co-authored-by: Yaman Güçlü <yaman.guclu@gmail.com>
- Loading branch information
1 parent
78d56de
commit c5b7e3e
Showing
8 changed files
with
42 additions
and
9 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 |
---|---|---|
@@ -0,0 +1,19 @@ | ||
name: 'Ensure gFTL is installed with Pyccel' | ||
inputs: | ||
not_editable: | ||
description: 'not_editable installation' | ||
default: 'True' | ||
runs: | ||
using: "composite" | ||
steps: | ||
- name: check gFTL installation | ||
shell: python | ||
run: | | ||
import pyccel | ||
from os.path import exists, join | ||
pyccel_loc = pyccel.__path__[0] | ||
print(pyccel_loc) | ||
assert exists(join(pyccel_loc,'extensions/gFTL/include/v2')) | ||
if ${{ inputs.not_editable }}: | ||
assert not exists(join(pyccel_loc,'extensions/gFTL/doc')) | ||
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 |
---|---|---|
@@ -1,3 +1,6 @@ | ||
[submodule "pyccel/extensions/STC"] | ||
path = pyccel/extensions/STC | ||
url = https://github.com/Stclib/STC/ | ||
[submodule "pyccel/extensions/gFTL"] | ||
path = pyccel/extensions/gFTL | ||
url = https://github.com/Goddard-Fortran-Ecosystem/gFTL |
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