Commit 62344e30 authored by Mccaskey, Alex's avatar Mccaskey, Alex
Browse files

Still working on docker rpm/deb builds

parent 2e94c060
......@@ -12,7 +12,7 @@ run dnf install -y https://github.com/genereese/togo/releases/download/v2.3r7/to
&& cd build && cmake .. -DCMAKE_INSTALL_PREFIX=/usr/local/xacc && make install
run cd /projects/xacc && mkdir rpm_build && cd rpm_build && togo configure -n "Alex McCaskey" -e "mccaskeyaj@ornl.gov" \
&& togo project create xacc && cd xacc && mkdir -p root/usr/local/xacc root/usr/local/lib root/usr/local/include \
&& cp -r /usr/local/xacc/* root/usr/local/xacc/ && cp -r /usr/local/include/cppmicroservices root/usr/local/include/ \
&& cp -r /usr/local/xacc/* root/usr/local/xacc/ && cp -r /usr/local/include/cppmicroservices3 root/usr/local/include/ \
&& cp -r /usr/local/lib/libCpp* root/usr/local/lib/ && cp -r /usr/local/lib/libus* root/usr/local/lib/ \
&& togo file exclude root/usr/local/xacc \
&& sed -i -r "s/(Version: *).*/\11.0/" spec/header && sed -i -r "s/(Summary: *).*/\1XACC - eXtreme-scale ACCelerator programming environment./" spec/header \
......
......@@ -19,7 +19,7 @@ run apt-get -y update && apt-get -y install wget && wget https://github.com/ORNL
&& cd xacc && mkdir build && cd build && cmake .. -DCMAKE_INSTALL_PREFIX=/usr/local/xacc && make && make install
run cd /projects/xacc && mkdir deb_build && cd deb_build && mkdir -p usr/local/xacc usr/local/include /usr/local/lib \
&& cp /usr/local/include/cppmicroservices usr/local/include/ && cp /usr/local/lib/libCpp* usr/local/lib/ \
&& cp /usr/local/include/cppmicroservices3 usr/local/include/ && cp /usr/local/lib/libCpp* usr/local/lib/ \
&& cp /usr/local/lib/libus* usr/local/lib/ \
&& cp -r /usr/local/xacc/* usr/local/xacc/ \
&& fpm -s dir -t deb --name xacc --version 1.0 --depends libboost-all-dev --depends gcc-6 --depends g++-6 --depends python-dev --depends mpich \
......
Supports Markdown
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