mirror of
https://github.com/tcsenpai/ollama.git
synced 2025-06-08 04:05:20 +00:00
dont apply license to stb_image.h
and json.hpp
This commit is contained in:
parent
1da6c40f4f
commit
9b8b7cd9b5
@ -98,7 +98,7 @@ $(sed 's/^/ * /' <$src_dir/LICENSE)
|
|||||||
EOF
|
EOF
|
||||||
|
|
||||||
LICENSE_FILES=$(find $dst_dir -type f \( -name "*.c" -o -name "*.h" -o -name "*.cpp" -o -name "*.m" -o -name "*.metal" -o -name "*.cu" -o -name "*.cuh" \))
|
LICENSE_FILES=$(find $dst_dir -type f \( -name "*.c" -o -name "*.h" -o -name "*.cpp" -o -name "*.m" -o -name "*.metal" -o -name "*.cu" -o -name "*.cuh" \))
|
||||||
EXCLUDED_FILES=("sgemm.cpp" "sgemm.h" "sampling_ext.cpp" "sampling_ext.h" "metal.c")
|
EXCLUDED_FILES=("sgemm.cpp" "sgemm.h" "sampling_ext.cpp" "sampling_ext.h" "metal.c", "stb_image.h", "json.hpp")
|
||||||
|
|
||||||
for IN in $LICENSE_FILES; do
|
for IN in $LICENSE_FILES; do
|
||||||
for EXCLUDED in "${EXCLUDED_FILES[@]}"; do
|
for EXCLUDED in "${EXCLUDED_FILES[@]}"; do
|
||||||
|
Loading…
x
Reference in New Issue
Block a user