Skip to content

Conversation

@kinke
Copy link

@kinke kinke commented Nov 22, 2022

Which don't have the expected unversioned libclang.so symlink in the default lib dirs. I've added the dirs up to LLVM v20 (current version is 15) for some future-proofness.

Tested manually on Ubuntu 22, works (v14).

Which don't have the expected unversioned libclang.so symlink in the
default lib dirs. I've added the dirs up to LLVM v20 (current version
is 15) for some future-proofness.
@kinke kinke force-pushed the link_on_debian_ubuntu branch from d0aced3 to 66e4c8c Compare November 22, 2022 13:39
@kinke kinke force-pushed the link_on_debian_ubuntu branch from 66e4c8c to 96d3352 Compare November 22, 2022 14:06
compiler: ${{ matrix.dc }}

- name: Setup C++
- name: 'Non-Linux: Setup C++'
Copy link
Owner

Choose a reason for hiding this comment

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

I don't understand why this change is needed, given that it was working fine before. Is there something special about Ubuntu 22.04?

Copy link
Contributor

@aminya aminya Nov 22, 2022

Choose a reason for hiding this comment

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

If you can explain the problem, I can fix it in setup-cpp.

setup-cpp already sets many of the needed variables; you should not need manual handling of it. Also, nothing has changed on Ubuntu 22.
https://github.com/aminya/setup-cpp/blob/43c67b8a9c5b5a98b07816e3ccfdb4758dba5f7d/src/llvm/llvm.ts#L72

Copy link
Author

Choose a reason for hiding this comment

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

The point is to test whether it's working out of the box on at least 2 different Ubuntu versions, by installing the libclang-dev apt package, instead of doing some special GitHub-Actions setup that noone in real life uses on his dev box. (And had to work around by creating libclang.so symlinks manually, as we did at Symmetry.)

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.

3 participants