mirror of
https://gitlab.com/libeigen/eigen.git
synced 2026-04-10 11:34:33 +08:00
Add support for CastXML on ARM aarch64
CastXML simulates the preprocessors of other compilers, but actually parses the translation unit with an internal Clang compiler. Use the same `vld1q_u64` workaround that we do for Clang. Fixes: #1979
This commit is contained in:
@@ -72,6 +72,12 @@
|
||||
#define EIGEN_COMP_CLANG 0
|
||||
#endif
|
||||
|
||||
/// \internal EIGEN_COMP_CASTXML set to 1 if being preprocessed by CastXML
|
||||
#if defined(__castxml__)
|
||||
#define EIGEN_COMP_CASTXML 1
|
||||
#else
|
||||
#define EIGEN_COMP_CASTXML 0
|
||||
#endif
|
||||
|
||||
/// \internal EIGEN_COMP_LLVM set to 1 if the compiler backend is llvm
|
||||
#if defined(__llvm__)
|
||||
|
||||
Reference in New Issue
Block a user