Skip to content

Commit

Permalink
fix(build): adding libcstor non-debug build in build_image.sh (openzf…
Browse files Browse the repository at this point in the history
…s#243)

Signed-off-by: mayank <mayank.patel@mayadata.io>
  • Loading branch information
mynktl authored and vishnuitta committed Jun 4, 2019
1 parent 4c1ad81 commit 4a901cf
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions build_image.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,18 @@
set -e

pwd

# Build libcstor
cd ../libcstor
make clean
sh autogen.sh
./configure --with-zfs-headers=$PWD/../cstor/include --with-spl-headers=$PWD/../cstor/lib/libspl/include
make -j4
sudo make install
sudo ldconfig

# Build cstor
cd ../cstor
make clean
sh autogen.sh
./configure --enable-uzfs=yes --with-config=user --with-jemalloc --with-libcstor=$PWD/../libcstor/include
Expand Down

0 comments on commit 4a901cf

Please sign in to comment.