Commit 52950d25 authored by David Blyth's avatar David Blyth

Updating to new proio organization

parent c41f9e77
Pipeline #779 passed with stages
in 32 seconds
......@@ -89,38 +89,50 @@ RUN git clone https://github.com/lz4/lz4.git \
&& cd ../ \
&& rm -rf lz4
# ProIO
# go-proio
ENV GOPATH=/opt/Go
ENV PROIO_CHECKOUT=b85acd3105fb717813709663c6f489a347ed5ea6 \
PROIO_SOURCE=$GOPATH/src/github.com/decibelcooper/proio \
ENV GO_PROIO_CHECKOUT=v0.2.0 \
GO_PROIO_SOURCE=$GOPATH/src/github.com/proio-org/go-proio \
PATH=$GOPATH/bin:${PATH}
RUN sudo pacman -S --noconfirm \
go \
&& sudo rm -rf /var/cache/pacman/pkg
RUN sudo mkdir -p $GOPATH \
&& sudo chown eicuser:eicuser $GOPATH \
&& git clone https://github.com/proio-org/go-proio.git $GO_PROIO_SOURCE \
&& cd $GO_PROIO_SOURCE \
&& git checkout $GO_PROIO_CHECKOUT \
&& go get ./... \
&& cd \
&& rm -rf $GOPATH/src
# py-proio
ENV PY_PROIO_VERSION=0.10.10
RUN sudo pacman -S --noconfirm \
python-pip \
python2-pip \
&& sudo rm -rf /var/cache/pacman/pkg
RUN sudo mkdir $GOPATH \
&& sudo chown eicuser:eicuser $GOPATH \
&& git clone https://github.com/decibelcooper/proio.git $PROIO_SOURCE \
&& cd $PROIO_SOURCE \
&& git checkout $PROIO_CHECKOUT \
RUN sudo pip install proio==$PY_PROIO_VERSION \
&& sudo pip2 install proio==$PY_PROIO_VERSION
# cpp-proio
ENV CPP_PROIO_CHECKOUT=25c04f35c15e9ebd916df4d40c87731bfe680682
RUN git clone https://github.com/proio-org/cpp-proio.git \
&& mkdir cpp-proio/build \
&& cd cpp-proio/build \
&& cmake \
-DCMAKE_INSTALL_PREFIX=/usr/local \
-DCMAKE_BUILD_TYPE=Release \
../ \
&& git checkout $CPP_PROIO_CHECKOUT \
&& git submodule init \
&& git submodule update \
&& cmake ../ \
&& make -j $BUILD_THREADS \
&& sudo make install \
&& cd ../../go-proio \
&& go get ./... \
&& cd ../py-proio \
&& sudo pip install . \
&& sudo pip2 install . \
&& cd \
&& rm -rf $GOPATH/src
&& cd ../../ \
&& rm -rf cpp-proio
# Convenience tools
RUN sudo pacman -S --noconfirm \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment