mirror of
				https://github.com/ggml-org/llama.cpp.git
				synced 2025-10-31 08:51:55 +00:00 
			
		
		
		
	remove CMAKE_WINDOWS_EXPORT_ALL_SYMBOLS (#10797)
other windows build fixes
This commit is contained in:
		| @@ -126,8 +126,7 @@ struct ggml_arm_arch_features_type { | ||||
| #endif | ||||
| #include <windows.h> | ||||
|  | ||||
|  | ||||
| #if !defined(__clang__) | ||||
| #if defined(_MSC_VER) && !defined(__clang__) | ||||
| #define GGML_CACHE_ALIGN __declspec(align(GGML_CACHE_LINE)) | ||||
|  | ||||
| typedef volatile LONG atomic_int; | ||||
| @@ -12945,7 +12944,7 @@ static thread_ret_t ggml_graph_compute_secondary_thread(void* data); | ||||
| #include "windows.h" | ||||
|  | ||||
| // TODO: support > 64 CPUs | ||||
| bool ggml_thread_apply_affinity(bool * mask) { | ||||
| static bool ggml_thread_apply_affinity(bool * mask) { | ||||
|     HANDLE    h = GetCurrentThread(); | ||||
|     uint64_t  bitmask = 0ULL; | ||||
|  | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Diego Devesa
					Diego Devesa