WGPU is coming
This commit is contained in:
@@ -0,0 +1,22 @@
|
||||
# Binaries that mix libmxl (cgo) and wgpu/goffi must use the internal
|
||||
# linker: goffi's dlopen stubs (SDYNIMPORT relocations) do not survive
|
||||
# external linking, which the go tool auto-selects for that call graph.
|
||||
# Harmless for binaries that don't need it.
|
||||
LD = -ldflags=-linkmode=internal
|
||||
|
||||
.PHONY: build test vet wgpu-gen clean
|
||||
|
||||
build:
|
||||
go build $(LD) ./...
|
||||
|
||||
test:
|
||||
go test $(LD) ./...
|
||||
|
||||
vet:
|
||||
go vet ./...
|
||||
|
||||
wgpu-gen:
|
||||
go run $(LD) ./cmd/wgpu-gen
|
||||
|
||||
clean:
|
||||
go clean
|
||||
Reference in New Issue
Block a user