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

Disable the use of LLD by default #2989

Merged
merged 1 commit into from
Sep 12, 2024
Merged

Disable the use of LLD by default #2989

merged 1 commit into from
Sep 12, 2024

Conversation

daljit46
Copy link
Member

@daljit46 daljit46 commented Sep 10, 2024

We no longer use LLD by default if it is available for reasons mentioned in #2986. The use of LLD can now be enabled by using -DMRTRIX_USE_LLD=ON. This option only exists as a convenience and will be removed once our target CMake version matches 3.19 or higher (as we will be able to leverage CMake presets to achieve the same thing).
Additionally, we use CMake's check_cxx_compiler_flag to see if the compiler supports LLD regardless of the platform (instead of simply relying on the presence of ld.lld).

We no longer use LLD by default if it is available for reasons mentioned in #2986.
The use of LLD can now be enabled by using -DMRTRIX_USE_LLD=ON.
Additionally, we use CMake's check_cxx_compiler_flag to see if the compiler supports
LLD regardless of the platform (instead of simply relying on the presence of ld.lld).
@daljit46 daljit46 added the build label Sep 10, 2024
@daljit46 daljit46 self-assigned this Sep 10, 2024
Copy link

clang-tidy review says "All clean, LGTM! 👍"

@daljit46 daljit46 merged commit 39d61f8 into dev Sep 12, 2024
6 checks passed
@daljit46 daljit46 deleted the mrtrix_use_lld_option branch September 12, 2024 10:23
@daljit46 daljit46 mentioned this pull request Sep 12, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant