File tree 2 files changed +4
-9
lines changed
2 files changed +4
-9
lines changed Original file line number Diff line number Diff line change 52
52
fi
53
53
if [ ${build_os:0:7} == windows ]; then
54
54
pwsh -Command "msbuild bitsandbytes.vcxproj /property:Configuration=Release"
55
- # cp ./Release/*.dll ./bitsandbytes/
56
55
else
57
56
make
58
57
fi
@@ -117,7 +116,6 @@ jobs:
117
116
else
118
117
cmake .
119
118
pwsh -Command "msbuild bitsandbytes.vcxproj /property:Configuration=Release"
120
- # cp ./Release/*.dll ./bitsandbytes/
121
119
fi
122
120
mkdir -p output/${{ matrix.os }}/${{ matrix.arch }}
123
121
( shopt -s nullglob && cp bitsandbytes/*.{so,dylib,dll} output/${{ matrix.os }}/${{ matrix.arch }}/ )
Original file line number Diff line number Diff line change @@ -83,12 +83,9 @@ if(ENABLE_CUDA)
83
83
endif ()
84
84
85
85
# Set the output name of the CUDA library
86
- set_target_properties (bitsandbytes PROPERTIES LIBRARY_OUTPUT_DIRECTORY ./bitsandbytes)
87
- set_target_properties (bitsandbytes PROPERTIES OUTPUT_NAME "bitsandbytes_${LIBSUFFIX} " )
88
-
89
86
if (MSVC )
90
- add_custom_command (TARGET libbitsandbytes_cuda POST_BUILD
91
- COMMAND ${CMAKE_COMMAND} -E copy_directory # which executes "cmake - E copy_if_different..."
92
- $<TARGET_FILE_DIR:bitsandbytes_${LIBSUFFIX} >
93
- "${PROJECT_SOURCE_DIR} /bitsandbytes" )
87
+ set_target_properties (bitsandbytes PROPERTIES LIBRARY_OUTPUT_DIRECTORY_RELEASE ./bitsandbytes)
88
+ set_target_properties (bitsandbytes PROPERTIES LIBRARY_OUTPUT_DIRECTORY_DEBUG ./bitsandbytes)
94
89
endif ()
90
+
91
+ set_target_properties (bitsandbytes PROPERTIES LIBRARY_OUTPUT_DIRECTORY ./bitsandbytes)
You can’t perform that action at this time.
0 commit comments