-
Notifications
You must be signed in to change notification settings - Fork 55
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix compiler configuration path resolution (#1617)
Move the call to `os.chdir` to change working directory at the last possible minute. Fixes #1614. When a custom compiler configuration file is used Pyccel cannot change the file name to an absolute path as we do not immediately know whether the argument contains a path or simply a key word indicating the compiler family. This should not cause problems, as long as the working directory remains unchanged. As the working directory was changed to the `__pyccel__` folder too early, we encountered the problem reported in pyccel/psydac#341 (comment).
- Loading branch information
1 parent
d01083b
commit f884e24
Showing
3 changed files
with
13 additions
and
4 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