mirror of
				https://git.code.sf.net/p/libpng/code.git
				synced 2025-07-10 18:04:09 +02:00 
			
		
		
		
	 7e18d14296
			
		
	
	
		7e18d14296
		
	
	
	
	
		
			
			Considering that a non-trivial amount of libpng code is arch-specific, we should perform cross-platform builds (with cross-platform toolchains) and test runs (on emulated architectures) in our routine verification. The content of ci/targets/ shall consist of target description files, written in the standard shell language. These files may be source'd as needed, before running the verification scripts ci/ci_verify_*.sh. Here is the initial list of target systems: Android, Cygwin, FreeBSD, Linux, MSDOS, Windows. And here is the initial list of target architectures: ARM, MIPS, PowerPC, RISC-V, x86.
		
			
				
	
	
		
			22 lines
		
	
	
		
			628 B
		
	
	
	
		
			Bash
		
	
	
	
	
	
			
		
		
	
	
			22 lines
		
	
	
		
			628 B
		
	
	
	
		
			Bash
		
	
	
	
	
	
| # Copyright (c) 2023-2024 Cosmin Truta.
 | |
| #
 | |
| # Use, modification and distribution are subject to the MIT License.
 | |
| # Please see the accompanying file LICENSE_MIT.txt
 | |
| #
 | |
| # SPDX-License-Identifier: MIT
 | |
| 
 | |
| export CI_TARGET_ARCH=riscv64
 | |
| export CI_TARGET_SYSTEM=linux
 | |
| export CI_TARGET_ABI=gnu
 | |
| 
 | |
| export CI_GCC="${CI_GCC-gcc}"
 | |
| 
 | |
| export CI_CC="$CI_TARGET_ARCH-$CI_TARGET_SYSTEM-$CI_TARGET_ABI-$CI_GCC"
 | |
| export CI_AR="$CI_TARGET_ARCH-$CI_TARGET_SYSTEM-$CI_TARGET_ABI-ar"
 | |
| export CI_RANLIB="$CI_TARGET_ARCH-$CI_TARGET_SYSTEM-$CI_TARGET_ABI-ranlib"
 | |
| 
 | |
| export CI_CMAKE_VARS="
 | |
|     -DCMAKE_SYSTEM_NAME=Linux
 | |
|     -DCMAKE_SYSTEM_PROCESSOR=$CI_TARGET_ARCH
 | |
| "
 |