From 2affd83173c96f706753c8553f50ed116e65f1c5 Mon Sep 17 00:00:00 2001 From: Thomas Trepl Date: Wed, 20 Mar 2024 10:49:23 +0100 Subject: [PATCH] Add ml instr to lz4 --- chapter08/lz4.xml | 44 ++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 44 insertions(+) diff --git a/chapter08/lz4.xml b/chapter08/lz4.xml index 993d213e2..48f01b335 100644 --- a/chapter08/lz4.xml +++ b/chapter08/lz4.xml @@ -60,6 +60,50 @@ + + + + + Installation of Lz4 - 32bit + + Clean previous build: + +make clean + + Compile the package: + +CC="gcc -m32" make BUILD_STATIC=no + + Install the package: + +make BUILD_STATIC=no PREFIX=/usr LIBDIR=/usr/lib32 DESTDIR=$(pwd)/m32 install && +cp -a m32/usr/lib32/* /usr/lib32/ + + + + + + + + + Installation of Lz4 - x32bit + + Clean previous build: + +make clean + + Compile the package: + +CC="gcc -mx32" make BUILD_STATIC=no + + Install the package: + +make BUILD_STATIC=no PREFIX=/usr LIBDIR=/usr/libx32 DESTDIR=$(pwd)/mx32 install && +cp -a mx32/usr/libx32/* /usr/libx32/ + + + + Contents of Lz4