-
Notifications
You must be signed in to change notification settings - Fork 486
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
Current master - McEliece AVX2 is broken #940
Comments
Weird. To disable it temporarily, you can use |
Thank you! As I don't really need McEliece, this will work for me. Also, when I add to # Locate YASM executable first
find_program(YASM_EXE NAMES yasm)
if(YASM_EXE_NOTFOUND)
message("YASM executable NOT found!")
message("YASM_EXE value is ${YASM_EXE}")
message(FATAL_ERROR "Cannot compile AES-NI assembly code without YASM - aborting...")
else(YASM_EXE_NOTFOUND)
message("-- Found Yasm executable at ${YASM_EXE}")
set(CMAKE_ASM_COMPILER ${YASM_EXE})
endif(YASM_EXE_NOTFOUND)
set(CMAKE_ASM_COMPILER "${YASM_EXE}")
message("-- Setting CMAKE_ASM_COMPILER for McEliece to ${YASM_EXE} for ${ARCH} build")
enable_language(ASM)
# YASM flags for Linux and MacOS differ - accommodate for that
if (APPLE)
set(ASM_OPTIONS "-m amd64 -f macho${ARCH_BITS} -p gas -X gnu")
else (APPLE)
set(ASM_OPTIONS "-D__linux__ -m amd64 -f elf${ARCH_BITS} -p gas -X gnu -g dwarf2")
endif (APPLE)
set(CMAKE_ASM_FLAGS "${ASM_OPTIONS}") the following command gets into infinite loop with the following repeating output:
In short, McEliece and it's |
This is fixed by PQClean/PQClean@6f22c50. It will trickle down to liboqs when we pull the latest PQClean for #937. |
MacOS 10.15.7, Xcode-12.4, current master.
How do I configure the build to exclude algorithms?
The text was updated successfully, but these errors were encountered: