Skip to content

Commit

Permalink
Force go version to 1.16 (so the current version of gllvm works).
Browse files Browse the repository at this point in the history
  • Loading branch information
Ashish Gehani committed Jun 22, 2023
1 parent ef3da23 commit 00af27f
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions docker/occam.Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,10 @@ RUN apt-get install -yqq libboost-dev

RUN mkdir /go
ENV GOPATH "/go"
ENV GOROOT /usr/lib/go-1.16

RUN apt-get -y install golang-go && \
go get github.com/SRI-CSL/gllvm/cmd/...
RUN apt-get -y install golang-1.16-go && \
GO111MODULE=off $GOROOT/bin/go get github.com/SRI-CSL/gllvm/cmd/...

# Install llvm10 from llvm repo since bionic comes with much older version
# WORKDIR /tmp
Expand Down

0 comments on commit 00af27f

Please sign in to comment.