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

Series of small fixes to enable compiling and cross-compiling with clang #223

Closed
wants to merge 1 commit into from
Closed

Series of small fixes to enable compiling and cross-compiling with clang #223

wants to merge 1 commit into from

Conversation

ast
Copy link
Contributor

@ast ast commented Dec 27, 2018

These fixes enable compilation and cross compilation on and for the Raspberry Pi with clang and gcc.

  • Removed duplicate symbol in volk_16i_max_star_horizontal_16i.s

  • Fixed old syntax in volk_16i_max_star_horizontal_16i.s

  • Added clang to gen/archs.xml

  • Append CMAKE_ASM_FLAGS to ARCH_ASM_FLAGS (for cross compilation)

  • Added overrules avx512f avx512cd

Don't overwrite CMAKE_ASM_FLAGS.

How to build (example):
cmake -DCMAKE_ASM_FLAGS='-march=armv7-a' -DCMAKE_C_FLAGS='-march=armv7-a -mfpu=neon -mfloat-abi=hard' ..

 - Removed duplicate symbol in volk_16i_max_star_horizontal_16i.s
 - Fixed old syntax in volk_16i_max_star_horizontal_16i.s
 - Added clang to gen/archs.xml
 - Append CMAKE_ASM_FLAGS to ARCH_ASM_FLAGS (for cross compilation)
@ast
Copy link
Contributor Author

ast commented Dec 29, 2018

After feedback on the mailing list I will rebase this pull request into smaller parts.

@ast ast closed this Dec 29, 2018
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

1 participant