Commit Graph

14 Commits

Author SHA1 Message Date
Azat Khuzhin
ba7918886f Fix ccache [4.0, 4.2) (RULE_LAUNCH_COMPILE/RULE_LAUNCH_LINK was incorrect)
Before the compilation contains ccache twice:

    env -u SOURCE_DATE_EPOCH /usr/bin/ccache prlimit --as=10000000000 --data=5000000000 --cpu=600 /usr/bin/ccache /usr/bin/clang++-11

So remove ccache from RULE_LAUNCH_COMPILE/RULE_LAUNCH_LINK
2021-09-10 08:45:29 +03:00
Alexander Kuzmenkov
a55d03cb62 try to avoid conflict with prlimit 2021-03-31 22:41:53 +03:00
Azat Khuzhin
58b0bbe6b1 Fix ccache 4.2+ usage (RULE_LAUNCH_COMPILE/RULE_LAUNCH_LINK was not set) 2021-02-24 21:56:19 +03:00
Azat Khuzhin
865dca0b0d ccache 4.2+ does not requires any quirks for SOURCE_DATE_EPOCH
And besides "ccache <some ccache options> compiler" does not work, since
it interpret everything as ccache options.

Refs: cad2416291
2021-02-18 22:39:44 +03:00
alexey-milovidov
7e21d4d70a
Update ccache.cmake 2021-01-10 03:46:35 +03:00
Azat Khuzhin
0421ab6c80 Use time_macros over unset SOURCE_DATE_EPOCH in ccache 4.2 (unreleased)
ccache 4.2+ will ignore SOURCE_DATE_EPOCH [1].

  [1]: https://github.com/ccache/ccache/pull/755
2021-01-10 02:28:02 +03:00
Azat Khuzhin
d97455a94b Ignore SOURCE_DATE_EPOCH for newer ccache (4+)
ccache 4+ starts respecting SOURCE_DATE_EPOCH [1], it will include it
into the hash of the manifest.

SOURCE_DATE_EPOCH will be passed from debhelpers, by extracting last
entry from d/changelog (or current time if there is entries)

And this will make ccache unusable.

Fix this by ignoring SOURCE_DATE_EPOCH, like current ccache version on
CI does (3.7.7)

  [1]: 238553a1c4/src/ccache.cpp (L1279)
2020-12-23 22:15:57 +03:00
myrrc
c78d9f9f38 moved the generators to docs/ folder 2020-09-19 19:42:36 +03:00
alesapin
b91f37169d Fix cmake 2020-09-08 10:09:40 +03:00
Konstantin Podshumok
a9d2de595d
xcmake: enbale ccache by default if it is installed
Signed-off-by: Konstantin Podshumok <kpp.live+signed@gmail.com>
2020-08-27 14:27:00 +03:00
Konstantin Podshumok
d456aa86ef
Revert "Revert "cmake: Add option to fail configuration instead of auto-reconfiguration""
This reverts commit 89419ceb9b
(curl part moved to separate commit)

Squashed:
- termcap removed
- fix for cassandra on apple merged
- cmake: fix "Can't find system zlib library" in unbundled build
- cmake: fix condition when testing for rdkafka platform
- cmake: PROTOBUF_OLD_ABI_COMPAT shouldn't be enabled for internal protobuf

Signed-off-by: Konstantin Podshumok <kpp.live+signed@gmail.com>
2020-08-25 20:16:37 +03:00
alexey-milovidov
89419ceb9b
Revert "cmake: Add option to fail configuration instead of auto-reconfiguration" 2020-08-13 23:10:06 +03:00
Konstantin Podshumok
fe56697893 cmake: Add option to fail configuration instead of auto-reconfiguration
squashed:
find/msgpack.cmake - merge collision fix, trivial

Signed-off-by: Konstantin Podshumok <kpp.live+signed@gmail.com>
2020-08-09 21:37:26 +03:00
Ivan Lezhankin
393bf8a804 cmake/find_* → cmake/find/* 2019-09-13 17:54:22 +03:00