Skip to content

Commit

Permalink
fix go get
Browse files Browse the repository at this point in the history
  • Loading branch information
barnex committed Mar 1, 2013
1 parent e2df222 commit b9a3489
Show file tree
Hide file tree
Showing 6 changed files with 11 additions and 6 deletions.
5 changes: 4 additions & 1 deletion Makefile
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
all: nvcc githook 6g #tool
all: nvcc githook 6g mx3 #tool

PREFIX=code.google.com/p/mx3

Expand All @@ -14,6 +14,9 @@ PKGS=\

$(PREFIX)/kernel: nvcc

mx3:
go install -v

.PHONY: nvcc
nvcc:
make -C kernel -j8
Expand Down
4 changes: 3 additions & 1 deletion main.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,10 @@ package main

// dummy imports to make go get fetch all of them.
import (
_ "code.google.com/p/mx3/mx"
_ "code.google.com/p/mx3/cuda"
_ "code.google.com/p/mx3/data"
_ "code.google.com/p/mx3/test"
_ "code.google.com/p/mx3/test/cert"
_ "code.google.com/p/mx3/test/prof"
)

Expand Down
2 changes: 1 addition & 1 deletion test/cert/doc.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
cert directory contains tests for certification,
like standard problems.
*/
package main
package cert
2 changes: 1 addition & 1 deletion test/doc.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*
test/ directory contains go input scripts for simple (fast) test cases.
*/
package main
package doc
2 changes: 1 addition & 1 deletion test/prof/doc.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/*
prof/ directory contains test files to be run with profiling enabled.
*/
package main
package prof
2 changes: 1 addition & 1 deletion tools/mx3-convert/vtk.go
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ func writeVTKCellData(out io.Writer, q *data.Slice, dataformat string) (err erro
}
case "binary":
// Inlined for performance, terabytes of data will pass here...
buffer := new(bytes.Buffer)
buffer := new(bytes.Buffer)
for i := 0; i < gridsize[X]; i++ {
for j := 0; j < gridsize[Y]; j++ {
for k := 0; k < gridsize[Z]; k++ {
Expand Down

0 comments on commit b9a3489

Please sign in to comment.