Skip to content

Commit

Permalink
Fix Makefile path in go-env-test.run.xml (#3069)
Browse files Browse the repository at this point in the history
## Motivation
I forgot to update the Makefile path in #3052

## Changes
<!-- Please describe in detail the changes made -->
- Fix Makefile path in `go-env-test.run.xml`
  • Loading branch information
nkryuchkov committed Jan 20, 2022
1 parent bdb7356 commit 4a4f200
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .run/go-env-test.run.xml
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
<component name="ProjectRunConfigurationManager">
<configuration default="false" name="go-env-test" type="MAKEFILE_TARGET_RUN_CONFIGURATION" factoryName="Makefile">
<makefile filename="$PROJECT_DIR$/Makefile.Inc" target="go-env-test" workingDirectory="" arguments="">
<makefile filename="$PROJECT_DIR$/Makefile-gpu.Inc" target="go-env-test" workingDirectory="" arguments="">
<envs />
</makefile>
<makefile filename="$PROJECT_DIR$/Makefile-svm.Inc" target="go-env-test" workingDirectory="" arguments="">
<envs />
</makefile>
<method v="2" />
Expand Down
16 changes: 16 additions & 0 deletions Makefile-svm.Inc
Original file line number Diff line number Diff line change
Expand Up @@ -49,3 +49,19 @@ $(PROJ_DIR)$(SVM_ZIP):

get-svm: $(PROJ_DIR)$(SVM_ZIP)
.PHONY: get-svm

go-env: get-gpu-setup
go env -w CGO_LDFLAGS="$(CGO_LDFLAGS)"
.PHONY: go-env

go-env-test: get-gpu-setup
go env -w CGO_LDFLAGS="$(CGO_TEST_LDFLAGS)"
.PHONY: go-env-test

print-ldflags: get-gpu-setup
@echo $(CGO_LDFLAGS)
.PHONY: print-ldflags

print-test-ldflags: get-gpu-setup
@echo $(CGO_TEST_LDFLAGS)
.PHONY: print-test-ldflags

0 comments on commit 4a4f200

Please sign in to comment.