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 \ ...@@ -89,38 +89,50 @@ RUN git clone https://github.com/lz4/lz4.git \
&& cd ../ \ && cd ../ \
&& rm -rf lz4 && rm -rf lz4
# ProIO # go-proio
ENV GOPATH=/opt/Go ENV GOPATH=/opt/Go
ENV PROIO_CHECKOUT=b85acd3105fb717813709663c6f489a347ed5ea6 \ ENV GO_PROIO_CHECKOUT=v0.2.0 \
PROIO_SOURCE=$GOPATH/src/github.com/decibelcooper/proio \ GO_PROIO_SOURCE=$GOPATH/src/github.com/proio-org/go-proio \
PATH=$GOPATH/bin:${PATH} PATH=$GOPATH/bin:${PATH}
RUN sudo pacman -S --noconfirm \ RUN sudo pacman -S --noconfirm \
go \ 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 \ python-pip \
python2-pip \ python2-pip \
&& sudo rm -rf /var/cache/pacman/pkg && sudo rm -rf /var/cache/pacman/pkg
RUN sudo mkdir $GOPATH \ RUN sudo pip install proio==$PY_PROIO_VERSION \
&& sudo chown eicuser:eicuser $GOPATH \ && sudo pip2 install proio==$PY_PROIO_VERSION
&& git clone https://github.com/decibelcooper/proio.git $PROIO_SOURCE \
&& cd $PROIO_SOURCE \ # cpp-proio
&& git checkout $PROIO_CHECKOUT \ ENV CPP_PROIO_CHECKOUT=25c04f35c15e9ebd916df4d40c87731bfe680682
RUN git clone https://github.com/proio-org/cpp-proio.git \
&& mkdir cpp-proio/build \ && mkdir cpp-proio/build \
&& cd cpp-proio/build \ && cd cpp-proio/build \
&& cmake \ && git checkout $CPP_PROIO_CHECKOUT \
-DCMAKE_INSTALL_PREFIX=/usr/local \ && git submodule init \
-DCMAKE_BUILD_TYPE=Release \ && git submodule update \
../ \ && cmake ../ \
&& make -j $BUILD_THREADS \ && make -j $BUILD_THREADS \
&& sudo make install \ && sudo make install \
&& cd ../../go-proio \ && cd ../../ \
&& go get ./... \ && rm -rf cpp-proio
&& cd ../py-proio \
&& sudo pip install . \
&& sudo pip2 install . \
&& cd \
&& rm -rf $GOPATH/src
# Convenience tools # Convenience tools
RUN sudo pacman -S --noconfirm \ 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