src/deps/miniasync/utils/docker/images/install-dml.sh
raw| 1 | #!/usr/bin/env bash |
| 2 | # |
| 3 | # SPDX-License-Identifier: BSD-3-Clause |
| 4 | # Copyright 2021-2022, Intel Corporation |
| 5 | # |
| 6 | |
| 7 | # |
| 8 | # install-dml.sh - installs DML library |
| 9 | # |
| 10 | |
| 11 | set -e |
| 12 | |
| 13 | git clone https://github.com/intel/DML |
| 14 | cd DML |
| 15 | |
| 16 | # DML v0.1.6-beta |
| 17 | git checkout v0.1.6-beta |
| 18 | |
| 19 | mkdir build |
| 20 | cd build |
| 21 | cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr .. |
| 22 | cmake --build . --target install |
| 23 | |
| 24 | cd ../../ |
| 25 | rm -rf DML |