Skip to content

force building Clang without CUDA when not found in EB#1968

Merged
boegel merged 1 commit intoeasybuilders:developfrom
Flamefire:clang_wo_cuda
Feb 20, 2020
Merged

force building Clang without CUDA when not found in EB#1968
boegel merged 1 commit intoeasybuilders:developfrom
Flamefire:clang_wo_cuda

Conversation

@Flamefire
Copy link
Copy Markdown
Contributor

@Flamefire Flamefire commented Feb 20, 2020

Workaround Clang using any found CUDA version even though CUDA is not used as a dependency or anything CUDA related is enabled
Fixes compile failure due to 'identifier "__ieee128" is undefined' on Power9 caused by nvcc

This uses a hack (ab)using a detail of FindCUDA.cmake as it is not possible to disable CUDA otherwise: https://bugs.llvm.org/show_bug.cgi?id=44971

Workaround Clang using any found CUDA version even though CUDA is not used as a dependency or anything CUDA related is enabled
Fixes compile failure due to 'identifier "__ieee128" is undefined' on Power9 caused by nvcc
@boegel boegel added the change label Feb 20, 2020
@boegel boegel added this to the next release (4.1.2?) milestone Feb 20, 2020
@boegel boegel changed the title [Clang] Force building without CUDA when not found in EB force building Clang without CUDA when not found in EB Feb 20, 2020
Copy link
Copy Markdown
Member

@boegel boegel left a comment

Choose a reason for hiding this comment

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

lgtm

@boegel boegel merged commit e9982d8 into easybuilders:develop Feb 20, 2020
@Flamefire Flamefire deleted the clang_wo_cuda branch February 20, 2020 22:04
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.

2 participants