PHILO-HE commented on issue #7664:
URL: 
https://github.com/apache/incubator-gluten/issues/7664#issuecomment-2434459817

    > do you recommend that we should cherry-pick that commit (and a few more 
commits that it depends on)?
   
   @z-anderson, I guess that commit will not fix this issue.
   
   With `VCPKG_TRIPLET=x64-linux-avx`, vcpkg will use a custom triplet file we 
created, see 
https://github.com/apache/incubator-gluten/blob/main/dev/vcpkg/triplets/x64-linux-avx.cmake.
 You can see some flags are set for x86_64.
   
   To support arm64, I recommend you to create another triplet file with proper 
flags set, e.g. `set(VCPKG_TARGET_ARCHITECTURE arm64)`(see reference 
[link](https://learn.microsoft.com/en-us/vcpkg/users/triplets#vcpkg_target_architecture)).
 Then, in Gluten script, set `VCPKG_TRIPLET` to this new custom triple instead 
of `x64-linux-avx` when target architecture is arm64 (we may make target 
architecture a configurable build option).


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to