File tree 12 files changed +29
-18
lines changed
examples/clang-interpreter
12 files changed +29
-18
lines changed Original file line number Diff line number Diff line change @@ -60,7 +60,7 @@ set(LLVM_DISTRIBUTION_COMPONENTS
60
60
clang
61
61
LTO
62
62
clang-format
63
- clang-headers
63
+ clang-resource - headers
64
64
cxx-headers
65
65
${LLVM_TOOLCHAIN_TOOLS}
66
66
CACHE STRING "" )
Original file line number Diff line number Diff line change @@ -41,7 +41,7 @@ set(LLVM_TOOLCHAIN_TOOLS
41
41
set (LLVM_DISTRIBUTION_COMPONENTS
42
42
clang
43
43
lld
44
- clang-headers
44
+ clang-resource - headers
45
45
builtins-armv6m-none-eabi
46
46
builtins-armv7m-none-eabi
47
47
builtins-armv7em-none-eabi
Original file line number Diff line number Diff line change @@ -23,7 +23,7 @@ set(LLVM_DISTRIBUTION_COMPONENTS
23
23
clang
24
24
LTO
25
25
clang-format
26
- clang-headers
26
+ clang-resource - headers
27
27
builtins
28
28
runtimes
29
29
${LLVM_TOOLCHAIN_TOOLS}
Original file line number Diff line number Diff line change @@ -167,7 +167,7 @@ set(LLVM_DISTRIBUTION_COMPONENTS
167
167
LTO
168
168
clang-apply-replacements
169
169
clang-format
170
- clang-headers
170
+ clang-resource - headers
171
171
clang-include -fixer
172
172
clang-refactor
173
173
clang-tidy
Original file line number Diff line number Diff line change @@ -133,7 +133,7 @@ macro(add_clang_tool name)
133
133
endif ()
134
134
135
135
add_clang_executable(${name} ${ARGN} )
136
- add_dependencies (${name} clang-headers)
136
+ add_dependencies (${name} clang-resource - headers)
137
137
138
138
if (CLANG_BUILD_TOOLS)
139
139
if (${name} IN_LIST LLVM_DISTRIBUTION_COMPONENTS OR
Original file line number Diff line number Diff line change @@ -187,8 +187,8 @@ Clang tools need their builtin headers and search for them the same way Clang
187
187
does. Thus, the default location to look for builtin headers is in a path
188
188
``$(dirname /path/to/tool)/../lib/clang/3.3/include `` relative to the tool
189
189
binary. This works out-of-the-box for tools running from llvm's toplevel
190
- binary directory after building clang-headers, or if the tool is running from
191
- the binary directory of a clang install next to the clang binary.
190
+ binary directory after building clang-resource- headers, or if the tool is
191
+ running from the binary directory of a clang install next to the clang binary.
192
192
193
193
Tips: if your tool fails to find ``stddef.h `` or similar headers, call the tool
194
194
with ``-v `` and look at the search paths it looks through.
Original file line number Diff line number Diff line change @@ -131,7 +131,7 @@ ABI Changes in Clang
131
131
- ...
132
132
133
133
OpenMP Support in Clang
134
- ----------------------------------
134
+ -----------------------
135
135
136
136
- Added emission of the debug information for NVPTX target devices.
137
137
@@ -147,6 +147,17 @@ These are major API changes that have happened since the 8.0.0 release of
147
147
Clang. If upgrading an external codebase that uses Clang as a library,
148
148
this section should help get you past the largest hurdles of upgrading.
149
149
150
+ Build System Changes
151
+ --------------------
152
+
153
+ These are major changes to the build system that have happened since the 8.0.0
154
+ release of Clang. Users of the build system should adjust accordingly.
155
+
156
+ - In 8.0.0 and below, the install-clang-headers target would install clang's
157
+ resource directory headers. This installation is now performed by the
158
+ install-clang-resource-headers target. Users of the old install-clang-headers
159
+ target should switch to the new install-clang-resource-headers target.
160
+
150
161
- ...
151
162
152
163
AST Matchers
Original file line number Diff line number Diff line change @@ -16,7 +16,7 @@ add_clang_executable(clang-interpreter
16
16
)
17
17
18
18
add_dependencies (clang-interpreter
19
- clang-headers
19
+ clang-resource - headers
20
20
)
21
21
22
22
target_link_libraries (clang-interpreter
Original file line number Diff line number Diff line change @@ -157,8 +157,8 @@ clang_generate_header(-gen-arm-neon arm_neon.td arm_neon.h)
157
157
# Generate arm_fp16.h
158
158
clang_generate_header(-gen-arm-fp16 arm_fp16.td arm_fp16.h)
159
159
160
- add_custom_target (clang-headers ALL DEPENDS ${out_files} )
161
- set_target_properties (clang-headers PROPERTIES
160
+ add_custom_target (clang-resource - headers ALL DEPENDS ${out_files} )
161
+ set_target_properties (clang-resource - headers PROPERTIES
162
162
FOLDER "Misc"
163
163
RUNTIME_OUTPUT_DIRECTORY "${output_dir} " )
164
164
@@ -167,10 +167,10 @@ set(header_install_dir lib${LLVM_LIBDIR_SUFFIX}/clang/${CLANG_VERSION})
167
167
install (
168
168
DIRECTORY ${output_dir}
169
169
DESTINATION ${header_install_dir}
170
- COMPONENT clang-headers)
170
+ COMPONENT clang-resource - headers)
171
171
172
172
if (NOT LLVM_ENABLE_IDE)
173
- add_llvm_install_targets(install -clang-headers
174
- DEPENDS clang-headers
175
- COMPONENT clang-headers)
173
+ add_llvm_install_targets(install -clang-resource - headers
174
+ DEPENDS clang-resource - headers
175
+ COMPONENT clang-resource - headers)
176
176
endif ()
Original file line number Diff line number Diff line change @@ -46,7 +46,7 @@ if(CLANG_TEST_USE_VG)
46
46
endif ()
47
47
48
48
list (APPEND CLANG_TEST_DEPS
49
- clang clang-headers
49
+ clang clang-resource - headers
50
50
clang-format
51
51
c-index-test diagtool
52
52
clang-tblgen
Original file line number Diff line number Diff line change @@ -60,7 +60,7 @@ if(CLANG_PLUGIN_SUPPORT)
60
60
export_executable_symbols(clang)
61
61
endif ()
62
62
63
- add_dependencies (clang clang-headers)
63
+ add_dependencies (clang clang-resource - headers)
64
64
65
65
if (NOT CLANG_LINKS_TO_CREATE)
66
66
set (CLANG_LINKS_TO_CREATE clang++ clang-cl clang-cpp)
Original file line number Diff line number Diff line change @@ -92,7 +92,7 @@ endif()
92
92
add_clang_library(libclang ${ENABLE_SHARED} ${ENABLE_STATIC}
93
93
OUTPUT_NAME ${output_name}
94
94
${SOURCES}
95
- DEPENDS clang-headers
95
+ DEPENDS clang-resource - headers
96
96
97
97
LINK_LIBS
98
98
${LIBS}
You can’t perform that action at this time.
0 commit comments