kepka/Patches
Berkus Decker 7de477478b Squashed 'cotire/' content from commit 2bb9cb6e
git-subtree-dir: cotire
git-subtree-split: 2bb9cb6e8317ec42a7efbd0067eca9cbf728e03a
2017-02-10 20:50:48 +02:00
..
OpenCV-2.3.1.patch Squashed 'cotire/' content from commit 2bb9cb6e 2017-02-10 20:50:48 +02:00
README.md Squashed 'cotire/' content from commit 2bb9cb6e 2017-02-10 20:50:48 +02:00
bullet-2.80-rev2531.patch Squashed 'cotire/' content from commit 2bb9cb6e 2017-02-10 20:50:48 +02:00
clang-3.0.src.patch Squashed 'cotire/' content from commit 2bb9cb6e 2017-02-10 20:50:48 +02:00
clang-3.1.src.patch Squashed 'cotire/' content from commit 2bb9cb6e 2017-02-10 20:50:48 +02:00
clang-3.3.src.patch Squashed 'cotire/' content from commit 2bb9cb6e 2017-02-10 20:50:48 +02:00
clang-3.4.src.patch Squashed 'cotire/' content from commit 2bb9cb6e 2017-02-10 20:50:48 +02:00
clang-3.5.src.patch Squashed 'cotire/' content from commit 2bb9cb6e 2017-02-10 20:50:48 +02:00
clapack-3.2.1-CMAKE.patch Squashed 'cotire/' content from commit 2bb9cb6e 2017-02-10 20:50:48 +02:00
cmake-2.8.7.patch Squashed 'cotire/' content from commit 2bb9cb6e 2017-02-10 20:50:48 +02:00
cminpack-1.1.4.patch Squashed 'cotire/' content from commit 2bb9cb6e 2017-02-10 20:50:48 +02:00
fsedit-qt5.patch Squashed 'cotire/' content from commit 2bb9cb6e 2017-02-10 20:50:48 +02:00
fseditor-1.0.patch Squashed 'cotire/' content from commit 2bb9cb6e 2017-02-10 20:50:48 +02:00
hdf5-1.8.8.patch Squashed 'cotire/' content from commit 2bb9cb6e 2017-02-10 20:50:48 +02:00
libpng-1.5.9.patch Squashed 'cotire/' content from commit 2bb9cb6e 2017-02-10 20:50:48 +02:00
llvm-3.0.src.patch Squashed 'cotire/' content from commit 2bb9cb6e 2017-02-10 20:50:48 +02:00
llvm-3.1.src.patch Squashed 'cotire/' content from commit 2bb9cb6e 2017-02-10 20:50:48 +02:00
llvm-3.3.src.patch Squashed 'cotire/' content from commit 2bb9cb6e 2017-02-10 20:50:48 +02:00
llvm-3.4.src.patch Squashed 'cotire/' content from commit 2bb9cb6e 2017-02-10 20:50:48 +02:00
llvm-3.5.src.patch Squashed 'cotire/' content from commit 2bb9cb6e 2017-02-10 20:50:48 +02:00
yaml-cpp.patch Squashed 'cotire/' content from commit 2bb9cb6e 2017-02-10 20:50:48 +02:00
zlib-1.2.6.patch Squashed 'cotire/' content from commit 2bb9cb6e 2017-02-10 20:50:48 +02:00

README.md

This directory contains patch files to enable cotire for some popular open sources packages that use CMake as a build system.

For example, to apply Cotire to LLVM 3.0, first copy cotire.cmake to a directory on the CMake module search path (e.g., llvm-3.0.src/cmake/modules).

Then apply the corresponding patch:

$ cd /path/to/llvm-3.0.src
$ patch -p1 < /path/to/llvm-3.0.src.patch

Then proceed with an out-of-source CMake build:

$ mkdir build; cd build
$ cmake ..
-- The C compiler identification is GNU 4.2.1
-- The CXX compiler identification is Clang 3.1.0
...
$ make
[  0%] Generating C unity source lib/Support/cotire/LLVMSupport_C_unity.c
[  0%] Generating CXX unity source lib/Support/cotire/LLVMSupport_CXX_unity.cxx
[  0%] Generating CXX prefix header lib/Support/cotire/LLVMSupport_CXX_prefix.hxx
[  0%] Building CXX precompiled header lib/Support/cotire/LLVMSupport_CXX_prefix.hxx.gch
...