Open KVeschgini opened 4 days ago
edit: add brew install
I probably know something.. sorry about this.
the --compiler clang-16-darwin
will jump to cross compile,
we hard code some build binary for the v8.
would you like to use directly bare metal build instead of docker? https://github.com/timeplus-io/proton/blob/develop/BUILD.md#bare-metal-build-5
the proton server final is a static library. the fresh build basically need about 90 minutes. also you can download the binary or pull the docker or brew install directly to take a try proton.
Thanks, I am aware that the binary exists and I am already using it. I am trying to build proton to be able to work on the source code. The build also fails under wsl and on a ubuntu machine. I will try again, document the process and then make a bug ticket.
really appreciate your trial. I check the code again, the "docker build for macOS" issue may not have a quick fix. Would you mind trying the bare-metal build instead? the macOS use the dockered low level is based on arm/x86 linux.
Regarding the WSL / Ubuntu build failure, this seems to be an issue. Some of our colleagues already use WSL for their daily development and debugging.
Bare-metal build worked for me after upgrading xcode to version 15.4.
glad to hear that. There's a current issue with macOS where the stacktrace only works in debug mode, but there's no stacktrace when you throw an exception directly (ClickHouse already has a patch to fix this, but I don't have the time to back port it).
Apart from this problem, macOS also doesn't have jemalloc && sanitizer. thoes are some potential issues we currently encountered.
What's wrong A clean build on M2 Mac using Docker fails due to v8.
How to reproduce
Error message Build fails with