Skip to content

Commit a0fd33e

Browse files
authored
Adding libdml to CentOS docker image (pmem#53)
1 parent fa24793 commit a0fd33e

File tree

2 files changed

+31
-1
lines changed

2 files changed

+31
-1
lines changed

docker/images/centos-8streams.Dockerfile

+8-1
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,14 @@ vim \
99
gdb \
1010
clang \
1111
python36 \
12-
glibc-devel.i686
12+
glibc-devel.i686 \
13+
xmlto \
14+
uuid \
15+
libuuid-devel \
16+
json-c-devel
1317

1418
COPY ./install-cachelib-deps.sh ./install-cachelib-deps.sh
1519
RUN ./install-cachelib-deps.sh
20+
21+
COPY ./install-dsa-deps.sh ./install-dsa-deps.sh
22+
RUN ./install-dsa-deps.sh

docker/images/install-dsa-deps.sh

+23
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
#!/usr/bin/env bash
2+
# Copyright 2023, Intel Corporation
3+
4+
# Install idxd-config
5+
git clone https://github.com/intel/idxd-config.git
6+
cd idxd-config
7+
./autogen.sh
8+
./configure CFLAGS='-g -O2' --prefix=/usr --sysconfdir=/etc --libdir=/usr/lib64
9+
make
10+
make check
11+
sudo make install
12+
cd ../
13+
rm -rf idxd-config
14+
15+
# Install DML Library
16+
git clone --recursive https://github.com/intel/DML.git
17+
cd DML
18+
mkdir build
19+
cd build
20+
cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_BUILD_TYPE=RelWithDebInfo ..
21+
cmake --build . --target install
22+
cd ../../
23+
rm -rf DML

0 commit comments

Comments
 (0)