zig

fork of https://codeberg.org/ziglang/zig
Log | Files | Refs | README | LICENSE

commit 4e566536287d8e2fbc6e01a5bb865c41ac2c4956 (tree)
parent c11b997662c97725f88f5ce5c73ce76dbc199140
Author: Alex Rønne Petersen <alex@alexrp.com>
Date:   Wed,  7 Aug 2024 21:41:59 +0200

llvm: Add a comment clarifying our mapping of the opencl OS tag.

Diffstat:
Msrc/codegen/llvm.zig | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/codegen/llvm.zig b/src/codegen/llvm.zig @@ -116,6 +116,7 @@ pub fn targetTriple(allocator: Allocator, target: std.Target) ![]const u8 { .cuda => "cuda", .nvcl => "nvcl", .amdhsa => "amdhsa", + .opencl => "unknown", // https://llvm.org/docs/SPIRVUsage.html#target-triples .ps4 => "ps4", .ps5 => "ps5", .elfiamcu => "elfiamcu", @@ -137,7 +138,6 @@ pub fn targetTriple(allocator: Allocator, target: std.Target) ![]const u8 { .serenity => "serenity", .vulkan => "vulkan", - .opencl, .glsl450, .plan9, .minix,