mirror of
				https://git.proxmox.com/git/llvm-toolchain
				synced 2025-10-31 19:23:09 +00:00 
			
		
		
		
	On some arch, we need another version of cmake. in some case, it needs a specific version of the lib. So, provide the ld_library_path for these
This commit is contained in:
		
							parent
							
								
									e2a02c21ce
								
							
						
					
					
						commit
						bd01f7d5ed
					
				
							
								
								
									
										5
									
								
								debian/rules
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										5
									
								
								debian/rules
									
									
									
									
										vendored
									
									
								
							| @ -395,6 +395,9 @@ VERBOSE=VERBOSE=1 | ||||
| #VERBOSE=-v | ||||
| 
 | ||||
| debian-full-build: | ||||
| 	if test -f /tmp/cmake/bin/cmake; then \ | ||||
| 		export LD_LIBRARY_PATH=$$LD_LIBRARY_PATH:/tmp/cmake/bin/; \ | ||||
| 	fi; \ | ||||
| 	$(PRE_PROCESS) make $(NJOBS) -C $(TARGET_BUILD) $(VERBOSE) CFLAGS="$(CFLAGS_EXTRA)" CXXFLAGS="$(CXXFLAGS_EXTRA)"  LDFLAGS="$(LDFLAGS_EXTRA)" REQUIRES_RTTI=1 DEBUGMAKE=1 $(BUILD_METHOD) | ||||
| 
 | ||||
| # Check the stage 2 build worked | ||||
| @ -444,6 +447,7 @@ debian-libcxx-build: | ||||
| 	CMAKE_BIN=cmake; \ | ||||
| 	if test -f /tmp/cmake/bin/cmake; then \ | ||||
| 		CMAKE_BIN=/tmp/cmake/bin/cmake; \ | ||||
| 		export LD_LIBRARY_PATH=$$LD_LIBRARY_PATH:/tmp/cmake/bin/; \ | ||||
| 	fi; \ | ||||
| 	echo "Using cmake: $$CMAKE_BIN"; \ | ||||
| 	cd libcxxabi/build && \ | ||||
| @ -465,6 +469,7 @@ debian-libcxxabi-build: | ||||
| 	CMAKE_BIN=cmake; \ | ||||
| 	if test -f /tmp/cmake/bin/cmake; then \ | ||||
| 		CMAKE_BIN=/tmp/cmake/bin/cmake; \ | ||||
| 		export LD_LIBRARY_PATH=$$LD_LIBRARY_PATH:/tmp/cmake/bin/; \ | ||||
| 	fi; \ | ||||
| 	echo "Using cmake: $$CMAKE_BIN"; \ | ||||
| 	cd libcxx/build && \ | ||||
|  | ||||
		Loading…
	
		Reference in New Issue
	
	Block a user
	 Sylvestre Ledru
						Sylvestre Ledru