Skip to content

Commit

Permalink
zstd fix per valyala/gozstd#20
Browse files Browse the repository at this point in the history
  • Loading branch information
willscott committed Mar 4, 2021
1 parent 52c130e commit bf04fd4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ COPY . .
COPY --from=js /usr/src/app ./npm/app
# Fetch dependencies.
RUN go get -d -v ./... && go get github.com/go-bindata/go-bindata/go-bindata
RUN BUILD_DIR=$(pwd); GOZSTD_VER=$(cat go.mod | fgrep github.com/valyala/gozstd | awk '{print $2}'); go get -d github.com/valyala/gozstd@${GOZSTD_VER}; cd ${GOPATH}/pkg/mod/github.com/valyala/gozstd@${GOZSTD_VER}; if [[ ! -f _rebuilt ]]; then chmod -R +w .; make -j8 clean; make -j8 libzstd.a; touch _rebuilt; fi; cd ${BUILD_DIR}
RUN go generate ./...
RUN go build -o stateexplorer ./cmd/stateexplorer

Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ require (
github.com/evanw/esbuild v0.8.54
github.com/filecoin-project/go-address v0.0.5
github.com/filecoin-project/go-bitfield v0.2.4
github.com/filecoin-project/go-bs-postgres-chainnotated v0.0.0-20210303122434-164e32c1604d // indirect
github.com/filecoin-project/go-bs-postgres-chainnotated v0.0.0-20210303122434-164e32c1604d
github.com/filecoin-project/go-fil-markets v1.1.9
github.com/filecoin-project/go-hamt-ipld/v2 v2.0.0
github.com/filecoin-project/go-hamt-ipld/v3 v3.0.1
Expand Down

0 comments on commit bf04fd4

Please sign in to comment.