Commit Graph

6 Commits

Author SHA1 Message Date
Alexey Milovidov 39dead8cdf Maybe better dependencies tracking in CMake 2021-07-08 05:50:18 +03:00
Denis Glazachev 4104b28276 Remove manual flag adjusting - cross compilations should be configured automatically 2021-06-26 21:52:37 +04:00
Denis Glazachev eabe948555 Fix locating objcopy in macOS
Rework clickhouse_embed_binaries() to compile asm files properly and avoid duplicate symbols when linking in macOS
2021-06-26 17:39:02 +04:00
Ivan 227722d7a7 Add CI check for darwin-aarch64 (#25560)
* Add support for darwin-aarch64

* Fix PVS warnings

* Add build configuration

* Fix packager args
2021-06-25 18:21:56 +03:00
Benjamin Naecker faa82cfb3b Adds full cross-compilation support when embedding binary resources 2021-06-12 15:54:21 -07:00
Benjamin Naecker 0f2b93ee40 Adds a better way to include binary resources
- Uses a small assembly file to include binary resources, rather than
  objcopy
- Updates `base/common/getResource.cpp` for this new method of inclusion
- Removes linux-only guards in CMake files, as this solution is
  cross-platform.

The resulting binary resources are available in the ClickHouse server
binary on Linux, macOS, and illumos platforms. FreeBSD has not been
tested, but will likely work as well.
2021-06-09 14:03:30 -07:00