Disable LLVMBuild.txt dependencies and DummyConfigureOutput writing for official builds (#3319)

This commit is contained in:
Helena Kotas 2020-12-14 20:26:29 -08:00 коммит произвёл GitHub
Родитель 4dd6ff6b83
Коммит 87b11c2e05
Не найден ключ, соответствующий данной подписи
Идентификатор ключа GPG: 4AEE18F83AFDEB23
1 изменённых файлов: 6 добавлений и 0 удалений

Просмотреть файл

@ -554,6 +554,8 @@ subdirectories = %s
#
# FIXME: File a CMake RFE to get a properly supported version of this
# feature.
if(NOT HLSL_OFFICIAL_BUILD)
""")
for dep in dependencies:
f.write("""\
@ -561,6 +563,10 @@ configure_file(\"%s\"
${CMAKE_CURRENT_BINARY_DIR}/DummyConfigureOutput)\n""" % (
cmake_quote_path(dep),))
f.write("""
endif(NOT HLSL_OFFICIAL_BUILD)
""")
# Write the properties we use to encode the required library dependency
# information in a form CMake can easily use directly.
f.write("""