Skip to content
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

More linker wrapper improvements #381

Merged
merged 4 commits into from
Feb 4, 2025

Conversation

hiker
Copy link
Collaborator

@hiker hiker commented Feb 4, 2025

Make sure linkers will test if the corresponding compiler actually exists (plus a minor bug fix).

@hiker hiker requested a review from jasonjunweilyu February 4, 2025 02:21
Copy link
Collaborator

@jasonjunweilyu jasonjunweilyu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @hiker , I just finished my review with two questions about querying the openmp flags. Then I think it is ready to be merged. This is indeed a better way of setting up the linker wrapper, as it would clearly notify the user early if the linker related compiler is not working when only the linker is using a wrapper (e.g. linker is mpif90-ifort, compiler is ifort).

tests/unit_tests/tools/test_compiler_wrapper.py Outdated Show resolved Hide resolved
source/fab/tools/compiler.py Show resolved Hide resolved
@jasonjunweilyu jasonjunweilyu merged commit 4225ddf into linker_wrapper_new Feb 4, 2025
9 checks passed
@jasonjunweilyu jasonjunweilyu deleted the more_linker_wrapper_improvements branch February 4, 2025 23:06
@jasonjunweilyu jasonjunweilyu mentioned this pull request Feb 5, 2025
@hiker hiker restored the more_linker_wrapper_improvements branch February 5, 2025 04:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants