Open ilovezfs opened 7 years ago
Note that this failure occurs after first hacking around #96 with
diff --git a/3rdparty/libvbyte/vbyte.cc b/3rdparty/libvbyte/vbyte.cc
index 6faf792..46255b8 100644
--- a/3rdparty/libvbyte/vbyte.cc
+++ b/3rdparty/libvbyte/vbyte.cc
@@ -24,10 +24,6 @@ typedef signed char int8_t;
# include <stdint.h>
#endif
-#if defined(__AVX__) || defined(__AVX2__) || defined(__SSE4__)
-# define USE_MASKEDVBYTE 1
-#endif
-
#include "vbyte.h"
#include "varintdecode.h"
I think that the --std=c++11 flag is not set correctly, and the compiler does not recognize the c++11 syntax. I will try to push a fix tonight.
Testing 98b4105fe852704da3d32ab72cb8a4317cbb1f6c on macOS, the build fails with clang.
If I recompile protobuf with gcc 7, and also build upscaledb with gcc 7, then the build succeeds.
Full clang build log: https://gist.github.com/ilovezfs/378687cd13c350ddabdc6eb531102417
The failure is