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

CMake: use -m64 only on x86-64 hosts #63

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Conversation

r-value
Copy link

@r-value r-value commented Nov 18, 2023

-m64 only applies to x86-64, it's more reasonable to enable it only on x86_64 host.
It fixes build on non-amd64 platforms as well.

`-m64` only applies to x86-64, it's more reasonable to enable it only on `x86_64` host.
It fixes build on some other platforms as well.
aimixsaka added a commit to aimixsaka/archriscv-packages that referenced this pull request Nov 19, 2023
- Applied patch ROCm/rocminfo#63
  (Remove '-m64' c++ flag on architectures that don't support/need it.)
felixonmars pushed a commit to felixonmars/archriscv-packages that referenced this pull request Nov 19, 2023
- Applied patch ROCm/rocminfo#63
  (Remove '-m64' c++ flag on architectures that don't support/need it.)
@dayatsin-amd dayatsin-amd self-assigned this Nov 23, 2023
@dayatsin-amd dayatsin-amd self-requested a review November 23, 2023 21:12
dayatsin-amd added a commit that referenced this pull request Jun 3, 2024
-m64 only applies to x86-64, it's more reasonable to enable it only on x86_64 host.
It fixes build on some other platforms as well.

Provided by user r-value on github

https: //github.com//pull/63
Change-Id: I9c1c40d3fa39b0a61d28041fe4998b5e1ad0cdcd
@felixonmars
Copy link

Looks like fixed since 6.2.0.

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