Skip to content

Commit

Permalink
Fix builds for Leptonica and TVM
Browse files Browse the repository at this point in the history
  • Loading branch information
saudet committed Oct 29, 2024
1 parent ba960fc commit 069e50d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion leptonica/cppbuild.sh
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ cd ..
export PATH=$INSTALL_PATH/bin:$PATH
export PKG_CONFIG_PATH=$INSTALL_PATH/lib/pkgconfig/

CMAKE_CONFIG="-DCMAKE_BUILD_TYPE=Release -DCMAKE_PREFIX_PATH=$INSTALL_PATH -DCMAKE_INSTALL_PREFIX=$INSTALL_PATH -DCMAKE_INSTALL_LIBDIR=$INSTALL_PATH/lib -DBUILD_SHARED_LIBS=OFF -DENABLE_SHARED=FALSE -DPNG_SHARED=OFF"
CMAKE_CONFIG="-DCMAKE_BUILD_TYPE=Release -DCMAKE_PREFIX_PATH=$INSTALL_PATH -DCMAKE_INSTALL_PREFIX=$INSTALL_PATH -DCMAKE_INSTALL_LIBDIR=$INSTALL_PATH/lib -DBUILD_SHARED_LIBS=OFF -DENABLE_SHARED=FALSE -DPNG_SHARED=OFF -DPNG_FRAMEWORK=OFF"
WEBP_CONFIG="-DWEBP_BUILD_ANIM_UTILS=OFF -DWEBP_BUILD_CWEBP=OFF -DWEBP_BUILD_DWEBP=OFF -DWEBP_BUILD_EXTRAS=OFF -DWEBP_BUILD_GIF2WEBP=OFF -DWEBP_BUILD_IMG2WEBP=OFF -DWEBP_BUILD_VWEBP=OFF -DWEBP_BUILD_WEBPINFO=OFF -DWEBP_BUILD_WEBPMUX=OFF -DWEBP_BUILD_WEBP_JS=OFF"

case $PLATFORM in
Expand Down
2 changes: 1 addition & 1 deletion tvm/cppbuild.sh
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ cp -a 3rdparty/dlpack/include/dlpack 3rdparty/dmlc-core/include/dmlc ../include

# Adjust the directory structure a bit to facilitate packaging in JAR file
mkdir -p ../python
export MODULES=(attr cloudpickle decorator ml_dtypes psutil synr typed_ast tornado typing_extensions tvm)
export MODULES=(attr cloudpickle decorator ml_dtypes packaging psutil synr typed_ast tornado typing_extensions tvm)
for MODULE in ${MODULES[@]}; do
mkdir -p ../python/$MODULE.egg-info
cp -r $PYTHON_INSTALL_PATH/$MODULE*/$MODULE* ../python/ || true
Expand Down

0 comments on commit 069e50d

Please sign in to comment.