We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0069775 commit 59e1359Copy full SHA for 59e1359
Makefile
@@ -1,5 +1,4 @@
1
CFORGO = c-for-go
2
-CGO = $(shell go env GOTOOLDIR)/cgo
3
4
all: generate
5
@@ -17,7 +16,7 @@ generate:
17
16
rocm_smi/rocm_smi.h.orig > rocm_smi/rocm_smi.h
18
cd pkg/rocm_smi && $(CFORGO) -ccincl --ccdefs ../../rocm_smi.yml
19
cd pkg/rocm_smi && \
20
- $(CGO) -godefs types.go > types.go.expand && \
+ go tool cgo -godefs types.go > types.go.expand && \
21
mv types.go.expand types.go && \
22
rm -f _cgo_2.o
23
0 commit comments