llvm.org GIT mirror llvm / 91bceea
[runtimes] Add install-*-stripped targets These should be the only remaining missing install-*-stripped targets. They're modeled after the existing install targets. Differential Revision: https://reviews.llvm.org/D40927 git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@320182 91177308-0d34-0410-b5e6-96231b3b80d8 Shoaib Meenai 2 years ago
1 changed file(s) with 11 addition(s) and 2 deletion(s). Raw diff Collapse all Expand all
207207
208208 if(TARGET install-${component})
209209 list(APPEND SUB_INSTALL_TARGETS install-${component})
210 endif()
211 if(TARGET install-${component}-stripped)
212 list(APPEND SUB_INSTALL_TARGETS install-${component}-stripped)
210213 endif()
211214 endforeach()
212215
288291 else()
289292 add_custom_target(builtins)
290293 add_custom_target(install-builtins)
294 add_custom_target(install-builtins-stripped)
291295 endif()
292296
293297 foreach(target ${LLVM_BUILTIN_TARGETS})
295299
296300 add_dependencies(builtins builtins-${target})
297301 add_dependencies(install-builtins install-builtins-${target})
302 add_dependencies(install-builtins-stripped install-builtins-${target}-stripped)
298303 endforeach()
299304 endif()
300305 set(deps builtins)
330335 foreach(runtime_name ${runtime_names})
331336 list(APPEND extra_targets
332337 ${runtime_name}
333 install-${runtime_name})
338 install-${runtime_name}
339 install-${runtime_name}-stripped)
334340 if(LLVM_INCLUDE_TESTS)
335341 list(APPEND test_targets check-${runtime_name})
336342 endif()
376382 foreach(runtime_name ${runtime_names})
377383 list(APPEND ${name}_extra_targets
378384 "${runtime_name}:${runtime_name}-${name}"
379 "install-${runtime_name}:install-${runtime_name}-${name}")
385 "install-${runtime_name}:install-${runtime_name}-${name}"
386 "install-${runtime_name}-stripped:install-${runtime_name}-${name}-stripped")
380387 if(LLVM_INCLUDE_TESTS)
381388 list(APPEND ${name}_test_targets "check-${runtime_name}:check-${runtime_name}-${name}")
382389 endif()
451458 add_custom_target(runtimes)
452459 add_custom_target(runtimes-configure)
453460 add_custom_target(install-runtimes)
461 add_custom_target(install-runtimes-stripped)
454462 if(LLVM_INCLUDE_TESTS)
455463 add_custom_target(check-runtimes)
456464 add_custom_target(runtimes-test-depends)
474482 add_dependencies(runtimes runtimes-${name})
475483 add_dependencies(runtimes-configure runtimes-${name}-configure)
476484 add_dependencies(install-runtimes install-runtimes-${name})
485 add_dependencies(install-runtimes-stripped install-runtimes-${name}-stripped)
477486 if(LLVM_INCLUDE_TESTS)
478487 add_dependencies(check-runtimes check-runtimes-${name})
479488 add_dependencies(runtimes-test-depends runtimes-test-depends-${name})