ncbi-vdb icon indicating copy to clipboard operation
ncbi-vdb copied to clipboard

Enable Apple Silicon builds by adding `interfaces/cc/clang/aarch64`

Open cho-m opened this issue 2 years ago • 1 comments

In Homebrew, I was able to build v3.0.0 on Apple Silicon by adding an interfaces/cc/clang/aarch64 (https://github.com/Homebrew/homebrew-core/pull/98654) linked from existing interfaces/cc/gcc/arm64

I will note that trying to build with GCC failed since ARCH=aarch64 rather than arm64, so build was looking for interfaces/cc/gcc/aarch64, which doesn't exist.

https://github.com/ncbi/ncbi-vdb/blob/34c611317dbe2832cf24ec543a95e9ca7b9eb2e6/build/env.cmake#L68-L71

cho-m avatar May 07 '22 20:05 cho-m