You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: CMakeLists.txt
+12-14
Original file line number
Diff line number
Diff line change
@@ -46,7 +46,6 @@ include(Glob)
46
46
include(LLVM)
47
47
include(SlangTarget)
48
48
include(AutoOption)
49
-
include(GitHubRelease)
50
49
51
50
#
52
51
# Options
@@ -126,26 +125,25 @@ enum_option(
126
125
"How to get or build slang-llvm:"
127
126
# Options
128
127
FETCH_BINARY
129
-
"Use a binary distribution of the slang-llvm library instead of building or using LLVM (default)"
128
+
"Use a binary distribution of the slang-llvm library instead of building or using LLVM (default for Windows)"
130
129
USE_SYSTEM_LLVM
131
-
"Build slang-llvm using system-provided LLVM and Clang binaries"
130
+
"Build slang-llvm using system-provided LLVM and Clang binaries (default for non-Windows hosts)"
132
131
DISABLE
133
132
"Do not build llvm or fetch slang-llvm"
134
133
)
135
-
136
-
if(SLANG_SLANG_LLVM_FLAVOR MATCHES FETCH_BINARY)
137
-
# If the user didn't specify a URL, find the best one now
138
-
if(NOT SLANG_SLANG_LLVM_BINARY_URL)
139
-
get_best_slang_binary_release_url(url)
140
-
if(NOT url)
141
-
message(FATAL_ERROR "Unable to find binary release for slang-llvm, please set a different SLANG_SLANG_LLVM_FLAVOR or set SLANG_SLANG_LLVM_BINARY_URL manually")
142
-
endif()
143
-
endif()
134
+
macro(slang_llvm_binary_url_option version filename)
0 commit comments