I am trying to build the benchmar on an armv8 64 bit target. However, the build assumes the target is a 32 bit build due to this in the conanfile.py
# See https://github.com/google/benchmark/pull/638 for Windows 32 build$
if self.settings.os != "Windows":
cmake.definitions["BENCHMARK_BUILD_32_BITS"] = "ON" if "64" not in str(self.settings.arch) else "OFF"
The condition there would only set BENCHMARK_BUILD_32_BITS to OFF if the arch contains '64'. This later in cmake results in -m32 options appended to the compile options and the 64 bit gcc does not support this flag.
I think it is a bug?
Regards,
Michal
--
You received this message because you are subscribed to the Google Groups "benchmark-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to benchmark-disc...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/benchmark-discuss/9624b662-d101-47bb-a7e2-e876b0e6e8a6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.