mirror of
https://github.com/ml-explore/mlx.git
synced 2025-06-24 09:21:16 +08:00
Fix packaging of gguflib (#435)
This commit is contained in:
parent
46dc24d835
commit
006d01ba42
@ -18,7 +18,7 @@ option(MLX_BUILD_METAL "Build metal backend" ON)
|
||||
option(BUILD_SHARED_LIBS "Build mlx as a shared library" OFF)
|
||||
|
||||
if(NOT MLX_VERSION)
|
||||
set(MLX_VERSION 0.0.8)
|
||||
set(MLX_VERSION 0.0.9)
|
||||
endif()
|
||||
|
||||
# --------------------- Processor tests -------------------------
|
||||
|
@ -10,8 +10,8 @@ import subprocess
|
||||
project = "MLX"
|
||||
copyright = "2023, MLX Contributors"
|
||||
author = "MLX Contributors"
|
||||
version = "0.0.8"
|
||||
release = "0.0.8"
|
||||
version = "0.0.9"
|
||||
release = "0.0.9"
|
||||
|
||||
# -- General configuration ---------------------------------------------------
|
||||
|
||||
|
@ -27,7 +27,7 @@ target_include_directories(
|
||||
$<INSTALL_INTERFACE:include/gguflib>
|
||||
)
|
||||
add_library(
|
||||
gguflib SHARED
|
||||
gguflib STATIC
|
||||
${gguflib_SOURCE_DIR}/fp16.c
|
||||
${gguflib_SOURCE_DIR}/gguflib.c)
|
||||
target_link_libraries(mlx $<BUILD_INTERFACE:gguflib>)
|
||||
|
Loading…
Reference in New Issue
Block a user