mirror of
				https://github.com/ggml-org/llama.cpp.git
				synced 2025-10-30 08:42:00 +00:00 
			
		
		
		
	Enable BUILD_SHARED_LIBS=ON on all Windows builds (#3215)
This commit is contained in:
		
							
								
								
									
										12
									
								
								.github/workflows/build.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										12
									
								
								.github/workflows/build.yml
									
									
									
									
										vendored
									
									
								
							| @@ -265,17 +265,17 @@ jobs: | |||||||
|       matrix: |       matrix: | ||||||
|         include: |         include: | ||||||
|           - build: 'noavx' |           - build: 'noavx' | ||||||
|             defines: '-DLLAMA_BUILD_SERVER=ON -DLLAMA_AVX=OFF -DLLAMA_AVX2=OFF -DLLAMA_FMA=OFF' |             defines: '-DLLAMA_BUILD_SERVER=ON -DLLAMA_AVX=OFF -DLLAMA_AVX2=OFF -DLLAMA_FMA=OFF -DBUILD_SHARED_LIBS=ON' | ||||||
|           - build: 'avx2' |           - build: 'avx2' | ||||||
|             defines: '-DLLAMA_BUILD_SERVER=ON' |             defines: '-DLLAMA_BUILD_SERVER=ON -DBUILD_SHARED_LIBS=ON' | ||||||
|           - build: 'avx' |           - build: 'avx' | ||||||
|             defines: '-DLLAMA_BUILD_SERVER=ON -DLLAMA_AVX2=OFF' |             defines: '-DLLAMA_BUILD_SERVER=ON -DLLAMA_AVX2=OFF -DBUILD_SHARED_LIBS=ON' | ||||||
|           - build: 'avx512' |           - build: 'avx512' | ||||||
|             defines: '-DLLAMA_BUILD_SERVER=ON -DLLAMA_AVX512=ON -DBUILD_SHARED_LIBS=ON' |             defines: '-DLLAMA_BUILD_SERVER=ON -DLLAMA_AVX512=ON -DBUILD_SHARED_LIBS=ON' | ||||||
|           - build: 'clblast' |           - build: 'clblast' | ||||||
|             defines: '-DLLAMA_BUILD_SERVER=ON -DLLAMA_CLBLAST=ON -DCMAKE_PREFIX_PATH="$env:RUNNER_TEMP/clblast"' |             defines: '-DLLAMA_BUILD_SERVER=ON -DLLAMA_CLBLAST=ON -DBUILD_SHARED_LIBS=ON -DCMAKE_PREFIX_PATH="$env:RUNNER_TEMP/clblast"' | ||||||
|           - build: 'openblas' |           - build: 'openblas' | ||||||
|             defines: '-DLLAMA_BUILD_SERVER=ON -DLLAMA_BLAS=ON -DLLAMA_BLAS_VENDOR=OpenBLAS -DBLAS_INCLUDE_DIRS="$env:RUNNER_TEMP/openblas/include" -DBLAS_LIBRARIES="$env:RUNNER_TEMP/openblas/lib/openblas.lib"' |             defines: '-DLLAMA_BUILD_SERVER=ON -DLLAMA_BLAS=ON -DBUILD_SHARED_LIBS=ON -DLLAMA_BLAS_VENDOR=OpenBLAS -DBLAS_INCLUDE_DIRS="$env:RUNNER_TEMP/openblas/include" -DBLAS_LIBRARIES="$env:RUNNER_TEMP/openblas/lib/openblas.lib"' | ||||||
|  |  | ||||||
|     steps: |     steps: | ||||||
|       - name: Clone |       - name: Clone | ||||||
| @@ -413,7 +413,7 @@ jobs: | |||||||
|         run: | |         run: | | ||||||
|           mkdir build |           mkdir build | ||||||
|           cd build |           cd build | ||||||
|           cmake .. -DLLAMA_BUILD_SERVER=ON -DLLAMA_CUBLAS=ON |           cmake .. -DLLAMA_BUILD_SERVER=ON -DLLAMA_CUBLAS=ON -DBUILD_SHARED_LIBS=ON | ||||||
|           cmake --build . --config Release |           cmake --build . --config Release | ||||||
|  |  | ||||||
|       - name: Determine tag name |       - name: Determine tag name | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 IsaacDynamo
					IsaacDynamo