Skip to content

Commit

Permalink
Enable Open CAS Framework
Browse files Browse the repository at this point in the history
Enable OCF https://github.com/Open-CAS, prepare to add caching to V2 data engine
partially fix longhorn/longhorn#10292

Signed-off-by: Liyi Meng <[email protected]>
  • Loading branch information
Liyi Meng authored and Liyi Meng committed Feb 10, 2025
1 parent d00c2a1 commit 7325023
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions Dockerfile.dapper
Original file line number Diff line number Diff line change
Expand Up @@ -50,11 +50,11 @@ RUN git clone https://github.com/longhorn/spdk.git ${SPDK_DIR} --recursive && \
./scripts/pkgdep.sh && \
pip3 install -r ./scripts/pkgdep/requirements.txt && \
if [ ${ARCH} = "amd64" ]; then \
./configure --target-arch=nehalem --disable-tests --disable-unit-tests --disable-examples --without-nvme-cuse && \
./configure --target-arch=nehalem --disable-tests --disable-unit-tests --disable-examples --without-nvme-cuse --with-ocf && \
make -j$(nproc) && \
make install; \
elif [ ${ARCH} = "arm64" ]; then \
./configure --target-arch=native --disable-tests --disable-unit-tests --disable-examples --without-nvme-cuse && \
./configure --target-arch=native --disable-tests --disable-unit-tests --disable-examples --without-nvme-cuse --with-ocf && \
DPDKBUILD_FLAGS="-Dplatform=generic" make -j$(nproc) && \
make install; \
else \
Expand Down Expand Up @@ -91,4 +91,4 @@ RUN git clone https://github.com/longhorn/go-spdk-helper.git ${GO_SPDK_HELPER_DI
install -m 755 go-spdk-helper /usr/local/bin/go-spdk-helper && \
rm -rf ${GO_SPDK_HELPER_DIR}

RUN ldconfig
RUN ldconfig

0 comments on commit 7325023

Please sign in to comment.