Skip to content

Conversation

JackBoosY
Copy link
Contributor

Fix arm/arm64 build, pass the correct arm / arm64 parameters to cmake.

Related: #10469.

@derselbst
Copy link
Contributor

Could somebody pls. clarify why CMAKE_SYSTEM_PROCESSOR is used to determine the target? Whenever I try cross-compiling, it's set to AMD64, which is my host processor.

Also please note that VCPKG_TARGET_ARCHITECTURE could be used directly, so there should be no need to introduce a custom ARCH_NAME variable in the CMakeLists.txt.

@JackBoosY JackBoosY marked this pull request as ready for review March 23, 2020 02:26
@JackBoosY
Copy link
Contributor Author

/azp run

@JackBoosY
Copy link
Contributor Author

/azp run

@JackBoosY JackBoosY requested a review from PhoebeHui April 1, 2020 02:29
@JackBoosY
Copy link
Contributor Author

/azp run

@PhoebeHui PhoebeHui added the info:reviewed Pull Request changes follow basic guidelines label Apr 3, 2020
@dan-shaw dan-shaw merged commit 6283a51 into microsoft:master Apr 6, 2020
@JackBoosY JackBoosY deleted the dev/jack/fix-libffi-arm-build branch April 7, 2020 03:08
derselbst added a commit to FluidSynth/fluidsynth that referenced this pull request Apr 8, 2020
For some reason, the configure command must be specified explicitly in the `gentables` build step. Otherwise, the ARM target compiler will be used to build `make_tables` rather than the host compiler. 

Now that microsoft/vcpkg#10485 has been completed, an ARM CI build can be added to AppVeyor. Also, the build status table in the README has been updated.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
info:reviewed Pull Request changes follow basic guidelines
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants