qiangxuhui
97a5de9653
Initial support for loongarch64
...
Make ClickHouse compilable and runnable on loongarch64
So far only basic functionality was tested (on real hw),
clickhouse server runs, exceptions works, client works,
simple tests works.
2024-05-14 07:45:26 +00:00
Azat Khuzhin
bb0d6a9f2b
Revert "Check what will happen if we build ClickHouse with Musl"
...
unwind in musl is too slow, so musl build is not production ready.
This reverts commit ef30f3d80c
.
2023-09-04 22:01:10 +02:00
Alexey Milovidov
6f08b5411f
Check what will happen if we build ClickHouse with Musl
2023-08-05 02:35:44 +02:00
Robert Schulze
5d5308e060
CMake cleanup: Remove configuration of CMAKE_SHARED_LINKER_FLAGS
...
Follow-up to #44828
2023-03-26 17:59:39 +00:00
Suzy Wang
dea7e2e1f4
fix spaces
2023-02-02 21:00:49 +00:00
Suzy Wang
716d2c4ffb
Update as suggested
2023-02-02 20:41:06 +00:00
Suzy Wang
19d26828a0
s390x build support
2023-01-20 21:16:55 +00:00
Lloyd-Pottiger
a284d28dd2
Update PreLoad.cmake
...
Co-authored-by: Vladimir C <vdimir@clickhouse.com>
2022-08-26 18:30:05 +08:00
Lloyd-Pottiger
6b77ad8411
remove some outdated comments
...
Signed-off-by: Lloyd-Pottiger <yan1579196623@gamil.com>
2022-08-26 11:43:38 +08:00
Azat Khuzhin
dc28dfe57e
Do not override compiler if it had been already set
...
Before this patch:
cmake -DCMAKE_C_COMPILER=foo .. # will use foo
cmake .. # will use clang
After:
cmake -DCMAKE_C_COMPILER=foo .. # will use foo
cmake .. # will use foo
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-07-06 08:51:57 +03:00
Azat Khuzhin
a4ea7a39aa
Fix alignment in PreLoad.cmake
...
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-07-06 08:51:42 +03:00
Azat Khuzhin
7220fd296f
Surround ENV{} in quotes in PreLoad.cmake
...
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-06-03 17:30:43 +03:00
Azat Khuzhin
6647333f5f
Do not set clang as default if CC/CXX env is set
...
Since some build systems may change the compiler via those env
variables.
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-06-03 17:29:41 +03:00
Azat Khuzhin
4bb3ad1b19
Print *_FLAGS_INIT in case of error in cmake preload
...
Otherwise question may pops up, "what is wrong in my env?"
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-06-03 17:27:05 +03:00
Azat Khuzhin
6adf10b458
Use clang compiler by default (via cmake preload)
...
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-06-03 17:20:24 +03:00
Azat Khuzhin
f1dfa65edf
Do not use FORCE for set() in PreLoad.cmake
...
By using FORCE user will not be able to overwrite them.
It is true for CMAKE_GENERATOR, but FORCE for CMAKE_TOOLCHAIN_FILE is
no-op, since there is a check for CMAKE_TOOLCHAIN_FILE is not set
before.
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-06-03 17:20:24 +03:00
Azat Khuzhin
cb496a2cd4
Relax cmake check for CFLAGS/CXXFLAGS/LDFLAGS
...
Fixes : #36854
Signed-off-by: Azat Khuzhin <a.khuzhin@semrush.com>
2022-05-03 14:59:03 +03:00
Alexey Milovidov
86e9caaff3
Protection from incorrect build
2022-04-30 08:37:08 +02:00
Amos Bird
f56e3942e3
Hermetic shared build
2021-12-20 16:59:42 +08:00
alexey-milovidov
e30a4c4026
Update PreLoad.cmake
2021-11-25 23:53:50 +03:00
Alexey Milovidov
71e9211c6b
Fix build
2021-10-13 01:12:50 +03:00
Alexey Milovidov
bdd06279a4
Fix PVS Studio
2021-10-12 05:43:53 +03:00
Alexey Milovidov
b1ea87907c
Minor change
2021-10-12 05:41:05 +03:00
Alexey Milovidov
1597d2f886
Hermetic builds
2021-10-12 03:30:08 +03:00
Denis Glazachev
a3c253541b
Check if XCODE_IDE is true and avoid enforcing ninja in that case
2021-01-06 03:06:03 +04:00
kreuzerkrieg
fd307314fd
Disable ninja for CLion
2019-09-11 10:23:20 +03:00
Evgenii Pravda
809ed37fa4
Fix typos
2019-01-17 22:04:21 +03:00
Alexey Milovidov
41ded9273e
Added suggestion by nvartolomei; added links [#CLICKHOUSE-2]
2018-09-07 16:02:52 +03:00
Alexey Milovidov
836bf136e3
Added support for CLion in PreLoad.cmake [#CLICKHOUSE-2]
2018-09-07 03:24:59 +03:00
Alexey Milovidov
6631bbc13b
Use ninja instead of make by default if it is available [#CLICKHOUSE-2]
2018-06-08 19:09:50 +03:00
Alexey Milovidov
8a7103ca58
Use ninja instead of make by default if it is available [#CLICKHOUSE-2]
2018-06-08 19:07:52 +03:00
Alexey Milovidov
370545d6c2
Use ninja instead of make by default if it is available [#CLICKHOUSE-2]
2018-06-08 19:00:56 +03:00