| 
						
						
							
								
							
						
						
					 | 
					 | 
					@ -105,17 +105,22 @@ else: | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  cpppath = [] | 
					 | 
					 | 
					 | 
					  cpppath = [] | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  if arch == "Darwin": | 
					 | 
					 | 
					 | 
					  if arch == "Darwin": | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					    yuv_dir = "mac" if real_arch != "arm64" else "mac_arm64" | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    libpath = [ | 
					 | 
					 | 
					 | 
					    libpath = [ | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      "#phonelibs/libyuv/mac/lib", | 
					 | 
					 | 
					 | 
					      f"#phonelibs/libyuv/{yuv_dir}/lib", | 
				
			
			
				
				
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      "#cereal", | 
					 | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      "#selfdrive/common", | 
					 | 
					 | 
					 | 
					 | 
				
			
			
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      "/usr/local/lib", | 
					 | 
					 | 
					 | 
					      "/usr/local/lib", | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					      "/opt/homebrew/lib", | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      "/usr/local/opt/openssl/lib", | 
					 | 
					 | 
					 | 
					      "/usr/local/opt/openssl/lib", | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					      "/opt/homebrew/opt/openssl/lib", | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      "/System/Library/Frameworks/OpenGL.framework/Libraries", | 
					 | 
					 | 
					 | 
					      "/System/Library/Frameworks/OpenGL.framework/Libraries", | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    ] | 
					 | 
					 | 
					 | 
					    ] | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    cflags += ["-DGL_SILENCE_DEPRECATION"] | 
					 | 
					 | 
					 | 
					    cflags += ["-DGL_SILENCE_DEPRECATION"] | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    cxxflags += ["-DGL_SILENCE_DEPRECATION"] | 
					 | 
					 | 
					 | 
					    cxxflags += ["-DGL_SILENCE_DEPRECATION"] | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    cpppath += ["/usr/local/opt/openssl/include"] | 
					 | 
					 | 
					 | 
					    cpppath += [ | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					      "/opt/homebrew/include", | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					      "/usr/local/opt/openssl/include", | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					      "/opt/homebrew/opt/openssl/include" | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					    ] | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  else: | 
					 | 
					 | 
					 | 
					  else: | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    libpath = [ | 
					 | 
					 | 
					 | 
					    libpath = [ | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					      "#phonelibs/snpe/x86_64-linux-clang", | 
					 | 
					 | 
					 | 
					      "#phonelibs/snpe/x86_64-linux-clang", | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
							
								
							
						
						
					 | 
					 | 
					@ -279,7 +284,10 @@ if arch != "aarch64": | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					
 | 
					 | 
					 | 
					 | 
					
 | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					qt_libs = [] | 
					 | 
					 | 
					 | 
					qt_libs = [] | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					if arch == "Darwin": | 
					 | 
					 | 
					 | 
					if arch == "Darwin": | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  qt_env['QTDIR'] = "/usr/local/opt/qt@5" | 
					 | 
					 | 
					 | 
					  if real_arch == "arm64": | 
				
			
			
				
				
			
		
	
		
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					    qt_env['QTDIR'] = "/opt/homebrew/opt/qt@5" | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					  else: | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					 | 
					    qt_env['QTDIR'] = "/usr/local/opt/qt@5" | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  qt_dirs = [ | 
					 | 
					 | 
					 | 
					  qt_dirs = [ | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					    os.path.join(qt_env['QTDIR'], "include"), | 
					 | 
					 | 
					 | 
					    os.path.join(qt_env['QTDIR'], "include"), | 
				
			
			
		
	
		
		
			
				
					
					 | 
					 | 
					 | 
					  ] | 
					 | 
					 | 
					 | 
					  ] | 
				
			
			
		
	
	
		
		
			
				
					| 
						
							
								
							
						
						
						
					 | 
					 | 
					
  |