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

Add ppc and ppc64 to CMakeLists #385

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

Conversation

barracuda156
Copy link

PR adds missing PPC archs to CMakeLists.txt. Embedded assembly has to be disabled for PPC, otherwise the build fails on:

/opt/local/var/macports/build/_opt_PPCRosettaPorts_databases_Akumuli/Akumuli/work/Akumuli-0.8.80/libakumuli/crc32c.cpp:323:5: error: unknown register name '%edx' in 'asm'
  323 |     __asm__("cpuid"
      |     ^~~~~~~
/opt/local/var/macports/build/_opt_PPCRosettaPorts_databases_Akumuli/Akumuli/work/Akumuli-0.8.80/libakumuli/crc32c.cpp:323:5: error: unknown register name '%ebx' in 'asm'
{standard input}:465:Invalid mnemonic 'crc32b'
{standard input}:479:Invalid mnemonic 'crc32q'
{standard input}:480:Invalid mnemonic 'crc32q'
{standard input}:481:Invalid mnemonic 'crc32q'
{standard input}:504:Invalid mnemonic 'crc32q'
{standard input}:505:Invalid mnemonic 'crc32q'
{standard input}:506:Invalid mnemonic 'crc32q'
{standard input}:522:Invalid mnemonic 'crc32q'
{standard input}:528:Invalid mnemonic 'crc32b'
make[2]: *** [unittests/CMakeFiles/test_util.dir/__/libakumuli/crc32c.cpp.o] Error 1

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.

1 participant