aboutsummaryrefslogtreecommitdiff
path: root/Makefile.ckati
AgeCommit message (Collapse)Author
2016-02-26[C++] Use C++11's threading library againShinichiro Hamaji
It seems we can use it even for -static build with -Wl,--whole-archive -lpthread -Wl,--no-whole-archive -ldl
2016-02-16[C++] Set CPU affinityShinichiro Hamaji
Sticking to a single processor improves the performance while we are running only a single thread.
2016-02-15[C++] Always use std::stable_sortShinichiro Hamaji
It seems this is a fairly good choice even if we compare this against string-specific algorithms, probably because our strings are not usually very long.
2016-02-12[C++] Use LCP merge sort for $(sort)Shinichiro Hamaji
and use stable_sort on Mac. On Linux: LCPMS: 0.627s, sort: 3.37s, stable_sort: 1.79s, qsort: 1.95s On Mac: LCPMS: 1.583s, sort: 1.33s, stable_sort: 1.19s, qsort: 1.80s
2016-02-03[C++] Optimize WordScanner with SSE4.2Shinichiro Hamaji
before: 0.668325s after: 0.260734s
2016-02-02[C++] Add a benchmark for WordScanner::SplitShinichiro Hamaji
2016-01-27[C++] Add a target which builds tsan-enabled katiShinichiro Hamaji
2016-01-27[C++] Re-invent C++11-ish thread libraryShinichiro Hamaji
Android's build system uses -static to build ckati, and you cannot use C++11's threading library with -static. https://gcc.gnu.org/bugzilla/show_bug.cgi?id=52590
2016-01-25[C++] Fix Mac build by using pthread's TLSShinichiro Hamaji
Clang on Mac doesn't support thread_local keyword.
2016-01-21[C++] Run the regeneration check in parallelShinichiro Hamaji
From ~1.5s to ~0.4s for an Android target.
2016-01-20[C++] Move NeedsRegen from ninja.cc to regen.ccShinichiro Hamaji
2015-09-24Rename value.* and ast.* to expr.* and stmt.*, respectivelyShinichiro Hamaji
2015-09-02Support building out of a non-git directoryColin Cross
Don't assume that kati is in a valid git directory. Change-Id: I026fa07880924442f23fa4b1b8f40937fbd1afb8
2015-08-17[C++] Linux build fix for clang -staticShinichiro Hamaji
2015-07-31[C++] Update ninja file only when necessaryShinichiro Hamaji
As this feature is incomplete, this is enabled only with --regen flag. I decided not to use ninja's "generator" feature because we cannot create appropriate regeneration rules for globs in Android. There are some directory names which are also used as target names (e.g., "cts"). Ninja tries to build such targets to check if regeneration is necessary.
2015-07-21[C++] Allow overriding the Makefile pathsColin Cross
Allow Makefile.ckati to be included by another Makefile that set KATI_CXX, KATI_INTERMEDIATES_PATH, and KATI_BIN_PATH. Allows the kati build to be embedded into the Android build.
2015-07-21[C++] Namespace all the variables in Makefile.ckati with KATI_Colin Cross
Rename CXX_* in Makefile.ckati to KATI_CXX_* to avoid collisions when including Makefile.ckati from the Android build.
2015-07-21Split makefiles for C++ and Go versionsColin Cross
Split the makefiles so that the Android build can depend on C++ without pulling in the Go rules.