Use Python 3.8 on the Windows buildbot.
This commit is contained in:
		
							parent
							
								
									d49b92603a
								
							
						
					
					
						commit
						9acf2b5cda
					
				@ -667,6 +667,12 @@ class SMConfig(object):
 | 
			
		||||
    self.ConfigureForExtension(context, binary.compiler)
 | 
			
		||||
    return binary
 | 
			
		||||
 | 
			
		||||
if getattr(builder, 'target', None) is not None:
 | 
			
		||||
    sys.stderr.write("Your output folder was configured for AMBuild 2.1, and SourceMod is now\n")
 | 
			
		||||
    sys.stderr.write("configured to use AMBuild 2.2. Please remove your output folder and\n")
 | 
			
		||||
    sys.stderr.write("reconfigure to continue.\n")
 | 
			
		||||
    os._exit(1)
 | 
			
		||||
 | 
			
		||||
SM = SMConfig()
 | 
			
		||||
SM.detectProductVersion()
 | 
			
		||||
SM.detectSDKs()
 | 
			
		||||
 | 
			
		||||
@ -74,7 +74,7 @@ if ($argn > 0 && $^O !~ /MSWin/) {
 | 
			
		||||
	$result = `CC=$ARGV[0] CXX=$ARGV[1] python ../build/configure.py $conf_args`;
 | 
			
		||||
} else {
 | 
			
		||||
	if ($^O =~ /MSWin/) {
 | 
			
		||||
		$result = `C:\\Python27\\Python.exe ..\\build\\configure.py $conf_args`;
 | 
			
		||||
		$result = `C:\\Python38\\Python.exe ..\\build\\configure.py $conf_args`;
 | 
			
		||||
	} else {
 | 
			
		||||
		$result = `CC=clang CXX=clang python ../build/configure.py $conf_args`;
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
@ -16,7 +16,11 @@ if ($argn > 0) {
 | 
			
		||||
	$ENV{CXX} = $ARGV[1];
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
if ($^O !~ /MSWin/) {
 | 
			
		||||
	system("ambuild --no-color 2>&1");
 | 
			
		||||
} else {
 | 
			
		||||
	system("C:\\Python38\\scripts\\ambuild --no-color 2>&1");
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
if ($? != 0)
 | 
			
		||||
{
 | 
			
		||||
 | 
			
		||||
		Loading…
	
		Reference in New Issue
	
	Block a user