Created
May 20, 2020 16:42
-
-
Save taless474/745f3b48688e0ffa4d6c8c8be31a249a to your computer and use it in GitHub Desktop.
Using stellargroup/hpx:dev image
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
docker pull stellargroup/hpx:dev | |
docker run --rm -it -v C:\Repos\:/repos stellargroup/hpx:dev bash | |
apt-get update | |
apt-get install --yes --no-install-recommends python3 python3-dev python3-pip libblas-dev liblapack-dev libhdf5-dev | |
apt-get purge && apt-get clean && rm -rf /var/lib/apt/lists/* | |
pip3 --no-cache-dir install setuptools | |
pip3 --no-cache-dir install pytest | |
pip3 --no-cache-dir install numpy | |
pip3 --no-cache-dir install astpretty | |
pip3 --no-cache-dir install flake8 | |
git clone --depth=1 https://github.com/pybind/pybind11.git /pybind11-src | |
cmake -H/pybind11-src -B/pybind11-build -DPYBIND11_TEST=OFF | |
cmake --build /pybind11-build --target install | |
rm -rf /pybind11-{src,build} | |
git clone --depth=1 https://bitbucket.org/blaze-lib/blaze.git /blaze-src | |
cmake -H/blaze-src -B/blaze-build -DBLAZE_SMP_THREADS=C++11 | |
cmake --build /blaze-build --target install | |
rm -rf /blaze-{src,build} | |
git clone --depth=1 https://github.com/STEllAR-GROUP/BlazeIterative.git /blazeiterative-src | |
cmake -H/blazeiterative-src -B/blazeiterative-build -Dblaze_DIR=/blaze/share/blaze/cmake | |
cmake --build /blazeiterative-build --target install | |
rm -rf /blazeiterative-{src,build} | |
git clone --depth=1 https://github.com/BlueBrain/HighFive.git /highfive-src | |
cmake -H/highfive-src -B/highfive-build -DHIGHFIVE_UNIT_TESTS=OFF \ | |
-DHIGHFIVE_EXAMPLES=OFF \ | |
-DUSE_BOOST=OFF | |
cmake --build /highfive-build --target install | |
rm -rf /highfive-{src,build} | |
# git clone --depth=1 https://github.com/STEllAR-GROUP/blaze_tensor.git /blaze_tensor-src | |
# cmake -H/blaze_tensor-src -B/blaze_tensor-build -Dblaze_DIR=/blaze/share/blaze/cmake | |
# cmake --build /blaze_tensor-build --target install | |
# or | |
cmake -H/repos/blaze_tensor -B/blaze_tensor/build | |
cmake --build /blaze_tensor/build --target install | |
cmake -H/repos/phylanx -B/phylanx/build -GNinja \ | |
-DPHYLANX_WITH_GIT_COMMIT=${CIRCLE_SHA1} \ | |
-DPHYLANX_WITH_TOOLS=ON \ | |
-DHPX_DIR=/usr/local/lib/cmake/HPX \ | |
-Dblaze_DIR=/blaze/share/blaze/cmake \ | |
-DCMAKE_BUILD_TYPE=Debug \ | |
-DCMAKE_CXX_COMPILER=clang++ \ | |
-DCMAKE_C_COMPILER=clang \ | |
-DPHYLANX_WITH_HIGHFIVE=ON \ | |
-DPHYLANX_WITH_ITERATIVE_SOLVERS=ON \ | |
-DPHYLANX_WITH_CXX17=ON | |
cmake --build /phylanx/build --target core |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment