Commit Graph

56 Commits

Author SHA1 Message Date
proller
4d12a823da Use copy-headers from cmake. (working compiler test without package install) (#2456)
* Try use copy-headers from cmake [WIP]

* Using internal compiler without install

* 32bit Compile fix

* Fixes

* fix

* clean

* fix

* clean
2018-06-04 23:26:17 +03:00
proller
221c833cfc Temporary use copy-headers from debian package 2018-05-29 18:13:30 +03:00
proller
5665709bb9 Use copy-headers from cmake (#2412)
* Fix internal compiler includes with new clang

* debug copy_headers.sh

* Fix copy_headers.sh

* Use copy-headers from cmake

* Update rules
2018-05-25 01:20:37 +03:00
proller
87e8d8be5a
Fix internal compiler includes with new clang (#2406) 2018-05-24 15:40:02 +03:00
proller
349009a0d3 Build fixes (#2324)
* Build fixes

* Fixes

* remove libzookeeper-mt-dev

* fix

* fix

* wrong

* try fix

* fix

* Update CMakeLists.txt

* Fixes

* Update boost to 1.67.0

* Fix ninja

* fix
2018-05-07 23:31:50 +03:00
proller
634ba89f90 Build fixes 2018-05-05 15:34:17 +03:00
proller
899c65af63 Build fixes (#2275)
* Change obsolete comment

* Simpler disable logging to file in conf.d (<log/> <errorlog/>)

* Arm64 packag fixes

* Build fixes
2018-04-24 22:59:48 -07:00
proller
f1f1f09500
Debian: temporary keep packages with old names (#2186)
* cmake fixes

* Fix test server config

* Debian: temporary keep packages with old names

* fix

* fix

* Debian postinst: adjustable user
2018-04-06 13:49:42 -07:00
proller
6e03373b8d clickhouse-common-dbg -> clickhouse-common-static-dbg (#2157) 2018-04-02 21:44:19 +03:00
proller
802cac725f Debian: Rename packages (#678)
* Debian: rename packages

* wip

* wip

* wip

* move limits.d/clickhouse.conf to common

* wip

* fix

* bad clang

* update changelog

* more Provides: Conflicts:

* clickhouse-zookeeper-cli [#CLICKHOUSE-2947]

* fix utils desc

* Fix docs

* use cmake links

* fix doc

* Fix test install

* Test me

* Test me

* Test me.

* Dont use pre-depends

* fix

* Minimize control changes

* del

* debian/clickhouse-common.install -> debian/clickhouse-common-static.install

* debian/clickhouse-common.install -> debian/clickhouse-common-static.install
2018-04-01 15:33:39 +03:00
proller
62b27b539a Debian make: Do not use ninja if not installed 2018-03-29 15:58:22 +03:00
proller
0d70314ead
Fix package make with ninja (#2129)
* Fix package make with ninja
2018-03-28 05:17:23 -07:00
proller
9744ddf70f Use ninja for package build 2018-03-27 21:36:50 +03:00
proller
caf83a650e libs: compiling with msvc2017 (#1996)
* Allow use bundled *ssl library

* fix

* Add submodule

* Fixes

* fix

* fixes

* fixes

* fix

* fix

* update poco

* fix warnings

* fix

* fix

* Build fixes

* Build fixes

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* add bat

* no zookeeper in dbms

* update boost

* fixes

* fixes

* fix

* fix

* fix

* fix

* try fix

* try fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* fix

* Better

* fix

* dh verbose

* fix

* dh verbose

* fix

* clean

* Update LocalDate.h

* Update LocalDateTime.h
2018-03-23 19:05:14 +03:00
proller
15e77ec688 Build and test fixes:
Dont test symbols with gdb
    Travis: add clang6 + ubuntu bionic (disabled)
    Travis: dont run tests with gcc7 (too long, does not fit to limit)
    Allow use clang-7 as internal compiler: -DCMAKE_CXX_COMPILER=clang++-7 -DCMAKE_C_COMPILER=clang-7 -DLLVM_VERSION_POSTFIX=-7
    Debian: Fix package install (old version can't do service clickhouse disable_cron)
    Build fixes (ubuntu bionic + clang6.0)
    Update internal compiler clang6.0 to rc1
2018-02-07 18:58:48 +03:00
proller
40304a63b9
Use internal clang to copy headers (#1603) 2017-12-08 21:30:22 +03:00
proller
16eb293b15 No more gcc-6 and clang 3.8 2017-11-16 20:47:54 +03:00
alexey-milovidov
9b18c6cb76
Embedded compiler (#1484)
* Embedded compiler: development [#CLICKHOUSE-3396].

* Embedded compiler: development [#CLICKHOUSE-3396].

* Embedded compiler: development [#CLICKHOUSE-3396].

* Embedded compiler: development [#CLICKHOUSE-3396].

* Embedded compiler: development [#CLICKHOUSE-3396].

* Embedded compiler: development [#CLICKHOUSE-3396].

* Embedded compiler: development [#CLICKHOUSE-3396].

* Embedded compiler: development [#CLICKHOUSE-3396].

* Embedded compiler: development [#CLICKHOUSE-3396].

* Embedded compiler: development [#CLICKHOUSE-3396].

* Embedded compiler: development [#CLICKHOUSE-3396].
2017-11-12 15:58:40 +03:00
Vladimir Smirnov
8d0236ebf9 Add systemd service and use it by default on systemd-enabled systems 2017-11-11 03:46:12 +03:00
Alexey Milovidov
9b8722b0b5 Fixed incompatibility of debian packages with older systems [#CLICKHOUSE-3275]. 2017-09-15 12:51:56 +03:00
proller
ad46d061a4 Improve debian building 2017-08-30 17:32:11 +03:00
proller
c62901a871 Internal compiler: first try find and use clang with version in postf… (#1029)
* Fix missing includes

* clean

* Allow compile with clang 3.8 with warning

* Add message

* Internal compiler: first try find and use clang vith version in postfix (clang-4.0)

* Try use clang-3.8

* try use all clangs

* Update copy_clang_binaries.sh

* Update rules
2017-08-10 07:44:28 +03:00
proller
d05cd2ca8c Fix clang finding in release script 2017-05-24 15:32:51 +03:00
Marek Vavruša
701ce6ab98 build: allow non-default clang binaries
this fixes release build with versioned clang from Debian
2017-05-22 19:24:36 -07:00
proller
1c74a7851b Debian: disable verbose cmake output 2017-05-03 18:21:16 +03:00
proller
1b8ff73345 Remove files for package lickhouse-server-metrika 2017-04-18 13:07:47 +03:00
proller
7183965ae1 Release: fix version
Debian: fix clean
2017-04-12 18:10:45 +03:00
proller
30b63929c1 Debian: simpler package: fix dh_shlibdeps 2017-04-10 21:57:28 +03:00
proller
72ccc69212 Debian: simpler package (#662)
* Allow use external re2 with re2_st=re2

* fix

* remove dupe

* use re2_st in FunctionsStringSearch.h

* fix

* move files from tools/etc to debian

* dont generate control

* version

* ok.

* wip

* Cmake: dont touch CMAKE_INSTALL_PREFIX

* wip

* works!

* clean

* okay

* like old

* wip

* wip

* okay

* clickhouse-server-base-dbg

* clean

* clickhouse-server-dbg

* Debian: Remove daemons

* Update rules

* add source/format

* control clean

* add watch

* clean

* clean

* temp fix build

* clean

* docs

* fake make_control

* fix

* testme

* testme

* add metrika package

* fake metrika files
2017-04-10 20:43:30 +03:00
proller
13e9b5c949 Cmake: dont touch CMAKE_INSTALL_PREFIX 2017-04-06 15:57:15 +03:00
Alexey Milovidov
64b19e3d03 debian/rules: try to exit early [#CLICKHOUSE-2] 2017-03-06 00:01:15 +03:00
proller
d9fa329107 debian/rules: allow add any cmake args via CMAKE_FLAGS_ADD=... (#513) 2017-02-21 22:51:59 +04:00
proller
c51801d776 Change default user and paths [#CLICKHOUSE-2715] (#382)
* Changing default user to clickhouse and path to /var/lib/clickhouse [#CLICKHOUSE-2715]

* wip

* Auto version update to [54141]

* Get version from saved in cmake
2017-01-31 23:53:05 +04:00
proller
1adf0bb3e1 Remove -metrika-yandex postfix from package names (#377) 2017-01-20 23:58:13 +04:00
proller
2dc2bc5ce1 Debian package build fixes 2017-01-10 21:28:24 +03:00
Vitaliy Lyudvichenko
4cd2909899 Merged new packages into clickhouse-client.
More detail diagnostic for test.
2016-11-16 02:49:27 +03:00
Vitaliy Lyudvichenko
26fe84b3d0 Removed binary stripping, try to fix clickhouse-local test. 2016-11-15 00:58:17 +03:00
Vitaliy Lyudvichenko
bfbe8f8ed1 Fixed debian package build. 2016-11-14 18:32:55 +03:00
Alexey Milovidov
ab9ff0979d Improved package build time; consistent package size across different Ubuntu versions [#METRIQA-72]. 2016-08-12 19:43:54 +03:00
Alexey Milovidov
349fd1aca8 Removed logrotate [#MTRSADMIN-2107]. 2016-07-29 19:46:11 +03:00
Andrew Grigorev
497e7d722b make clean: ignore ./debian/copyright if it not exist 2016-06-16 19:43:21 +03:00
Andrew Grigorev
375d968f46 Fix comment in debian/rules 2016-06-16 19:14:50 +03:00
Andrew Grigorev
1d1fc73657 make clean: remove debian/*.docs generated links
Fix release build failure on existence of debian/*.docs links from previous build:

```
ln -s clickhouse-server.docs debian/clickhouse-server-base.docs
ln: failed to create symbolic link 'debian/clickhouse-server-base.docs': File exists
debian/rules:48: recipe for target 'install' failed
make: *** [install] Error 1
dpkg-buildpackage: error: fakeroot debian/rules binary gave error exit status 2
debuild: fatal error at line 1376:
dpkg-buildpackage -rfakeroot -D -us -uc -b failed
```
2016-06-16 19:13:38 +03:00
Alexey Milovidov
dad7c09a02 Docs in packages: development [#METR-20000]. 2016-06-10 19:03:16 +03:00
Alexey Milovidov
196002c089 Docs in packages: development [#METR-20000]. 2016-06-10 18:42:44 +03:00
Alexey Milovidov
8f9e4c7e82 Docs in packages: development [#METR-20000]. 2016-06-10 18:23:50 +03:00
Alexey Milovidov
0790d27f14 Fixed error [#METR-20000] 2016-06-10 18:00:57 +03:00
Alexey Milovidov
7e60a063b6 Fixed error [#METR-20000]. 2016-06-10 17:45:00 +03:00
Alexey Milovidov
c990589b30 Added documentation to packages [#METR-20000]. 2016-06-10 17:11:45 +03:00
Alexey Milovidov
d5aa779041 Less dependencies [#METR-20000]. 2016-06-10 16:14:32 +03:00