mirror of
				https://gitlab.alpinelinux.org/alpine/aports.git
				synced 2025-10-31 08:21:49 +01:00 
			
		
		
		
	https://libclc.llvm.org/ Open source implementation of the library requirements of the OpenCL C programming language
		
			
				
	
	
		
			16 lines
		
	
	
		
			512 B
		
	
	
	
		
			Diff
		
	
	
	
	
	
			
		
		
	
	
			16 lines
		
	
	
		
			512 B
		
	
	
	
		
			Diff
		
	
	
	
	
	
| clang and the spirv-llvm translator install to /usr/bin, so add it to the path
 | |
| here
 | |
| diff --git a/CMakeLists.txt b/CMakeLists.txt
 | |
| index 9773b2c..ec0ff96 100644
 | |
| --- a/CMakeLists.txt
 | |
| +++ b/CMakeLists.txt
 | |
| @@ -83,6 +83,8 @@ execute_process( COMMAND ${LLVM_CONFIG} "--bindir"
 | |
|  	OUTPUT_VARIABLE LLVM_BINDIR
 | |
|  	OUTPUT_STRIP_TRAILING_WHITESPACE )
 | |
|  
 | |
| +list( APPEND LLVM_BINDIR "/usr/bin" )
 | |
| +
 | |
|  # These were not properly reported in early LLVM and we don't need them
 | |
|  list( APPEND LLVM_CXX_FLAGS -fno-rtti -fno-exceptions )
 | |
|  
 |