Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions emlx/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -47,8 +47,8 @@ endif
MAKE_JOBS ?= $(MAKE_DEFAULT_JOBS)

# Source files
SOURCES = c_src/emlx_nif.cpp c_src/emlx_fast.cpp
HEADERS = c_src/nx_nif_utils.hpp c_src/emlx_worker.hpp c_src/emlx_async.hpp c_src/emlx_nif_shared.hpp
SOURCES = c_src/emlx_nif.cpp c_src/emlx_fast.cpp c_src/emlx_fast/qwen3.cpp
HEADERS = c_src/nx_nif_utils.hpp c_src/emlx_worker.hpp c_src/emlx_async.hpp c_src/emlx_nif_shared.hpp c_src/emlx_fast/qwen3.hpp
OBJECTS = $(patsubst c_src/%.cpp,$(call esc,$(BUILD_DIR))/%.o,$(SOURCES))

# Main targets
Expand All @@ -59,7 +59,7 @@ $(call esc,$(PRIV_DIR)):
@ mkdir -p "$(PRIV_DIR)"

$(call esc,$(BUILD_DIR))/%.o: c_src/%.cpp $(HEADERS)
@ mkdir -p "$(BUILD_DIR)"
@ mkdir -p "$(dir $@)"
$(CXX) $(CFLAGS) -c "$<" -o "$@"

$(call esc,$(MLX_SRC_ARCHIVE)):
Expand Down
1 change: 1 addition & 0 deletions emlx/c_src/emlx_fast.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -640,3 +640,4 @@ NIF(kv_cache_sdpa_update) {
CATCH()
}
ASYNC_NIF(kv_cache_sdpa_update)

Loading
Loading