-
Notifications
You must be signed in to change notification settings - Fork 5
Compiler with path new #435
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
hiker
wants to merge
614
commits into
main
Choose a base branch
from
compiler_with_path_new
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
614 commits
Select commit
Hold shift + click to select a range
f017eed
Add optional libs argument to link function
lukehoffmann 4f62bfd
Reorder and clean up linker tests
lukehoffmann 1caf110
Make sure `Linker.link()` raises for unknown lib
lukehoffmann dd81dbe
Add missing type
lukehoffmann 8d72ccd
Fix typing error
lukehoffmann b3021d6
Add 'libs' argument to link_exe function
lukehoffmann c9b4183
Try to add documentation for the linker libs feature
lukehoffmann 390a2fb
Use correct list type in link_exe hint
lukehoffmann d8c9db1
Add silent replace option to linker.add_lib_flags
lukehoffmann 0a6f374
Fixed spelling mistake in option.
hiker 09dceb5
Clarified documentation.
hiker ef17154
Removed unnecessary functions in CompilerWrapper.
hiker a9e1ad5
Merge pull request #16 from hiker/compiler_wrapper
lukehoffmann c612aae
Merge remote-tracking branch 'origin/bom_master' into linker-lib-flags
hiker 649b9ff
Fixed failing test triggered by executing them in specific order (too…
hiker b0e5842
Fixed line lengths.
hiker 0645816
Add tests for linker LDFLAG
lukehoffmann 728089e
Add pre- and post- lib flags to link function
lukehoffmann 76322a1
Fix syntax in built-in lib flags
lukehoffmann 58007e8
Remove netcdf as a built-in linker library
lukehoffmann 7286200
Configure pre- and post-lib flags on the Linker object
lukehoffmann c6e3b42
Use more realistic linker lib flags
lukehoffmann f7e40f3
Formatting fix
lukehoffmann 282f068
Merge pull request #19 from hiker/linker-lib-flags
hiker 3b6e0bd
Support new and old style of PSyclone command line (no more nemo api …
hiker 16d3ff5
Fix mypy errors.
hiker 71fd1ae
Added missing tests for calling psyclone, and converting old style to…
hiker ec4c0f6
Updated comment.
hiker b9aabf8
Removed mixing, use a simple regex instead.
hiker 8ee10e8
Added support for ifx/icx compiler as intel-llvm class.
hiker d7b2008
Added support for nvidia compiler.
hiker 9005b3b
Add preliminary support for Cray compiler.
hiker 8771e80
Added Cray compiler wrapper ftn and cc.
hiker 2617322
Made mpi and openmp default to False in the BuildConfig constructor.
hiker f165e46
Removed white space.
hiker 0188050
Follow a more consistent naming scheme for crays, even though the nat…
hiker 3c569bd
Changed names again.
hiker df5f63a
Support compilers that do not support OpenMP.
hiker 788e75a
Added documentation for openmp parameter.
hiker edc5fcd
Renamed cray compiler wrapper to be CrayCcWrapper and CrayFtnWrapper,…
hiker f6a70c8
Fixed incorrect name in comments.
hiker 4f0e70f
Merge pull request #28 from hiker/additional_compilers
lukehoffmann ebe3f09
Mpi omp support (#343)
hiker 755ad9a
Merge branch 'mpi_omp_support' into compiler_wrapper
hiker 58caecf
Merge branch 'compiler_wrapper' into bom_master
hiker 60b105c
Merge branch 'compiler_wrapper' into linker-lib-flags
hiker 5452d70
Merge branch 'linker-lib-flags' into additional_compilers
hiker d54d94c
Merge branch 'linker-lib-flags' into bom_master
hiker 605e7e5
Merge branch 'additional_compilers' into bom_master
hiker 17119fe
Mpi omp support (#346)
hiker 23d2f8e
Merge branch 'dev' into compiler_wrapper
hiker b7f53e9
Merge branch 'compiler_wrapper' into linker-lib-flags
hiker 70ad4b1
Merge branch 'linker-lib-flags' into additional_compilers
hiker 519b8fb
Compiler wrapper (#347)
hiker 2a15f0e
Merge remote-tracking branch 'upstream/dev' into compiler_wrapper
hiker 0b3d5b7
Merge branch 'compiler_wrapper' into linker-lib-flags
hiker b70f98f
Merge branch 'linker-lib-flags' into additional_compilers
hiker ae04f0b
Linker lib flags (#348)
hiker 602d57b
Merge remote-tracking branch 'upstream/dev' into linker-lib-flags
hiker 2f7e3ba
Merge branch 'linker-lib-flags' into additional_compilers
hiker 7a2eb59
Additional compilers (#349)
hiker bd1d318
Merge branch 'dev' into additional_compilers
hiker 6fd7a4d
Merge remote-tracking branch 'upstream/master' into mpi_omp_support
hiker 852dd48
Merge branch 'mpi_omp_support' into compiler_wrapper
hiker 2148fb7
Merge branch 'compiler_wrapper' into update_psyclone_to_support_next_…
hiker 20fe928
Merge branch 'update_psyclone_to_support_next_release_syntax' into ad…
hiker 68ccc4c
Minor updates to documentation and coding style.
hiker 0464dc5
Merge branch 'compiler_wrapper' into linker-lib-flags
hiker f7b49e0
Merge branch 'linker-lib-flags' into additional_compilers
hiker a493c53
Support new and old style of PSyclone command line (no more nemo api …
hiker 824851d
Fix mypy errors.
hiker 16a125c
Added missing tests for calling psyclone, and converting old style to…
hiker fc19283
Added shell tool.
hiker 730a824
Try to make mypy happy.
hiker 6e280d9
Removed debug code.
hiker 6c3f1c2
ToolRepository now only returns default that are available. Updated t…
hiker ae61d4a
Fixed typos and coding style.
hiker e909ffb
Removed mixing, use a simple regex instead.
hiker 0557b03
Added support for ifx/icx compiler as intel-llvm class.
hiker d75ea16
Added support for nvidia compiler.
hiker 9dca741
Add preliminary support for Cray compiler.
hiker 3d3a2c8
Added Cray compiler wrapper ftn and cc.
hiker 6685ac1
Follow a more consistent naming scheme for crays, even though the nat…
hiker 8b39f17
Changed names again.
hiker be1a426
Renamed cray compiler wrapper to be CrayCcWrapper and CrayFtnWrapper,…
hiker f8b6e27
Fixed incorrect name in comments.
hiker e7c2c83
Support new and old style of PSyclone command line (no more nemo api …
hiker e2051f2
Fix mypy errors.
hiker 0ad85ee
Added missing tests for calling psyclone, and converting old style to…
hiker 890b50d
Updated comment.
hiker 032ab26
Fixed failing tests.
hiker 7168f42
Merge branch 'additional_compilers_clean' into psyclone_3_support_clean
hiker 70c083e
Merge branch 'psyclone_3_support_clean' into add_shell_tool_clean
hiker 8753d0c
Updated fparser dependency to version 0.2.
hiker 634d28c
Replace old code for handling sentinels with triggering this behaviou…
hiker 78697bf
Fixed tests for latest changes.
hiker c82cedf
Removed invalid openmp continuation line - since now fparser fails wh…
hiker 652db98
Added test for disabled openmp parsing. Updated test to work with new…
hiker ea7e428
Coding style changes.
hiker 137d346
Fix flake issues.
hiker fa0cb5d
Fixed double _.
hiker 63e77e5
Merge branch 'psyclone_3_support_clean' into add_shell_tool_clean
hiker 810da77
Merge branch 'add_shell_tool_clean' into update_to_fparser_0_2
hiker ada81c9
Make Linker inherit CompilerWrapper
lukehoffmann 3fb4018
Fix up tests for new Linker inheritence
lukehoffmann 0f1bd00
Fix a flake error
lukehoffmann 239f417
Use linker wrapping to combine flags from the wrapped linker with the…
hiker bff37de
PSyclone 3 syntax support (#363)
hiker 6b07056
Minor code cleanup.
hiker bbdb380
Merge branch 'develop' into add_shell_tool_clean
hiker 1335878
Merge branch 'add_shell_tool_clean' into update_to_fparser_0_2
hiker aa76cf9
Merge branch 'update_to_fparser_0_2' into linker_wrapper_new
hiker d06c9ce
Created linker wrapper in ToolRepository.
hiker 39a8204
Try making linker a CompilerSuiteTool instead of a CompilerWrapper.
hiker 7b189e8
Updated tests.
hiker d084f20
Fix support for post-libs.
hiker fe93339
Fixed mypy.
hiker 0e6e41c
Updated documentation and small issues raised in review.
hiker 72fb659
Fixed failing test.
hiker 6a2b40f
Add shell tool clean (#368)
hiker d032d8a
Merge branch 'develop' into update_to_fparser_0_2
hiker ccc8a39
Removed more accesses to private members.
hiker 34f4985
Added missing type hint.
hiker 686f990
Make flake8 happy.
hiker 8e67176
Merge branch 'update_to_fparser_0_2' into linker_wrapper_new
hiker 66c1fcd
Update to fparser 0 2 (#373)
hiker b7ad78a
Merge branch 'develop' into linker_wrapper_new
hiker 439571d
Added missing openmp handling in linker.
hiker 54a234b
Updated clang dependency name (in synch with what is already done on …
hiker 3501e59
Addressed issues raised in review.
hiker a0c135e
Merge branch 'develop' into linker_wrapper_new
hiker ddf240a
Forgot that file in previous commit.
hiker c585ff7
Linker wrapper new (#375)
hiker 68e175e
Updated linker to always require a compiler (previously it was actual…
hiker 82a91a9
Remove unreliable test, since there is no guarantee that a C linker i…
hiker 16bf511
Fixed bug that a wrapper would not report openmp status based on the …
hiker c4872d7
Use the same output format for wrapper as for normal compilers/tools.
hiker 6e5170d
Added more description for this test.
hiker da0f427
Merge branch 'develop' into more_linker_wrapper_improvements
hiker 3adffd3
More linker wrapper improvements (#383)
hiker ca139c1
Remove support for '-' in nvidia version numbers (which causes proble…
hiker 0e99515
Merge branch 'additional_compilers_clean' into psyclone_3_support_clean
hiker a9ac901
Merge branch 'psyclone_3_support_clean' into add_shell_tool_clean
hiker 6f3ac25
Merge branch 'add_shell_tool_clean' into update_to_fparser_0_2
hiker 41eb2f8
Merge branch 'update_to_fparser_0_2' into more_linker_wrapper_improve…
hiker 9218aa8
Fix regex for Cray compiler.
hiker e01f1ce
More improvements for Cray version regex.
hiker 70d9466
Merge branch 'main' into additional_compilers_clean
hiker e1bfe09
Removed likely a merge artefact.
hiker 982132a
Merge branch 'additional_compilers_clean' into psyclone_3_support_clean
hiker bc1de57
Merge branch 'psyclone_3_support_clean' into add_shell_tool_clean
hiker 2016717
Merge branch 'add_shell_tool_clean' into update_to_fparser_0_2
hiker 6743185
Removed fparser stop concatenation workround after fparser update
6007551
Merge branch 'update_to_fparser_0_2' into more_linker_wrapper_improve…
hiker 69243c8
Removed unnecessary mocking.
hiker 2f40832
Merge branch 'more_linker_wrapper_improvements' into unify_display_of…
hiker 885f169
Removed redundant imports for code check
34469e4
Removed fparser stop concatenation workround after fparser update (#386)
jasonjunweilyu 1761b75
Merge branch 'remove_fparser_concatenation' into unify_display_of_com…
hiker d857e38
Merge branch 'main' into psyclone_3_support_clean
hiker 15c39d4
Merge branch 'psyclone_3_support_clean' into add_shell_tool_clean
hiker f8577be
Merge branch 'add_shell_tool_clean' into update_to_fparser_0_2
hiker 354a572
Merge branch 'update_to_fparser_0_2' into more_linker_wrapper_improve…
hiker f939cfc
Merge branch 'more_linker_wrapper_improvements' into remove_fparser_c…
hiker 700605b
Merge branch 'remove_fparser_concatenation' into unify_display_of_com…
hiker 49d7eaa
Improved typing for version numbers.
hiker 30e3678
Fixed cyclic import.
hiker bac068d
Replace openmp argument in all compiler with config in preparation to…
hiker 2ab1f54
Started to add new ProfileFlags to compiler.
hiker 21ba96c
Fixed tests.
hiker fee307c
Improve inheritance of profile flags with linkers and wrappers.
hiker 4133187
Replace flags property with get_flags method.
hiker a847247
Replaced Flags with ProfileFlags in Tool.
hiker 570edfe
Use ProfileFlag as standard Flags for all tools, remove compiler-spec…
hiker 64045f0
Make mypy and flake8 happy.
hiker 71a1cea
Make mypy even happier.
hiker 0829610
Bring develop up to main (#389)
hiker 89f1ba1
Merge branch 'main' into add_shell_tool_clean
hiker 59e0230
Merge branch 'add_shell_tool_clean' into update_to_fparser_0_2
hiker cf3c07f
Merge branch 'update_to_fparser_0_2' into more_linker_wrapper_improve…
hiker 7455c09
Merge branch 'more_linker_wrapper_improvements' into remove_fparser_c…
hiker 29d8359
Merge branch 'remove_fparser_concatenation' into unify_display_of_com…
hiker 0cb2cf1
Merge branch 'develop' into add_shell_tool_clean
hiker f3b8bde
Merge branch 'add_shell_tool_clean' into update_to_fparser_0_2
hiker e71aba2
Merge branch 'update_to_fparser_0_2' into more_linker_wrapper_improve…
hiker 9c706c6
Merge branch 'more_linker_wrapper_improvements' into remove_fparser_c…
hiker 8b8c487
Merge branch 'remove_fparser_concatenation' into unify_display_of_com…
hiker 48f8567
Merge branch 'develop' into merge_main_into_develop
hiker d0cb450
Fixed typo in comment.
hiker a680257
Merge branch 'merge_main_into_develop' into compiler_profiles
hiker 872acfa
Merge branch 'add_shell_tool_clean' into compiler_profiles
hiker 06568cf
Merge branch 'update_to_fparser_0_2' into compiler_profiles
hiker 7e7af9e
Merge branch 'more_linker_wrapper_improvements' into compiler_profiles
hiker dcf7cd2
Merge branch 'remove_fparser_concatenation' into compiler_profiles
hiker 3498be7
Merge branch 'unify_display_of_compiler_wrapper' into compiler_profiles
hiker 521920f
Covered lines that were previously missed.
hiker abfd456
Test profile flags for tools.
hiker d44296c
Merge main into develop (#394)
hiker c84977f
Unify display of compiler wrapper (#395)
hiker 3028f51
Fix contained subroutines (#397)
hiker a1eeca0
Support optional profile parameters in checksum and remove.
hiker b2d6f04
Small bugfixes ifx worspace getter (#401)
hiker d0f1b59
Made linker's pre- and post-lib-flags proper profiles.
hiker c4db816
Merge remote-tracking branch 'origin/develop' into compiler_profiles
hiker 196f0ac
Fixed typing.
hiker 1db4f5e
Removed incorrect parameter.
hiker 9b6b6ee
Allow to inherit from default profile ''.
hiker f98cc2a
Update documentation.
hiker ccdb94c
Fixed formatting issue in documentation when creating the manual.
hiker a29deea
Made compiler flags (depending on compilation profile) to be part of …
hiker 865a31d
Fixed various cyclic imports.
hiker fa514bc
Addressed issues raised in review.
hiker e8044d8
Compiler profiles (#402)
hiker e0b5fb0
Start to support compiler specified with full path.
hiker d6755c5
Adopt subprocess fixture for testing. (#391)
MatthewHambley 097069c
Allow a compiler wrapper to be used, even if the wrapped compiler can…
hiker 467b667
Allow to specify just the binary name of a compiler (e.g. just mpif90…
hiker 819542a
Removed debug output.
hiker 3d3538c
Fixed typo.
hiker 972010f
Removed change_exec_name.
hiker a793810
Merge remote-tracking branch 'origin/main' into compiler_with_path
hiker d13ba01
Merge remote-tracking branch 'origin/develop' into compiler_with_path
hiker ee613c4
Removed git conflict in a comment.
hiker 30a501b
Try to revert to old build.yml file, to see if that fixes stalling wo…
hiker 14d447b
Try simple workaround for #416.
hiker 993999a
Avoid failures with nested , explain existance of /tmp.
hiker 78f2a2e
Catch warning.
hiker 4817d55
Fixed classic intel compiler version handling.
hiker 79b7849
Fixed intel classic test.
hiker 94e1f9d
Removed unnecessary availability option.
hiker 88c4f58
Merge branch 'main' into compiler_profiles
hiker 2e549cc
Removed duplicated function (git merge issue).
hiker 6cf3458
Merge branch 'compiler_profiles' into compiler_with_path
hiker 42eb245
Removed test if wrapped compiler is consistent with the wrapper compi…
hiker f8e9f8f
Removed outdated documentation.
hiker 606d40e
Adopt subprocess fixture for testing. (#391)
MatthewHambley b9013f3
Tidy up warnings in testing.
MatthewHambley 87470ab
Typo
MatthewHambley 1f60aec
Copy'n'paste mistake
MatthewHambley 48d1709
Copy'n'paste mistake
MatthewHambley b122538
Remove access time from consideration when checking prebuilds.
MatthewHambley 8e038f0
Restore lost coverage.
MatthewHambley f517594
Remove unecessary optional argument.
MatthewHambley 3a79e84
Clarify test with no assertion.
MatthewHambley 916ee1d
Combine almost duplicate tests.
MatthewHambley ee27f23
Ensure system tests of C functionality depend on bindings.
MatthewHambley 96b3c3d
Merge branch 'matthews_latest_version' into compiler_with_path_new
hiker 943819e
Fixed flake8.
hiker bfe9e38
8000
code>
Removed unused parameters.
hiker Jul 9, 2025
821b840
Merge remote-tracking branch 'origin/main' into compiler_with_path_new
hiker File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Why is this change modifying workflows?