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

[luajit] Not respect VCPKG_TARGET_ARCHITECTURE #28848

Closed
xiaozhuai opened this issue Jan 10, 2023 · 0 comments · Fixed by #29003
Closed

[luajit] Not respect VCPKG_TARGET_ARCHITECTURE #28848

xiaozhuai opened this issue Jan 10, 2023 · 0 comments · Fixed by #29003
Labels
category:community-triplet A PR or issue related to community triplets not officially validated by the vcpkg team.

Comments

@xiaozhuai
Copy link
Contributor

xiaozhuai commented Jan 10, 2023

Describe the bug
Cross compile arm64-osx on a mac with x86_64 cpu

warning: The following files were built for an incorrect architecture:
warning:     /usr/local/vcpkg/packages/luajit_arm64-osx/lib/libluajit-5.1.a
 Expected: arm64, but was x86_64

error: Found 1 post-build check problem(s). To submit these ports to curated catalogs, please first correct the portfile: /usr/local/vcpkg/ports/luajit/portfile.cmake

This also happen on cross compile luajit:x64-osx on an arm64 mac.

Environment

  • OS: macOS x86_64
@Cheney-W Cheney-W added the category:community-triplet A PR or issue related to community triplets not officially validated by the vcpkg team. label Jan 11, 2023
@xiaozhuai xiaozhuai changed the title [luajit] luajit port didn't respect VCPKG_TARGET_ARCHITECTURE [luajit] Not respect VCPKG_TARGET_ARCHITECTURE Jan 17, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
category:community-triplet A PR or issue related to community triplets not officially validated by the vcpkg team.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants