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

Fix detect-targets on Linux and add CI testing #1344

Merged
merged 24 commits into from
Sep 6, 2023
Merged

Conversation

NobodyXu
Copy link
Member

@NobodyXu NobodyXu commented Sep 3, 2023

Fixed the bug introduced #1343

  • Fix linux::detect_targets: guess_host_triple could return gnu suffix on musl system, so always check that in detect_targets instead of using the target provided by guess_host_triple
  • Remove distro-specific targets since it breaks fallback to cargo
  • Fix linux::detect_targets on Alpine's gcompat version glibc
  • Fix linux::detect_targets on Ubuntu where glibc is stored in /lib/x86_64-linux-gnu/ld-linux-x86-64.so.2
  • Add testing for detect-targets
  • Add package.metadata.binstall for detect-targets

@NobodyXu NobodyXu marked this pull request as draft September 3, 2023 13:15
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
…bc info

so it has to check it manually instead of simply providing alternatives
like other OSes.

Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
Its output is different from regular glibc, so we need to hardcode that
particular cases.

Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
and fixed typo in it

Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
instead of using `just-setup`

Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
Check dynlib suffix

Signed-off-by: Jiahao XU <Jiahao_XU@outlook.com>
@NobodyXu NobodyXu marked this pull request as ready for review September 6, 2023 13:16
@NobodyXu NobodyXu added this pull request to the merge queue Sep 6, 2023
Merged via the queue into main with commit 76a6922 Sep 6, 2023
29 checks passed
@NobodyXu NobodyXu deleted the test/detect-targets branch September 6, 2023 14:53
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.

None yet

2 participants