Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.
Sascha Kratky 9a7e7518ca Add patch files for open source packages 14 лет назад
..
README.md Add patch files for open source packages 14 лет назад
bullet-2.80-rev2531.patch Add patch files for open source packages 14 лет назад
clang-3.0.src.patch Add patch files for open source packages 14 лет назад
clapack-3.2.1-CMAKE.patch Add patch files for open source packages 14 лет назад
cmake-2.8.7.patch Add patch files for open source packages 14 лет назад
cminpack-1.1.4.patch Add patch files for open source packages 14 лет назад
hdf5-1.8.8.patch Add patch files for open source packages 14 лет назад
libpng-1.5.9.patch Add patch files for open source packages 14 лет назад
llvm-3.0.src.patch Add patch files for open source packages 14 лет назад
yaml-cpp.patch Add patch files for open source packages 14 лет назад
zlib-1.2.6.patch Add patch files for open source packages 14 лет назад

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
...