diff options
author | Zhigang Gong <zhigang.gong@intel.com> | 2014-01-09 14:20:29 +0800 |
---|---|---|
committer | Zhigang Gong <zhigang.gong@intel.com> | 2014-01-16 10:30:37 +0800 |
commit | 70d068d8da417a5a52a79785b51848ee3e408850 (patch) | |
tree | 0d56ff552cbb49b3da8dfcb758068ba4d5c5d0af /docs | |
parent | 9a94d1fb4db2b7bf98103b6ce7e162363041c878 (diff) |
GBE: enable relocatable pch files.
As by default, when include a pch file, clang need to make sure
the original header file is untouched. This is impossible when
we want to distribute a pch file to a new system. We need to
use the relocatable pch feature provided by clang here.
We now create two pch files. One is relocatable pch file which
is used to install to the system directory. The other is a local
pch file which is used during the build time. We need both pch
files because at the build time, we don't have an ocl_stdlib.h
in the system directory. The local pch file is used for the beignet's
build and the utest only. All the other applications will use
the installed pch/pcm files.
Signed-off-by: Zhigang Gong <zhigang.gong@intel.com>
Tested-by: "Song, Ruiling" <ruiling.song@intel.com>
Diffstat (limited to 'docs')
0 files changed, 0 insertions, 0 deletions