Add support for AArch64 in a dumb way

This commit is contained in:
Sameer Rahmani 2022-06-15 12:21:20 +01:00
parent b71701a640
commit 4a23fe4e39
2 changed files with 5 additions and 0 deletions

View File

@ -29,6 +29,8 @@
#include <functional> // for function
#include <memory> // for make_unique, unique_ptr
#include <string> // for string, basic_string
#include <vector> // for vector
#define DEFAULT_NS_NAME "serene.user"
#define INTERNAL_NS "serene.internal"

View File

@ -89,7 +89,10 @@ target_compile_definitions(
target_link_libraries(serene PRIVATE
LLVMOrcJIT
# TODO: [build] Find a better way to link against the target arch
LLVMX86CodeGen
LLVMX86AsmParser
LLVMAArch64CodeGen
LLVMAArch64AsmParser
${llvm_libs})