mirror of
				https://github.com/Z3Prover/z3
				synced 2025-11-04 05:19:11 +00:00 
			
		
		
		
	[TravisCI] Fix bug where Z3_BUILD_TYPE was not being passed as
				
					
				
			a Docker build argument. Also update an out of date comment.
This commit is contained in:
		
							parent
							
								
									53fc6ac11b
								
							
						
					
					
						commit
						eb975a49d6
					
				
					 1 changed files with 5 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -21,8 +21,11 @@ fi
 | 
			
		|||
source "${SCRIPT_DIR}/ci_defaults.sh"
 | 
			
		||||
 | 
			
		||||
BUILD_OPTS=()
 | 
			
		||||
# Override options if they have been provided.
 | 
			
		||||
# Otherwise the defaults in the Docker file will be used
 | 
			
		||||
# Pass Docker build arguments
 | 
			
		||||
if [ -n "${Z3_BUILD_TYPE}" ]; then
 | 
			
		||||
  BUILD_OPTS+=("--build-arg" "Z3_BUILD_TYPE=${Z3_BUILD_TYPE}")
 | 
			
		||||
fi
 | 
			
		||||
 | 
			
		||||
if [ -n "${Z3_CMAKE_GENERATOR}" ]; then
 | 
			
		||||
  BUILD_OPTS+=("--build-arg" "Z3_CMAKE_GENERATOR=${Z3_CMAKE_GENERATOR}")
 | 
			
		||||
fi
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue