Add download_dxc_cross.sh for cross compilation
This commit is contained in:
		
							parent
							
								
									34d0efe70b
								
							
						
					
					
						commit
						92e4f6ce79
					
				@ -1,5 +1,4 @@
 | 
				
			|||||||
#!/bin/bash
 | 
					#!/bin/bash
 | 
				
			||||||
fOutFile ile="dxc_2023_08_14.zip"
 | 
					 | 
				
			||||||
file="linux_dxc_2023_08_14.x86_64.tar.gz"
 | 
					file="linux_dxc_2023_08_14.x86_64.tar.gz"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
if [! -d contrib]; then
 | 
					if [! -d contrib]; then
 | 
				
			||||||
 | 
				
			|||||||
							
								
								
									
										13
									
								
								scripts/download_dxc_cross.sh
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										13
									
								
								scripts/download_dxc_cross.sh
									
									
									
									
									
										Normal file
									
								
							@ -0,0 +1,13 @@
 | 
				
			|||||||
 | 
					#!/bin/bash
 | 
				
			||||||
 | 
					file="dxc_2023_08_14.zip"
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					if [! -d contrib]; then
 | 
				
			||||||
 | 
					    echo "Could not find 'contrib'. Make sure to run this script from the projects root directory."
 | 
				
			||||||
 | 
					    exit 1;
 | 
				
			||||||
 | 
					fi
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
					mkdir -p contrib/dxc
 | 
				
			||||||
 | 
					wget https://github.com/microsoft/DirectXShaderCompiler/releases/download/v1.7.2308/$file -O contrib/dxc/$file
 | 
				
			||||||
 | 
					unzip contrib/dxc/$file -d contrib/dxc
 | 
				
			||||||
 | 
					rm contrib/dxc/$file
 | 
				
			||||||
 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue
	
	Block a user