llvmPackages_{12,13,14,15,16,17,18,19,20,git}.llvm: refactor (#389873)

This commit is contained in:
Tristan Ross
2025-03-29 14:23:57 -07:00
committed by GitHub
2 changed files with 821 additions and 688 deletions

View File

@@ -1849,7 +1849,7 @@ rec {
: The type of the feature to be set, as described in
https://cmake.org/cmake/help/latest/command/set.html
the possible values (case insensitive) are:
BOOL FILEPATH PATH STRING INTERNAL
BOOL FILEPATH PATH STRING INTERNAL LIST
`value`
: The desired value
@@ -1872,7 +1872,7 @@ rec {
:::
*/
cmakeOptionType = let
types = [ "BOOL" "FILEPATH" "PATH" "STRING" "INTERNAL" ];
types = [ "BOOL" "FILEPATH" "PATH" "STRING" "INTERNAL" "LIST" ];
in type: feature: value:
assert (elem (toUpper type) types);
assert (isString feature);

File diff suppressed because it is too large Load Diff