Skip to content
This repository has been archived by the owner on Mar 21, 2024. It is now read-only.

Add support for clang-16 #410

Merged
merged 4 commits into from
Mar 28, 2023
Merged

Add support for clang-16 #410

merged 4 commits into from
Mar 28, 2023

Conversation

wmaxey
Copy link
Member

@wmaxey wmaxey commented Mar 27, 2023

No description provided.

@wmaxey wmaxey requested a review from miscco March 27, 2023 19:07
Copy link
Collaborator

@miscco miscco left a comment

Choose a reason for hiding this comment

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

I removed the Intel specific workarounds at the end of the file as those builtins are now universally disabled

Comment on lines -47 to -50
comment "Install GCC and Clang"; \
# Unattended installation hack
if [ "${USE_LLVM_INSTALLER}" -eq "1" ]; then echo "\n" | bash /tmp/llvm.sh all; fi; \
${APT_GET} install gcc g++ ${COMPILERS}; \
Copy link
Collaborator

@miscco miscco Mar 28, 2023

Choose a reason for hiding this comment

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

Is there a reason we cannot extract the version of clang and do

    comment "Install GCC and Clang"; \
    # Unattended installation hack
    if [ "${USE_LLVM_INSTALLER}" -eq "1" ]; then echo "\n" |  bash /tmp/llvm.sh CLANG-VERSION; fi; \
    if [ "${USE_LLVM_INSTALLER}" -eq "1" ]; then echo "\n" | bash /tmp/llvm.sh 16; fi; \
    ${APT_GET} install gcc g++ ${COMPILERS}; \

Copy link
Member Author

Choose a reason for hiding this comment

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

Wouldn't work on older images as I think llvm installer only supports up to llvm-9.

We can investigate changing this when clang-17 shows up.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants