mirror of
https://github.com/google/cpu_features.git
synced 2025-07-01 21:31:15 +02:00
Update badges generator.
This commit is contained in:

committed by
Mizux

parent
c57960579b
commit
60aa4e343a
@ -1,3 +1,6 @@
|
||||
// usage:
|
||||
// 1. copy paste the whole code to https://run.dlang.io/ then click `run`
|
||||
// 2. `docker run --rm -it -v $(pwd):/src dlanguage/dmd dmd -run generate_badges.d`
|
||||
import std.algorithm : each, map, cartesianProduct, filter, joiner, sort, uniq;
|
||||
import std.array : array;
|
||||
import std.conv : to;
|
||||
@ -67,7 +70,7 @@ const:
|
||||
case BuildSystem.CMake:
|
||||
return os == Os.Linux || cpu == Cpu.amd64;
|
||||
case BuildSystem.Bazel:
|
||||
return os == Os.Linux && cpu == Cpu.amd64;
|
||||
return os == Os.Linux && (cpu == Cpu.amd64 || cpu == Cpu.AArch64);
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user