mirror of
https://codeberg.org/ziglang/zig.git
synced 2026-04-27 19:09:47 +03:00
build: change -Dskip-macos to -Dskip-darwin and make it cover all darwin OSs
This commit is contained in:
+4
-4
@@ -2234,7 +2234,7 @@ const ModuleTestOptions = struct {
|
||||
skip_freebsd: bool,
|
||||
skip_netbsd: bool,
|
||||
skip_windows: bool,
|
||||
skip_macos: bool,
|
||||
skip_darwin: bool,
|
||||
skip_linux: bool,
|
||||
skip_llvm: bool,
|
||||
skip_libc: bool,
|
||||
@@ -2269,7 +2269,7 @@ pub fn addModuleTests(b: *std.Build, options: ModuleTestOptions) *Step {
|
||||
if (options.skip_freebsd and test_target.target.os_tag == .freebsd) continue;
|
||||
if (options.skip_netbsd and test_target.target.os_tag == .netbsd) continue;
|
||||
if (options.skip_windows and test_target.target.os_tag == .windows) continue;
|
||||
if (options.skip_macos and test_target.target.os_tag == .macos) continue;
|
||||
if (options.skip_darwin and test_target.target.os_tag != null and test_target.target.os_tag.?.isDarwin()) continue;
|
||||
if (options.skip_linux and test_target.target.os_tag == .linux) continue;
|
||||
|
||||
const would_use_llvm = wouldUseLlvm(test_target.use_llvm, test_target.target, test_target.optimize_mode);
|
||||
@@ -2506,7 +2506,7 @@ const CAbiTestOptions = struct {
|
||||
skip_freebsd: bool,
|
||||
skip_netbsd: bool,
|
||||
skip_windows: bool,
|
||||
skip_macos: bool,
|
||||
skip_darwin: bool,
|
||||
skip_linux: bool,
|
||||
skip_llvm: bool,
|
||||
skip_release: bool,
|
||||
@@ -2525,7 +2525,7 @@ pub fn addCAbiTests(b: *std.Build, options: CAbiTestOptions) *Step {
|
||||
if (options.skip_freebsd and c_abi_target.target.os_tag == .freebsd) continue;
|
||||
if (options.skip_netbsd and c_abi_target.target.os_tag == .netbsd) continue;
|
||||
if (options.skip_windows and c_abi_target.target.os_tag == .windows) continue;
|
||||
if (options.skip_macos and c_abi_target.target.os_tag == .macos) continue;
|
||||
if (options.skip_darwin and c_abi_target.target.os_tag != null and c_abi_target.target.os_tag.?.isDarwin()) continue;
|
||||
if (options.skip_linux and c_abi_target.target.os_tag == .linux) continue;
|
||||
|
||||
const would_use_llvm = wouldUseLlvm(c_abi_target.use_llvm, c_abi_target.target, .Debug);
|
||||
|
||||
Reference in New Issue
Block a user