mirror of
				https://github.com/bensuperpc/dockcross.git
				synced 2025-10-31 08:06:23 +01:00 
			
		
		
		
	Compare commits
	
		
			1 Commits
		
	
	
		
			update-lin
			...
			add_window
		
	
	| Author | SHA1 | Date | |
|---|---|---|---|
| 9511aa49c7 | 
							
								
								
									
										735
									
								
								.github/workflows/main.yml
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										735
									
								
								.github/workflows/main.yml
									
									
									
									
										vendored
									
									
								
							| @@ -1,16 +1,16 @@ | |||||||
| name: Dockcross CI | name: Dockcross CI (Main) | ||||||
|  |  | ||||||
| on: | on: | ||||||
|   push: |   push: | ||||||
|     branches: |     branches: | ||||||
|       - "*" |     - '*' | ||||||
|     paths-ignore: |     paths-ignore: | ||||||
|       - "**.md" |       - '**.md' | ||||||
|   pull_request: |   pull_request: | ||||||
|     branches: |     branches: | ||||||
|       - "*" |     - '*' | ||||||
|     paths-ignore: |     paths-ignore: | ||||||
|       - "**.md" |       - '**.md' | ||||||
|   workflow_dispatch: |   workflow_dispatch: | ||||||
|  |  | ||||||
| jobs: | jobs: | ||||||
| @@ -25,8 +25,8 @@ jobs: | |||||||
|         run: make base.test |         run: make base.test | ||||||
|       - name: archive base |       - name: archive base | ||||||
|         run: | |         run: | | ||||||
|           mkdir -p cache |             mkdir -p cache | ||||||
|           docker save dockcross/base:latest | xz -e9 -T0 > ./cache/base.tar.xz |             docker save dockcross/base:latest | xz -e9 -T0 > ./cache/base.tar.xz | ||||||
|       - name: save base |       - name: save base | ||||||
|         uses: actions/upload-artifact@v2 |         uses: actions/upload-artifact@v2 | ||||||
|         with: |         with: | ||||||
| @@ -36,8 +36,8 @@ jobs: | |||||||
|       - name: deploy |       - name: deploy | ||||||
|         if: github.ref == 'refs/heads/master' |         if: github.ref == 'refs/heads/master' | ||||||
|         run: | |         run: | | ||||||
|           docker login -u ${{ secrets.DOCKER_USER }} -p ${{ secrets.DOCKER_PASS }} |             docker login -u ${{ secrets.DOCKER_USER }} -p ${{ secrets.DOCKER_PASS }} | ||||||
|           docker image push dockcross/base --all-tags |             docker image push dockcross/base --all-tags | ||||||
|  |  | ||||||
|   image: |   image: | ||||||
|     name: ${{ matrix.arch_name.image }} |     name: ${{ matrix.arch_name.image }} | ||||||
| @@ -47,609 +47,64 @@ jobs: | |||||||
|       fail-fast: false |       fail-fast: false | ||||||
|       matrix: |       matrix: | ||||||
|         arch_name: |         arch_name: | ||||||
|           # Android images |         # Android images | ||||||
|           - { |           - { image: "android-arm", arch: "arm" } | ||||||
|               image: "android-arm", |           - { image: "android-arm64", arch: "arm64" } | ||||||
|               stockfish: "yes", |           - { image: "android-x86", arch: "x86" } | ||||||
|               stockfish_arg: "ARCH=armv7 COMP=ndk", |           - { image: "android-x86_64", arch: "x86_64" } | ||||||
|               ninja: "no", |         # Linux arm64/armv8 images | ||||||
|               ninja_arg: "", |           - { image: "linux-arm64", arch: "arm64" } | ||||||
|               openssl: "yes", |           - { image: "linux-arm64-musl", arch: "arm64" } | ||||||
|               openssl_arg: "android-arm no-shared", |           - { image: "linux-arm64-full", arch: "arm64" } | ||||||
|               C: "no", |         # Linux armv5 images | ||||||
|               C_arg: "", |           - { image: "linux-armv5", arch: "armv5" } | ||||||
|               C-Plus-Plus: "yes", |           - { image: "linux-armv5-musl", arch: "armv5" } | ||||||
|               C-Plus-Plus_arg: "", |         # Linux armv6 images | ||||||
|               fmt: "no", |           - { image: "linux-armv6", arch: "armv6" } | ||||||
|               fmt_arg: "" |           - { image: "linux-armv6-lts", arch: "armv6" } | ||||||
|             } |           - { image: "linux-armv6-musl", arch: "armv6" } | ||||||
|           - { |         # Linux armv7 images | ||||||
|               image: "android-arm64", |           - { image: "linux-armv7", arch: "armv7" } | ||||||
|               stockfish: "yes", |           - { image: "linux-armv7a", arch: "armv7" } | ||||||
|               stockfish_arg: "ARCH=armv8 COMP=ndk", |           - { image: "linux-armv7l-musl", arch: "armv7" } | ||||||
|               ninja: "no", |         # Linux x86 images | ||||||
|               ninja_arg: "", |           - { image: "linux-x86", arch: "x86" } | ||||||
|               openssl: "yes", |         # Linux x86_64 images | ||||||
|               openssl_arg: "android-arm64 no-shared", |           - { image: "linux-x64", arch: "x86_64" } | ||||||
|               C: "no", |           - { image: "linux-x64-tinycc", arch: "x86_64" } | ||||||
|               C_arg: "", |           - { image: "linux-x64-clang", arch: "x86_64" } | ||||||
|               C-Plus-Plus: "yes", |           - { image: "linux-x86_64-full", arch: "x86_64" } | ||||||
|               C-Plus-Plus_arg: "", |         # Linux riscv images | ||||||
|               fmt: "no", |           - { image: "linux-riscv32", arch: "riscv32" } | ||||||
|               fmt_arg: "" |           - { image: "linux-riscv64", arch: "riscv64" } | ||||||
|             } |         # Linux s390x images | ||||||
|           - { |           - { image: "linux-s390x", arch: "s390x" } | ||||||
|               image: "android-x86", |         # Linux mips images | ||||||
|               stockfish: "yes", |           - { image: "linux-mips", arch: "mips" } | ||||||
|               stockfish_arg: "ARCH=x86-32 COMP=ndk", |         # Linux ppc64le images | ||||||
|               ninja: "no", |           - { image: "linux-ppc64le", arch: "ppc64le" } | ||||||
|               ninja_arg: "", |         # Linux m68k images | ||||||
|               openssl: "yes", |           - { image: "linux-m68k-uclibc", arch: "m68k" } | ||||||
|               openssl_arg: "android-x86 no-shared", |         # Linux xtensa images | ||||||
|               C: "no", |           - { image: "linux-xtensa-uclibc", arch: "xtensa" } | ||||||
|               C_arg: "", |         # Windows x86_x64 images | ||||||
|               C-Plus-Plus: "yes", |           - { image: "windows-static-x64", arch: "x86_x64" } | ||||||
|               C-Plus-Plus_arg: "", |           - { image: "windows-static-x64-posix", arch: "x86_x64" } | ||||||
|               fmt: "no", |           - { image: "windows-static-x64", arch: "x86_x64" } | ||||||
|               fmt_arg: "" |           - { image: "windows-shared-x64", arch: "x86_x64" } | ||||||
|             } |           - { image: "windows-shared-x64-posix", arch: "x64" } | ||||||
|           - { |         # Windows x86 images | ||||||
|               image: "android-x86_64", |           - { image: "windows-static-x86", arch: "x86" } | ||||||
|               stockfish: "yes", |           - { image: "windows-shared-x86", arch: "x86" } | ||||||
|               stockfish_arg: "ARCH=x86-64 COMP=ndk", |         # Windows arm images | ||||||
|               ninja: "no", |           - { image: "windows-armv7", arch: "armv7" } | ||||||
|               ninja_arg: "", |           - { image: "windows-arm64", arch: "arm64" } | ||||||
|               openssl: "yes", |         # manylinux2014 images | ||||||
|               openssl_arg: "android-x86_64 no-shared", |           - { image: "manylinux2014-x86", arch: "x86" } | ||||||
|               C: "no", |           - { image: "manylinux2014-x64", arch: "x86_64" } | ||||||
|               C_arg: "", |           - { image: "manylinux2014-aarch64", arch: "arm64" } | ||||||
|               C-Plus-Plus: "yes", |         # web-wasm images | ||||||
|               C-Plus-Plus_arg: "", |           - { image: "web-wasm", arch: "JS" } | ||||||
|               fmt: "no", |  | ||||||
|               fmt_arg: "" |  | ||||||
|             } |  | ||||||
|           # Linux arm64/armv8 images |  | ||||||
|           - { |  | ||||||
|               image: "linux-arm64", |  | ||||||
|               stockfish: "yes", |  | ||||||
|               stockfish_arg: "ARCH=armv8", |  | ||||||
|               ninja: "yes", |  | ||||||
|               ninja_arg: "", |  | ||||||
|               openssl: "yes", |  | ||||||
|               openssl_arg: "linux-aarch64", |  | ||||||
|               C: "yes", |  | ||||||
|               C_arg: "", |  | ||||||
|               C-Plus-Plus: "yes", |  | ||||||
|               C-Plus-Plus_arg: "", |  | ||||||
|               fmt: "yes", |  | ||||||
|               fmt_arg: "" |  | ||||||
|             } |  | ||||||
|           - { |  | ||||||
|               image: "linux-arm64-musl", |  | ||||||
|               stockfish: "yes", |  | ||||||
|               stockfish_arg: "ARCH=armv8", |  | ||||||
|               ninja: "yes", |  | ||||||
|               ninja_arg: "", |  | ||||||
|               openssl: "yes", |  | ||||||
|               openssl_arg: "linux-aarch64", |  | ||||||
|               C: "yes", |  | ||||||
|               C_arg: "", |  | ||||||
|               C-Plus-Plus: "yes", |  | ||||||
|               C-Plus-Plus_arg: "", |  | ||||||
|               fmt: "yes", |  | ||||||
|               fmt_arg: "" |  | ||||||
|             } |  | ||||||
|           - { |  | ||||||
|               image: "linux-arm64-full", |  | ||||||
|               stockfish: "yes", |  | ||||||
|               stockfish_arg: "ARCH=armv8", |  | ||||||
|               ninja: "yes", |  | ||||||
|               ninja_arg: "", |  | ||||||
|               openssl: "yes", |  | ||||||
|               openssl_arg: "linux-aarch64", |  | ||||||
|               C: "yes", |  | ||||||
|               C_arg: "", |  | ||||||
|               C-Plus-Plus: "yes", |  | ||||||
|               C-Plus-Plus_arg: "", |  | ||||||
|               fmt: "yes", |  | ||||||
|               fmt_arg: "" |  | ||||||
|             } |  | ||||||
|           # Linux armv5 images |  | ||||||
|           - { |  | ||||||
|               image: "linux-armv5", |  | ||||||
|               stockfish: "no", |  | ||||||
|               stockfish_arg: "", |  | ||||||
|               ninja: "yes", |  | ||||||
|               ninja_arg: "", |  | ||||||
|               openssl: "yes", |  | ||||||
|               openssl_arg: "linux-armv4", |  | ||||||
|               C: "no", |  | ||||||
|               C_arg: "", |  | ||||||
|               C-Plus-Plus: "yes", |  | ||||||
|               C-Plus-Plus_arg: "", |  | ||||||
|               fmt: "yes", |  | ||||||
|               fmt_arg: "" |  | ||||||
|             } |  | ||||||
|           - { |  | ||||||
|               image: "linux-armv5-musl", |  | ||||||
|               stockfish: "no", |  | ||||||
|               stockfish_arg: "", |  | ||||||
|               ninja: "yes", |  | ||||||
|               ninja_arg: "", |  | ||||||
|               openssl: "yes", |  | ||||||
|               openssl_arg: "linux-armv4", |  | ||||||
|               C: "no", |  | ||||||
|               C_arg: "", |  | ||||||
|               C-Plus-Plus: "yes", |  | ||||||
|               C-Plus-Plus_arg: "", |  | ||||||
|               fmt: "yes", |  | ||||||
|               fmt_arg: "" |  | ||||||
|             } |  | ||||||
|           # Linux armv6 images |  | ||||||
|           - { |  | ||||||
|               image: "linux-armv6", |  | ||||||
|               stockfish: "no", |  | ||||||
|               stockfish_arg: "", |  | ||||||
|               ninja: "yes", |  | ||||||
|               ninja_arg: "", |  | ||||||
|               openssl: "yes", |  | ||||||
|               openssl_arg: "linux-armv4", |  | ||||||
|               C: "no", |  | ||||||
|               C_arg: "", |  | ||||||
|               C-Plus-Plus: "yes", |  | ||||||
|               C-Plus-Plus_arg: "", |  | ||||||
|               fmt: "yes", |  | ||||||
|               fmt_arg: "" |  | ||||||
|             } |  | ||||||
|           - { |  | ||||||
|               image: "linux-armv6-lts", |  | ||||||
|               stockfish: "no", |  | ||||||
|               stockfish_arg: "", |  | ||||||
|               ninja: "yes", |  | ||||||
|               ninja_arg: "", |  | ||||||
|               openssl: "yes", |  | ||||||
|               openssl_arg: "linux-armv4", |  | ||||||
|               C: "no", |  | ||||||
|               C_arg: "", |  | ||||||
|               C-Plus-Plus: "yes", |  | ||||||
|               C-Plus-Plus_arg: "", |  | ||||||
|               fmt: "yes", |  | ||||||
|               fmt_arg: "" |  | ||||||
|             } |  | ||||||
|           - { |  | ||||||
|               image: "linux-armv6-musl", |  | ||||||
|               stockfish: "no", |  | ||||||
|               stockfish_arg: "", |  | ||||||
|               ninja: "yes", |  | ||||||
|               ninja_arg: "", |  | ||||||
|               openssl: "yes", |  | ||||||
|               openssl_arg: "linux-armv4", |  | ||||||
|               C: "no", |  | ||||||
|               C_arg: "", |  | ||||||
|               C-Plus-Plus: "yes", |  | ||||||
|               C-Plus-Plus_arg: "", |  | ||||||
|               fmt: "yes", |  | ||||||
|               fmt_arg: "" |  | ||||||
|             } |  | ||||||
|           # Linux armv7 images |  | ||||||
|           - { |  | ||||||
|               image: "linux-armv7", |  | ||||||
|               stockfish: "yes", |  | ||||||
|               stockfish_arg: "ARCH=armv7", |  | ||||||
|               ninja: "yes", |  | ||||||
|               ninja_arg: "", |  | ||||||
|               openssl: "yes", |  | ||||||
|               openssl_arg: "linux-armv4", |  | ||||||
|               C: "no", |  | ||||||
|               C_arg: "", |  | ||||||
|               C-Plus-Plus: "yes", |  | ||||||
|               C-Plus-Plus_arg: "", |  | ||||||
|               fmt: "yes", |  | ||||||
|               fmt_arg: "" |  | ||||||
|             } |  | ||||||
|           - { |  | ||||||
|               image: "linux-armv7a", |  | ||||||
|               stockfish: "yes", |  | ||||||
|               stockfish_arg: "ARCH=armv7-neon", |  | ||||||
|               ninja: "yes", |  | ||||||
|               ninja_arg: "", |  | ||||||
|               openssl: "yes", |  | ||||||
|               openssl_arg: "linux-armv4", |  | ||||||
|               C: "no", |  | ||||||
|               C_arg: "", |  | ||||||
|               C-Plus-Plus: "yes", |  | ||||||
|               C-Plus-Plus_arg: "", |  | ||||||
|               fmt: "yes", |  | ||||||
|               fmt_arg: "" |  | ||||||
|             } |  | ||||||
|           - { |  | ||||||
|               image: "linux-armv7l-musl", |  | ||||||
|               stockfish: "yes", |  | ||||||
|               stockfish_arg: "ARCH=armv7", |  | ||||||
|               ninja: "yes", |  | ||||||
|               ninja_arg: "", |  | ||||||
|               openssl: "yes", |  | ||||||
|               openssl_arg: "linux-armv4", |  | ||||||
|               C: "no", |  | ||||||
|               C_arg: "", |  | ||||||
|               C-Plus-Plus: "yes", |  | ||||||
|               C-Plus-Plus_arg: "", |  | ||||||
|               fmt: "yes", |  | ||||||
|               fmt_arg: "" |  | ||||||
|             } |  | ||||||
|           # Linux x86 images |  | ||||||
|           - { |  | ||||||
|               image: "linux-x86", |  | ||||||
|               stockfish: "yes", |  | ||||||
|               stockfish_arg: "ARCH=x86-32-sse41-popcnt", |  | ||||||
|               ninja: "yes", |  | ||||||
|               ninja_arg: "", |  | ||||||
|               openssl: "yes", |  | ||||||
|               openssl_arg: "linux-x86", |  | ||||||
|               C: "yes", |  | ||||||
|               C_arg: "", |  | ||||||
|               C-Plus-Plus: "yes", |  | ||||||
|               C-Plus-Plus_arg: "", |  | ||||||
|               fmt: "yes", |  | ||||||
|               fmt_arg: "" |  | ||||||
|             } |  | ||||||
|           # Linux x86_64 images |  | ||||||
|           - { |  | ||||||
|               image: "linux-x64", |  | ||||||
|               stockfish: "yes", |  | ||||||
|               stockfish_arg: "ARCH=x86-64-modern", |  | ||||||
|               ninja: "yes", |  | ||||||
|               ninja_arg: "", |  | ||||||
|               openssl: "yes", |  | ||||||
|               openssl_arg: "linux-x86_64", |  | ||||||
|               C: "yes", |  | ||||||
|               C_arg: "", |  | ||||||
|               C-Plus-Plus: "yes", |  | ||||||
|               C-Plus-Plus_arg: "", |  | ||||||
|               fmt: "yes", |  | ||||||
|               fmt_arg: "" |  | ||||||
|             } |  | ||||||
|           - { |  | ||||||
|               image: "linux-x64-tinycc", |  | ||||||
|               stockfish: "yes", |  | ||||||
|               stockfish_arg: "ARCH=x86-64-modern", |  | ||||||
|               ninja: "yes", |  | ||||||
|               ninja_arg: "", |  | ||||||
|               openssl: "no", |  | ||||||
|               openssl_arg: "linux-generic64 no-asm no-threads no-engine no-hw no-weak-ssl-ciphers no-dtls no-shared no-dso", |  | ||||||
|               C: "no", |  | ||||||
|               C_arg: "", |  | ||||||
|               C-Plus-Plus: "yes", |  | ||||||
|               C-Plus-Plus_arg: "", |  | ||||||
|               fmt: "yes", |  | ||||||
|               fmt_arg: "" |  | ||||||
|             } |  | ||||||
|           - { |  | ||||||
|               image: "linux-x64-clang", |  | ||||||
|               stockfish: "yes", |  | ||||||
|               stockfish_arg: "ARCH=x86-64-modern COMP=clang", |  | ||||||
|               ninja: "yes", |  | ||||||
|               ninja_arg: "", |  | ||||||
|               openssl: "no", |  | ||||||
|               openssl_arg: "linux-x86_64-clang", |  | ||||||
|               C: "yes", |  | ||||||
|               C_arg: "", |  | ||||||
|               C-Plus-Plus: "yes", |  | ||||||
|               C-Plus-Plus_arg: "", |  | ||||||
|               fmt: "yes", |  | ||||||
|               fmt_arg: "" |  | ||||||
|             } |  | ||||||
|           - { |  | ||||||
|               image: "linux-x86_64-full", |  | ||||||
|               stockfish: "yes", |  | ||||||
|               stockfish_arg: "ARCH=x86-64-modern", |  | ||||||
|               ninja: "yes", |  | ||||||
|               ninja_arg: "", |  | ||||||
|               openssl: "yes", |  | ||||||
|               openssl_arg: "linux-x86_64", |  | ||||||
|               C: "yes", |  | ||||||
|               C_arg: "", |  | ||||||
|               C-Plus-Plus: "yes", |  | ||||||
|               C-Plus-Plus_arg: "", |  | ||||||
|               fmt: "yes", |  | ||||||
|               fmt_arg: "" |  | ||||||
|             } |  | ||||||
|           # Linux riscv images |  | ||||||
|           - { |  | ||||||
|               image: "linux-riscv32", |  | ||||||
|               stockfish: "no", |  | ||||||
|               stockfish_arg: "", |  | ||||||
|               ninja: "yes", |  | ||||||
|               ninja_arg: "", |  | ||||||
|               openssl: "yes", |  | ||||||
|               openssl_arg: "linux-generic32", |  | ||||||
|               C: "no", |  | ||||||
|               C_arg: "", |  | ||||||
|               C-Plus-Plus: "yes", |  | ||||||
|               C-Plus-Plus_arg: "", |  | ||||||
|               fmt: "yes", |  | ||||||
|               fmt_arg: "" |  | ||||||
|             } |  | ||||||
|           - { |  | ||||||
|               image: "linux-riscv64", |  | ||||||
|               stockfish: "no", |  | ||||||
|               stockfish_arg: "", |  | ||||||
|               ninja: "yes", |  | ||||||
|               ninja_arg: "", |  | ||||||
|               openssl: "yes", |  | ||||||
|               openssl_arg: "linux-generic64", |  | ||||||
|               C: "no", |  | ||||||
|               C_arg: "", |  | ||||||
|               C-Plus-Plus: "yes", |  | ||||||
|               C-Plus-Plus_arg: "", |  | ||||||
|               fmt: "yes", |  | ||||||
|               fmt_arg: "" |  | ||||||
|             } |  | ||||||
|           # Linux s390x images |  | ||||||
|           - { |  | ||||||
|               image: "linux-s390x", |  | ||||||
|               stockfish: "no", |  | ||||||
|               stockfish_arg: "", |  | ||||||
|               ninja: "yes", |  | ||||||
|               ninja_arg: "", |  | ||||||
|               openssl: "yes", |  | ||||||
|               openssl_arg: "linux64-s390x", |  | ||||||
|               C: "yes", |  | ||||||
|               C_arg: "", |  | ||||||
|               C-Plus-Plus: "yes", |  | ||||||
|               C-Plus-Plus_arg: "", |  | ||||||
|               fmt: "yes", |  | ||||||
|               fmt_arg: "" |  | ||||||
|             } |  | ||||||
|           # Linux mips images |  | ||||||
|           - { |  | ||||||
|               image: "linux-mips", |  | ||||||
|               stockfish: "no", |  | ||||||
|               stockfish_arg: "", |  | ||||||
|               ninja: "yes", |  | ||||||
|               ninja_arg: "", |  | ||||||
|               openssl: "yes", |  | ||||||
|               openssl_arg: "linux-generic32", |  | ||||||
|               C: "yes", |  | ||||||
|               C_arg: "", |  | ||||||
|               C-Plus-Plus: "yes", |  | ||||||
|               C-Plus-Plus_arg: "", |  | ||||||
|               fmt: "yes", |  | ||||||
|               fmt_arg: "" |  | ||||||
|             } |  | ||||||
|           # Linux ppc64le images |  | ||||||
|           - { |  | ||||||
|               image: "linux-ppc64le", |  | ||||||
|               stockfish: "yes", |  | ||||||
|               stockfish_arg: "ARCH=ppc-64", |  | ||||||
|               ninja: "yes", |  | ||||||
|               ninja_arg: "", |  | ||||||
|               openssl: "yes", |  | ||||||
|               openssl_arg: "linux-ppc64le", |  | ||||||
|               C: "yes", |  | ||||||
|               C_arg: "", |  | ||||||
|               C-Plus-Plus: "yes", |  | ||||||
|               C-Plus-Plus_arg: "", |  | ||||||
|               fmt: "yes", |  | ||||||
|               fmt_arg: "" |  | ||||||
|             } |  | ||||||
|           # Linux m68k images |  | ||||||
|           - { |  | ||||||
|               image: "linux-m68k-uclibc", |  | ||||||
|               stockfish: "no", |  | ||||||
|               stockfish_arg: "", |  | ||||||
|               ninja: "no", |  | ||||||
|               ninja_arg: "", |  | ||||||
|               openssl: "no", |  | ||||||
|               openssl_arg: "linux-generic32 no-asm no-threads no-engine no-hw no-weak-ssl-ciphers no-dtls no-shared no-dso", |  | ||||||
|               C: "no", |  | ||||||
|               C_arg: "", |  | ||||||
|               C-Plus-Plus: "yes", |  | ||||||
|               C-Plus-Plus_arg: "", |  | ||||||
|               fmt: "no", |  | ||||||
|               fmt_arg: "" |  | ||||||
|             } |  | ||||||
|           # Linux xtensa images |  | ||||||
|           - { |  | ||||||
|               image: "linux-xtensa-uclibc", |  | ||||||
|               stockfish: "no", |  | ||||||
|               stockfish_arg: "", |  | ||||||
|               ninja: "yes", |  | ||||||
|               ninja_arg: "", |  | ||||||
|               openssl: "yes", |  | ||||||
|               openssl_arg: "linux-generic64 no-asm no-threads no-engine no-hw no-weak-ssl-ciphers no-dtls no-shared no-dso", |  | ||||||
|               C: "no", |  | ||||||
|               C_arg: "", |  | ||||||
|               C-Plus-Plus: "yes", |  | ||||||
|               C-Plus-Plus_arg: "", |  | ||||||
|               fmt: "no", |  | ||||||
|               fmt_arg: "" |  | ||||||
|             } |  | ||||||
|           # Windows x86_x64 images |  | ||||||
|           - { |  | ||||||
|               image: "windows-static-x64", |  | ||||||
|               stockfish: "yes", |  | ||||||
|               stockfish_arg: "ARCH=x86-64-modern COMP=mingw", |  | ||||||
|               ninja: "no", |  | ||||||
|               ninja_arg: "", |  | ||||||
|               openssl: "no", |  | ||||||
|               openssl_arg: "mingw64 no-asm", |  | ||||||
|               C: "no", |  | ||||||
|               C_arg: "", |  | ||||||
|               C-Plus-Plus: "no", |  | ||||||
|               C-Plus-Plus_arg: "", |  | ||||||
|               fmt: "yes", |  | ||||||
|               fmt_arg: "" |  | ||||||
|             } |  | ||||||
|           - { |  | ||||||
|               image: "windows-static-x64-posix", |  | ||||||
|               stockfish: "yes", |  | ||||||
|               stockfish_arg: "ARCH=x86-64-modern COMP=mingw", |  | ||||||
|               ninja: "no", |  | ||||||
|               ninja_arg: "", |  | ||||||
|               openssl: "no", |  | ||||||
|               openssl_arg: "mingw64 no-asm", |  | ||||||
|               C: "no", |  | ||||||
|               C_arg: "", |  | ||||||
|               C-Plus-Plus: "no", |  | ||||||
|               C-Plus-Plus_arg: "", |  | ||||||
|               fmt: "yes", |  | ||||||
|               fmt_arg: "" |  | ||||||
|             } |  | ||||||
|           - { |  | ||||||
|               image: "windows-shared-x64", |  | ||||||
|               stockfish: "no", |  | ||||||
|               stockfish_arg: "", |  | ||||||
|               ninja: "no", |  | ||||||
|               ninja_arg: "", |  | ||||||
|               openssl: "no", |  | ||||||
|               openssl_arg: "mingw64 no-asm", |  | ||||||
|               C: "no", |  | ||||||
|               C_arg: "", |  | ||||||
|               C-Plus-Plus: "no", |  | ||||||
|               C-Plus-Plus_arg: "", |  | ||||||
|               fmt: "yes", |  | ||||||
|               fmt_arg: "" |  | ||||||
|             } |  | ||||||
|           - { |  | ||||||
|               image: "windows-shared-x64-posix", |  | ||||||
|               stockfish: "no", |  | ||||||
|               stockfish_arg: "", |  | ||||||
|               ninja: "no", |  | ||||||
|               ninja_arg: "", |  | ||||||
|               openssl: "no", |  | ||||||
|               openssl_arg: "mingw64 no-asm", |  | ||||||
|               C: "no", |  | ||||||
|               C_arg: "", |  | ||||||
|               C-Plus-Plus: "no", |  | ||||||
|               C-Plus-Plus_arg: "", |  | ||||||
|               fmt: "yes", |  | ||||||
|               fmt_arg: "" |  | ||||||
|             } |  | ||||||
|           # Windows x86 images |  | ||||||
|           - { |  | ||||||
|               image: "windows-static-x86", |  | ||||||
|               stockfish: "yes", |  | ||||||
|               stockfish_arg: "ARCH=x86-32-sse41-popcnt COMP=mingw", |  | ||||||
|               ninja: "no", |  | ||||||
|               ninja_arg: "", |  | ||||||
|               openssl: "no", |  | ||||||
|               openssl_arg: "mingw no-asm", |  | ||||||
|               C: "no", |  | ||||||
|               C_arg: "", |  | ||||||
|               C-Plus-Plus: "no", |  | ||||||
|               C-Plus-Plus_arg: "", |  | ||||||
|               fmt: "yes", |  | ||||||
|               fmt_arg: "" |  | ||||||
|             } |  | ||||||
|           - { |  | ||||||
|               image: "windows-shared-x86", |  | ||||||
|               stockfish: "no", |  | ||||||
|               stockfish_arg: "", |  | ||||||
|               ninja: "no", |  | ||||||
|               ninja_arg: "", |  | ||||||
|               openssl: "no", |  | ||||||
|               openssl_arg: "mingw no-asm", |  | ||||||
|               C: "no", |  | ||||||
|               C_arg: "", |  | ||||||
|               C-Plus-Plus: "no", |  | ||||||
|               C-Plus-Plus_arg: "", |  | ||||||
|               fmt: "no", |  | ||||||
|               fmt_arg: "" |  | ||||||
|             } |  | ||||||
|           # Windows arm images |  | ||||||
|           - { |  | ||||||
|               image: "windows-armv7", |  | ||||||
|               stockfish: "no", |  | ||||||
|               stockfish_arg: "ARCH=armv7-neon COMP=clang", |  | ||||||
|               ninja: "no", |  | ||||||
|               ninja_arg: "", |  | ||||||
|               openssl: "no", |  | ||||||
|               openssl_arg: "mingw no-asm", |  | ||||||
|               C: "no", |  | ||||||
|               C_arg: "", |  | ||||||
|               C-Plus-Plus: "yes", |  | ||||||
|               C-Plus-Plus_arg: "", |  | ||||||
|               fmt: "yes", |  | ||||||
|               fmt_arg: "" |  | ||||||
|             } |  | ||||||
|           - { |  | ||||||
|               image: "windows-arm64", |  | ||||||
|               stockfish: "no", |  | ||||||
|               stockfish_arg: "ARCH=armv8 COMP=clang", |  | ||||||
|               ninja: "no", |  | ||||||
|               ninja_arg: "", |  | ||||||
|               openssl: "no", |  | ||||||
|               openssl_arg: "mingw64 no-asm", |  | ||||||
|               C: "no", |  | ||||||
|               C_arg: "", |  | ||||||
|               C-Plus-Plus: "yes", |  | ||||||
|               C-Plus-Plus_arg: "", |  | ||||||
|               fmt: "yes", |  | ||||||
|               fmt_arg: "" |  | ||||||
|             } |  | ||||||
|           # manylinux2014 images |  | ||||||
|           - { |  | ||||||
|               image: "manylinux2014-x86", |  | ||||||
|               stockfish: "yes", |  | ||||||
|               stockfish_arg: "ARCH=x86-32-sse41-popcnt", |  | ||||||
|               ninja: "yes", |  | ||||||
|               ninja_arg: "", |  | ||||||
|               openssl: "yes", |  | ||||||
|               openssl_arg: "linux-x86", |  | ||||||
|               C: "no", |  | ||||||
|               C_arg: "", |  | ||||||
|               C-Plus-Plus: "no", |  | ||||||
|               C-Plus-Plus_arg: "", |  | ||||||
|               fmt: "yes", |  | ||||||
|               fmt_arg: "" |  | ||||||
|             } |  | ||||||
|           - { |  | ||||||
|               image: "manylinux2014-x64", |  | ||||||
|               stockfish: "yes", |  | ||||||
|               stockfish_arg: "ARCH=x86-64-modern", |  | ||||||
|               ninja: "yes", |  | ||||||
|               ninja_arg: "", |  | ||||||
|               openssl: "yes", |  | ||||||
|               openssl_arg: "linux-x86_64", |  | ||||||
|               C: "no", |  | ||||||
|               C_arg: "", |  | ||||||
|               C-Plus-Plus: "no", |  | ||||||
|               C-Plus-Plus_arg: "", |  | ||||||
|               fmt: "yes", |  | ||||||
|               fmt_arg: "" |  | ||||||
|             } |  | ||||||
|           - { |  | ||||||
|               image: "manylinux2014-aarch64", |  | ||||||
|               stockfish: "no", |  | ||||||
|               stockfish_arg: "", |  | ||||||
|               ninja: "no", |  | ||||||
|               ninja_arg: "", |  | ||||||
|               openssl: "yes", |  | ||||||
|               openssl_arg: "linux-aarch64", |  | ||||||
|               C: "no", |  | ||||||
|               C_arg: "", |  | ||||||
|               C-Plus-Plus: "no", |  | ||||||
|               C-Plus-Plus_arg: "", |  | ||||||
|               fmt: "no", |  | ||||||
|               fmt_arg: "" |  | ||||||
|             } |  | ||||||
|           # web-wasm images |  | ||||||
|           - { |  | ||||||
|               image: "web-wasm", |  | ||||||
|               stockfish: "no", |  | ||||||
|               stockfish_arg: "", |  | ||||||
|               ninja: "no", |  | ||||||
|               ninja_arg: "", |  | ||||||
|               openssl: "no", |  | ||||||
|               openssl_arg: "linux-generic64 no-asm no-threads no-engine no-hw no-weak-ssl-ciphers no-dtls no-shared no-dso", |  | ||||||
|               C: "no", |  | ||||||
|               C_arg: "", |  | ||||||
|               C-Plus-Plus: "no", |  | ||||||
|               C-Plus-Plus_arg: "", |  | ||||||
|               fmt: "no", |  | ||||||
|               fmt_arg: "" |  | ||||||
|             } |  | ||||||
|     steps: |     steps: | ||||||
|       - uses: actions/checkout@v2 |       - uses: actions/checkout@v2 | ||||||
|       - uses: actions/download-artifact@v2 |       - uses: actions/download-artifact@v2 | ||||||
| @@ -662,60 +117,8 @@ jobs: | |||||||
|         run: make ${{ matrix.arch_name.image }} |         run: make ${{ matrix.arch_name.image }} | ||||||
|       - name: basic test |       - name: basic test | ||||||
|         run: make ${{ matrix.arch_name.image }}.test |         run: make ${{ matrix.arch_name.image }}.test | ||||||
|       - name: stockfish build test |  | ||||||
|         if: ${{ matrix.arch_name.stockfish == 'yes' }} |  | ||||||
|         run: | |  | ||||||
|           git clone --depth 1 --branch sf_14 https://github.com/official-stockfish/Stockfish.git |  | ||||||
|           cd Stockfish/src |  | ||||||
|           ./../../tools/dockcross-make-builder.sh ${{ matrix.arch_name.image }} net |  | ||||||
|           ./../../tools/dockcross-make-builder.sh ${{ matrix.arch_name.image }} build ${{ matrix.arch_name.stockfish_arg }} -j2 |  | ||||||
|           cd ../.. |  | ||||||
|           rm -rf Stockfish |  | ||||||
|       - name: ninja build test |  | ||||||
|         if: ${{ matrix.arch_name.ninja == 'yes' }} |  | ||||||
|         run: | |  | ||||||
|           git clone --depth 1 --branch v1.10.2 https://github.com/ninja-build/ninja.git |  | ||||||
|           cd ninja |  | ||||||
|           ./../tools/dockcross-cmake-builder.sh ${{ matrix.arch_name.image }} ${{ matrix.arch_name.ninja_arg }} |  | ||||||
|       - name: openssl build test |  | ||||||
|         if: ${{ matrix.arch_name.openssl == 'yes' }} |  | ||||||
|         run: | |  | ||||||
|           git clone --depth 1 --branch OpenSSL_1_1_1k https://github.com/openssl/openssl.git |  | ||||||
|           cd openssl |  | ||||||
|           wget https://raw.githubusercontent.com/mavlink/MAVSDK/main/third_party/openssl/dockcross-android.patch |  | ||||||
|           patch -p 0 < dockcross-android.patch |  | ||||||
|           ./../tools/dockcross-command.sh ${{ matrix.arch_name.image }} ./Configure ${{ matrix.arch_name.openssl_arg }} |  | ||||||
|           ./../tools/dockcross-make-builder.sh ${{ matrix.arch_name.image }} -j2 |  | ||||||
|           cd .. |  | ||||||
|           rm -rf openssl |  | ||||||
|       - name: C build test |  | ||||||
|         if: ${{ matrix.arch_name.C == 'yes' }} |  | ||||||
|         run: | |  | ||||||
|           git clone https://github.com/TheAlgorithms/C.git |  | ||||||
|           cd C |  | ||||||
|           git checkout cc241f58c253c533ac94e07151ef91a5ef7e5719 |  | ||||||
|           ./../tools/dockcross-cmake-builder.sh ${{ matrix.arch_name.image }} ${{ matrix.arch_name.C_arg }} |  | ||||||
|           cd .. |  | ||||||
|           rm -rf C |  | ||||||
|       - name: C-Plus-Plus build test |  | ||||||
|         if: ${{ matrix.arch_name.C-Plus-Plus == 'yes' }} |  | ||||||
|         run: | |  | ||||||
|           git clone https://github.com/TheAlgorithms/C-Plus-Plus.git |  | ||||||
|           cd C-Plus-Plus |  | ||||||
|           git checkout c3b07aed2240e5364e1a49d091a00b61f520e653 |  | ||||||
|           ./../tools/dockcross-cmake-builder.sh ${{ matrix.arch_name.image }} ${{ matrix.arch_name.C-Plus-Plus_arg }} |  | ||||||
|           cd .. |  | ||||||
|           rm -rf C-Plus-Plus |  | ||||||
|       - name: fmt build test |  | ||||||
|         if: ${{ matrix.arch_name.fmt == 'yes' }} |  | ||||||
|         run: | |  | ||||||
|           git clone --depth 1 --branch 8.0.1 https://github.com/fmtlib/fmt.git |  | ||||||
|           cd fmt |  | ||||||
|           ./../tools/dockcross-cmake-builder.sh ${{ matrix.arch_name.image }} ${{ matrix.arch_name.fmt_arg }} -DFMT_DOC=OFF |  | ||||||
|           cd .. |  | ||||||
|           rm -rf fmt |  | ||||||
|       - name: deploy |       - name: deploy | ||||||
|         if: github.ref == 'refs/heads/master' |         if: github.ref == 'refs/heads/master' | ||||||
|         run: | |         run: | | ||||||
|           docker login -u ${{ secrets.DOCKER_USER }} -p ${{ secrets.DOCKER_PASS }} |             docker login -u ${{ secrets.DOCKER_USER }} -p ${{ secrets.DOCKER_PASS }} | ||||||
|           docker image push dockcross/${{ matrix.arch_name.image }} --all-tags |             docker image push dockcross/${{ matrix.arch_name.image }} --all-tags | ||||||
|   | |||||||
							
								
								
									
										120
									
								
								.github/workflows/windows.yml
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										120
									
								
								.github/workflows/windows.yml
									
									
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,120 @@ | |||||||
|  | name: Dockcross CI (Windows) | ||||||
|  | # Only to test and build some docker images on Windows | ||||||
|  |  | ||||||
|  | on: | ||||||
|  |   push: | ||||||
|  |     branches: | ||||||
|  |     - '*' | ||||||
|  |     paths-ignore: | ||||||
|  |       - '**.md' | ||||||
|  |   pull_request: | ||||||
|  |     branches: | ||||||
|  |     - '*' | ||||||
|  |     paths-ignore: | ||||||
|  |       - '**.md' | ||||||
|  |   workflow_dispatch: | ||||||
|  |  | ||||||
|  | jobs: | ||||||
|  |   base: | ||||||
|  |     name: base | ||||||
|  |     runs-on: windows-latest | ||||||
|  |     steps: | ||||||
|  |       - uses: actions/checkout@v2 | ||||||
|  |       - name: build | ||||||
|  |         run: make base | ||||||
|  |       - name: test | ||||||
|  |         run: make base.test | ||||||
|  |       - name: archive base | ||||||
|  |         run: | | ||||||
|  |             mkdir -p cache | ||||||
|  |             docker save dockcross/base:latest | xz -e9 -T0 > ./cache/base-windows.tar.xz | ||||||
|  |       - name: save base | ||||||
|  |         uses: actions/upload-artifact@v2 | ||||||
|  |         with: | ||||||
|  |           name: cache | ||||||
|  |           path: ./cache | ||||||
|  |           retention-days: 1 | ||||||
|  |       - name: deploy | ||||||
|  |         if: github.ref == 'refs/heads/master' | ||||||
|  |         run: | | ||||||
|  |             docker login -u ${{ secrets.DOCKER_USER }} -p ${{ secrets.DOCKER_PASS }} | ||||||
|  |             docker image push dockcross/base --all-tags | ||||||
|  |  | ||||||
|  |   image: | ||||||
|  |     name: ${{ matrix.arch_name.image }} | ||||||
|  |     needs: base | ||||||
|  |     runs-on: windows-latest | ||||||
|  |     strategy: | ||||||
|  |       fail-fast: false | ||||||
|  |       matrix: | ||||||
|  |         arch_name: | ||||||
|  |         # Android images | ||||||
|  | #          - { image: "android-arm" } | ||||||
|  |           - { image: "android-arm64" } | ||||||
|  | #          - { image: "android-x86" } | ||||||
|  | #          - { image: "android-x86_64" } | ||||||
|  |         # Linux arm64/armv8 images | ||||||
|  |           - { image: "linux-arm64" } | ||||||
|  |           - { image: "linux-arm64-musl" } | ||||||
|  |           - { image: "linux-arm64-full" } | ||||||
|  |         # Linux armv5 images | ||||||
|  | #          - { image: "linux-armv5" } | ||||||
|  | #          - { image: "linux-armv5-musl" } | ||||||
|  |         # Linux armv6 images | ||||||
|  | #          - { image: "linux-armv6" } | ||||||
|  | #          - { image: "linux-armv6-lts" } | ||||||
|  | #          - { image: "linux-armv6-musl" } | ||||||
|  |         # Linux armv7 images | ||||||
|  | #          - { image: "linux-armv7" } | ||||||
|  | #          - { image: "linux-armv7a" } | ||||||
|  | #          - { image: "linux-armv7l-musl" } | ||||||
|  |         # Linux x86 images | ||||||
|  |           - { image: "linux-x86" } | ||||||
|  |         # Linux x86_64 images | ||||||
|  |           - { image: "linux-x64" } | ||||||
|  |           - { image: "linux-x64-tinycc" } | ||||||
|  |           - { image: "linux-x64-clang" } | ||||||
|  | #          - { image: "linux-x86_64-full" } | ||||||
|  |         # Linux riscv images | ||||||
|  | #          - { image: "linux-riscv32" } | ||||||
|  | #          - { image: "linux-riscv64" } | ||||||
|  |         # Linux s390x images | ||||||
|  | #          - { image: "linux-s390x" } | ||||||
|  |         # Linux mips images | ||||||
|  | #          - { image: "linux-mips" } | ||||||
|  |         # Linux ppc64le images | ||||||
|  | #          - { image: "linux-ppc64le" } | ||||||
|  |         # Linux m68k images | ||||||
|  | #          - { image: "linux-m68k-uclibc" } | ||||||
|  |         # Linux xtensa images | ||||||
|  | #          - { image: "linux-xtensa-uclibc" } | ||||||
|  |         # Windows x86_x64 images | ||||||
|  |           - { image: "windows-static-x64" } | ||||||
|  | #          - { image: "windows-static-x64-posix" } | ||||||
|  |           - { image: "windows-static-x64" } | ||||||
|  | #          - { image: "windows-shared-x64" } | ||||||
|  |           - { image: "windows-shared-x64-posix" } | ||||||
|  |         # Windows x86 images | ||||||
|  | #          - { image: "windows-static-x86" } | ||||||
|  | #          - { image: "windows-shared-x86" } | ||||||
|  |         # Windows arm images | ||||||
|  | #          - { image: "windows-armv7" } | ||||||
|  |           - { image: "windows-arm64" } | ||||||
|  |         # manylinux2014 images | ||||||
|  | #          - { image: "manylinux2014-x86" } | ||||||
|  |           - { image: "manylinux2014-x64" } | ||||||
|  | #          - { image: "manylinux2014-aarch64" } | ||||||
|  |         # web-wasm images | ||||||
|  |           - { image: "web-wasm" } | ||||||
|  |     steps: | ||||||
|  |       - uses: actions/checkout@v2 | ||||||
|  |       - uses: actions/download-artifact@v2 | ||||||
|  |         with: | ||||||
|  |           name: cache | ||||||
|  |           path: ./cache | ||||||
|  |       - name: load base | ||||||
|  |         run: xz -d -k < ./cache/base-windows.tar.xz | docker load | ||||||
|  |       - name: build | ||||||
|  |         run: make ${{ matrix.arch_name.image }} | ||||||
|  |       - name: basic test | ||||||
|  |         run: make ${{ matrix.arch_name.image }}.test | ||||||
| @@ -9,7 +9,6 @@ RUN apt-get update && apt-get install -y \ | |||||||
|  |  | ||||||
| ENV CROSS_TRIPLE=arm-linux-androideabi | ENV CROSS_TRIPLE=arm-linux-androideabi | ||||||
| ENV CROSS_ROOT=/usr/${CROSS_TRIPLE} | ENV CROSS_ROOT=/usr/${CROSS_TRIPLE} | ||||||
| ENV ANDROID_NDK=${CROSS_ROOT} |  | ||||||
| ENV AS=${CROSS_ROOT}/bin/llvm-as \ | ENV AS=${CROSS_ROOT}/bin/llvm-as \ | ||||||
|     AR=${CROSS_ROOT}/bin/llvm-ar \ |     AR=${CROSS_ROOT}/bin/llvm-ar \ | ||||||
|     CC=${CROSS_ROOT}/bin/clang \ |     CC=${CROSS_ROOT}/bin/clang \ | ||||||
|   | |||||||
| @@ -13,7 +13,6 @@ RUN apt-get update && apt-get install -y \ | |||||||
|  |  | ||||||
| ENV CROSS_TRIPLE=aarch64-linux-android | ENV CROSS_TRIPLE=aarch64-linux-android | ||||||
| ENV CROSS_ROOT=/usr/${CROSS_TRIPLE} | ENV CROSS_ROOT=/usr/${CROSS_TRIPLE} | ||||||
| ENV ANDROID_NDK=${CROSS_ROOT} |  | ||||||
| ENV AS=${CROSS_ROOT}/bin/llvm-as \ | ENV AS=${CROSS_ROOT}/bin/llvm-as \ | ||||||
|     AR=${CROSS_ROOT}/bin/llvm-ar \ |     AR=${CROSS_ROOT}/bin/llvm-ar \ | ||||||
|     CC=${CROSS_ROOT}/bin/clang \ |     CC=${CROSS_ROOT}/bin/clang \ | ||||||
|   | |||||||
| @@ -4,7 +4,6 @@ RUN apt-get update && apt-get install -y unzip | |||||||
|  |  | ||||||
| ENV CROSS_TRIPLE=i686-linux-android | ENV CROSS_TRIPLE=i686-linux-android | ||||||
| ENV CROSS_ROOT=/usr/${CROSS_TRIPLE} | ENV CROSS_ROOT=/usr/${CROSS_TRIPLE} | ||||||
| ENV ANDROID_NDK=${CROSS_ROOT} |  | ||||||
| ENV AS=${CROSS_ROOT}/bin/llvm-as \ | ENV AS=${CROSS_ROOT}/bin/llvm-as \ | ||||||
|     AR=${CROSS_ROOT}/bin/llvm-ar \ |     AR=${CROSS_ROOT}/bin/llvm-ar \ | ||||||
|     CC=${CROSS_ROOT}/bin/clang \ |     CC=${CROSS_ROOT}/bin/clang \ | ||||||
|   | |||||||
| @@ -4,7 +4,6 @@ RUN apt-get update && apt-get install -y unzip | |||||||
|  |  | ||||||
| ENV CROSS_TRIPLE=x86_64-linux-android | ENV CROSS_TRIPLE=x86_64-linux-android | ||||||
| ENV CROSS_ROOT=/usr/${CROSS_TRIPLE} | ENV CROSS_ROOT=/usr/${CROSS_TRIPLE} | ||||||
| ENV ANDROID_NDK=${CROSS_ROOT} |  | ||||||
| ENV AS=${CROSS_ROOT}/bin/llvm-as \ | ENV AS=${CROSS_ROOT}/bin/llvm-as \ | ||||||
|     AR=${CROSS_ROOT}/bin/llvm-ar \ |     AR=${CROSS_ROOT}/bin/llvm-ar \ | ||||||
|     CC=${CROSS_ROOT}/bin/clang \ |     CC=${CROSS_ROOT}/bin/clang \ | ||||||
|   | |||||||
| @@ -47,9 +47,9 @@ source $MY_DIR/utils.sh | |||||||
| # copied from https://github.com/pypa/manylinux/tree/master/docker/build_scripts | # copied from https://github.com/pypa/manylinux/tree/master/docker/build_scripts | ||||||
| # | # | ||||||
|  |  | ||||||
| OPENSSL_ROOT=openssl-1.1.1l | OPENSSL_ROOT=openssl-1.1.1i | ||||||
| # Hash from https://www.openssl.org/source/openssl-1.1.1l.tar.gz.sha256 | # Hash from https://www.openssl.org/source/openssl-1.1.1i.tar.gz.sha256 | ||||||
| OPENSSL_HASH=0b7a3e5e59c34827fe0c3a74b7ec8baef302b98fa80088d7f9153aa16fa76bd1 | OPENSSL_HASH=e8be6a35fe41d10603c3cc635e93289ed00bf34b79671a3a4de64fcee00d5242 | ||||||
| OPENSSL_DOWNLOAD_URL=http://www.openssl.org/source/ | OPENSSL_DOWNLOAD_URL=http://www.openssl.org/source/ | ||||||
|  |  | ||||||
| # a recent enough perl is needed to build openssl | # a recent enough perl is needed to build openssl | ||||||
|   | |||||||
| @@ -588,7 +588,7 @@ CT_CC_GCC_TM_CLONE_REGISTRY=m | |||||||
| # CT_CC_GCC_DISABLE_PCH is not set | # CT_CC_GCC_DISABLE_PCH is not set | ||||||
| CT_CC_GCC_SJLJ_EXCEPTIONS=m | CT_CC_GCC_SJLJ_EXCEPTIONS=m | ||||||
| CT_CC_GCC_LDBL_128=m | CT_CC_GCC_LDBL_128=m | ||||||
| CT_CC_GCC_BUILD_ID=y | # CT_CC_GCC_BUILD_ID is not set | ||||||
| CT_CC_GCC_LNK_HASH_STYLE_DEFAULT=y | CT_CC_GCC_LNK_HASH_STYLE_DEFAULT=y | ||||||
| # CT_CC_GCC_LNK_HASH_STYLE_SYSV is not set | # CT_CC_GCC_LNK_HASH_STYLE_SYSV is not set | ||||||
| # CT_CC_GCC_LNK_HASH_STYLE_GNU is not set | # CT_CC_GCC_LNK_HASH_STYLE_GNU is not set | ||||||
|   | |||||||
| @@ -6,8 +6,8 @@ MAINTAINER Matt McCormick "matt.mccormick@kitware.com" | |||||||
| # musleabi as default glibc | # musleabi as default glibc | ||||||
|  |  | ||||||
| # We use a git commit while waiting for 1.25 to release (1.24 is several years old) | # We use a git commit while waiting for 1.25 to release (1.24 is several years old) | ||||||
| # crosstool-ng master 2021-09-20 | # crosstool-ng master 2021-08-04 | ||||||
| ENV CT_VERSION 5f5a22f7a7307790ec571d0c5acf8790416964e6 | ENV CT_VERSION d47b234152980a09196355b77a12cb425f3f1d2e | ||||||
|  |  | ||||||
| #include "common.crosstool" | #include "common.crosstool" | ||||||
|  |  | ||||||
|   | |||||||
| @@ -1,6 +1,6 @@ | |||||||
| # | # | ||||||
| # Automatically generated file; DO NOT EDIT. | # Automatically generated file; DO NOT EDIT. | ||||||
| # crosstool-NG 1.24.0.450_5f5a22f Configuration | # crosstool-NG 1.24.0.385_9e10cb6 Configuration | ||||||
| # | # | ||||||
| CT_CONFIGURE_has_static_link=y | CT_CONFIGURE_has_static_link=y | ||||||
| CT_CONFIGURE_has_cxx11=y | CT_CONFIGURE_has_cxx11=y | ||||||
| @@ -20,13 +20,14 @@ CT_CONFIGURE_has_python_3_4_or_newer=y | |||||||
| CT_CONFIGURE_has_bison_2_7_or_newer=y | CT_CONFIGURE_has_bison_2_7_or_newer=y | ||||||
| CT_CONFIGURE_has_python=y | CT_CONFIGURE_has_python=y | ||||||
| CT_CONFIGURE_has_dtc=y | CT_CONFIGURE_has_dtc=y | ||||||
|  | CT_CONFIGURE_has_cvs=y | ||||||
| CT_CONFIGURE_has_git=y | CT_CONFIGURE_has_git=y | ||||||
| CT_CONFIGURE_has_md5sum=y | CT_CONFIGURE_has_md5sum=y | ||||||
| CT_CONFIGURE_has_sha1sum=y | CT_CONFIGURE_has_sha1sum=y | ||||||
| CT_CONFIGURE_has_sha256sum=y | CT_CONFIGURE_has_sha256sum=y | ||||||
| CT_CONFIGURE_has_sha512sum=y | CT_CONFIGURE_has_sha512sum=y | ||||||
| CT_CONFIGURE_has_install_with_strip_program=y | CT_CONFIGURE_has_install_with_strip_program=y | ||||||
| CT_VERSION="1.24.0.450_5f5a22f" | CT_VERSION="1.24.0.385_9e10cb6" | ||||||
| CT_VCHECK="" | CT_VCHECK="" | ||||||
| CT_CONFIG_VERSION_ENV="3" | CT_CONFIG_VERSION_ENV="3" | ||||||
| CT_CONFIG_VERSION_CURRENT="3" | CT_CONFIG_VERSION_CURRENT="3" | ||||||
| @@ -102,7 +103,6 @@ CT_PARALLEL_JOBS=0 | |||||||
| CT_LOAD="" | CT_LOAD="" | ||||||
| CT_USE_PIPES=y | CT_USE_PIPES=y | ||||||
| CT_EXTRA_CFLAGS_FOR_BUILD="" | CT_EXTRA_CFLAGS_FOR_BUILD="" | ||||||
| CT_EXTRA_CXXFLAGS_FOR_BUILD="" |  | ||||||
| CT_EXTRA_LDFLAGS_FOR_BUILD="" | CT_EXTRA_LDFLAGS_FOR_BUILD="" | ||||||
| CT_EXTRA_CFLAGS_FOR_HOST="" | CT_EXTRA_CFLAGS_FOR_HOST="" | ||||||
| CT_EXTRA_LDFLAGS_FOR_HOST="" | CT_EXTRA_LDFLAGS_FOR_HOST="" | ||||||
| @@ -288,9 +288,7 @@ CT_LINUX_PATCH_GLOBAL=y | |||||||
| # CT_LINUX_PATCH_LOCAL_BUNDLED is not set | # CT_LINUX_PATCH_LOCAL_BUNDLED is not set | ||||||
| # CT_LINUX_PATCH_NONE is not set | # CT_LINUX_PATCH_NONE is not set | ||||||
| CT_LINUX_PATCH_ORDER="global" | CT_LINUX_PATCH_ORDER="global" | ||||||
| CT_LINUX_V_5_14=y | CT_LINUX_V_5_12=y | ||||||
| # CT_LINUX_V_5_13 is not set |  | ||||||
| # CT_LINUX_V_5_12 is not set |  | ||||||
| # CT_LINUX_V_5_11 is not set | # CT_LINUX_V_5_11 is not set | ||||||
| # CT_LINUX_V_5_10 is not set | # CT_LINUX_V_5_10 is not set | ||||||
| # CT_LINUX_V_5_9 is not set | # CT_LINUX_V_5_9 is not set | ||||||
| @@ -322,7 +320,7 @@ CT_LINUX_V_5_14=y | |||||||
| # CT_LINUX_V_3_4 is not set | # CT_LINUX_V_3_4 is not set | ||||||
| # CT_LINUX_V_3_2 is not set | # CT_LINUX_V_3_2 is not set | ||||||
| # CT_LINUX_V_2_6_32 is not set | # CT_LINUX_V_2_6_32 is not set | ||||||
| CT_LINUX_VERSION="5.14.1" | CT_LINUX_VERSION="5.12.12" | ||||||
| CT_LINUX_MIRRORS="$(CT_Mirrors kernel.org linux ${CT_LINUX_VERSION})" | CT_LINUX_MIRRORS="$(CT_Mirrors kernel.org linux ${CT_LINUX_VERSION})" | ||||||
| CT_LINUX_ARCHIVE_FILENAME="@{pkg_name}-@{version}" | CT_LINUX_ARCHIVE_FILENAME="@{pkg_name}-@{version}" | ||||||
| CT_LINUX_ARCHIVE_DIRNAME="@{pkg_name}-@{version}" | CT_LINUX_ARCHIVE_DIRNAME="@{pkg_name}-@{version}" | ||||||
| @@ -375,8 +373,7 @@ CT_BINUTILS_PATCH_GLOBAL=y | |||||||
| # CT_BINUTILS_PATCH_LOCAL_BUNDLED is not set | # CT_BINUTILS_PATCH_LOCAL_BUNDLED is not set | ||||||
| # CT_BINUTILS_PATCH_NONE is not set | # CT_BINUTILS_PATCH_NONE is not set | ||||||
| CT_BINUTILS_PATCH_ORDER="global" | CT_BINUTILS_PATCH_ORDER="global" | ||||||
| CT_BINUTILS_V_2_37=y | CT_BINUTILS_V_2_36=y | ||||||
| # CT_BINUTILS_V_2_36 is not set |  | ||||||
| # CT_BINUTILS_V_2_35 is not set | # CT_BINUTILS_V_2_35 is not set | ||||||
| # CT_BINUTILS_V_2_34 is not set | # CT_BINUTILS_V_2_34 is not set | ||||||
| # CT_BINUTILS_V_2_33 is not set | # CT_BINUTILS_V_2_33 is not set | ||||||
| @@ -387,7 +384,7 @@ CT_BINUTILS_V_2_37=y | |||||||
| # CT_BINUTILS_V_2_28 is not set | # CT_BINUTILS_V_2_28 is not set | ||||||
| # CT_BINUTILS_V_2_27 is not set | # CT_BINUTILS_V_2_27 is not set | ||||||
| # CT_BINUTILS_V_2_26 is not set | # CT_BINUTILS_V_2_26 is not set | ||||||
| CT_BINUTILS_VERSION="2.37" | CT_BINUTILS_VERSION="2.36.1" | ||||||
| CT_BINUTILS_MIRRORS="$(CT_Mirrors GNU binutils) $(CT_Mirrors sourceware binutils/releases)" | CT_BINUTILS_MIRRORS="$(CT_Mirrors GNU binutils) $(CT_Mirrors sourceware binutils/releases)" | ||||||
| CT_BINUTILS_ARCHIVE_FILENAME="@{pkg_name}-@{version}" | CT_BINUTILS_ARCHIVE_FILENAME="@{pkg_name}-@{version}" | ||||||
| CT_BINUTILS_ARCHIVE_DIRNAME="@{pkg_name}-@{version}" | CT_BINUTILS_ARCHIVE_DIRNAME="@{pkg_name}-@{version}" | ||||||
| @@ -540,7 +537,7 @@ CT_GCC_V_11=y | |||||||
| # CT_GCC_V_6 is not set | # CT_GCC_V_6 is not set | ||||||
| # CT_GCC_V_5 is not set | # CT_GCC_V_5 is not set | ||||||
| # CT_GCC_V_4_9 is not set | # CT_GCC_V_4_9 is not set | ||||||
| CT_GCC_VERSION="11.2.0" | CT_GCC_VERSION="11.1.0" | ||||||
| CT_GCC_MIRRORS="$(CT_Mirrors GNU gcc/gcc-${CT_GCC_VERSION}) $(CT_Mirrors sourceware gcc/releases/gcc-${CT_GCC_VERSION})" | CT_GCC_MIRRORS="$(CT_Mirrors GNU gcc/gcc-${CT_GCC_VERSION}) $(CT_Mirrors sourceware gcc/releases/gcc-${CT_GCC_VERSION})" | ||||||
| CT_GCC_ARCHIVE_FILENAME="@{pkg_name}-@{version}" | CT_GCC_ARCHIVE_FILENAME="@{pkg_name}-@{version}" | ||||||
| CT_GCC_ARCHIVE_DIRNAME="@{pkg_name}-@{version}" | CT_GCC_ARCHIVE_DIRNAME="@{pkg_name}-@{version}" | ||||||
| @@ -579,7 +576,6 @@ CT_CC_GCC_CONFIG_TLS=m | |||||||
| # | # | ||||||
| CT_CC_GCC_USE_GRAPHITE=y | CT_CC_GCC_USE_GRAPHITE=y | ||||||
| CT_CC_GCC_USE_LTO=y | CT_CC_GCC_USE_LTO=y | ||||||
| CT_CC_GCC_LTO_ZSTD=m |  | ||||||
|  |  | ||||||
| # | # | ||||||
| # Settings for libraries running on target | # Settings for libraries running on target | ||||||
| @@ -626,7 +622,29 @@ CT_CC_LANG_OTHERS="" | |||||||
| # | # | ||||||
| # Debug facilities | # Debug facilities | ||||||
| # | # | ||||||
| # CT_DEBUG_DUMA is not set | CT_DEBUG_DUMA=y | ||||||
|  | CT_DEBUG_DUMA_PKG_KSYM="DUMA" | ||||||
|  | CT_DUMA_DIR_NAME="duma" | ||||||
|  | CT_DUMA_PKG_NAME="duma" | ||||||
|  | CT_DUMA_SRC_RELEASE=y | ||||||
|  | # CT_DUMA_SRC_DEVEL is not set | ||||||
|  | # CT_DUMA_SRC_CUSTOM is not set | ||||||
|  | CT_DUMA_PATCH_GLOBAL=y | ||||||
|  | # CT_DUMA_PATCH_BUNDLED is not set | ||||||
|  | # CT_DUMA_PATCH_LOCAL is not set | ||||||
|  | # CT_DUMA_PATCH_BUNDLED_LOCAL is not set | ||||||
|  | # CT_DUMA_PATCH_LOCAL_BUNDLED is not set | ||||||
|  | # CT_DUMA_PATCH_NONE is not set | ||||||
|  | CT_DUMA_PATCH_ORDER="global" | ||||||
|  | CT_DUMA_V_2_5_15=y | ||||||
|  | CT_DUMA_VERSION="2_5_15" | ||||||
|  | CT_DUMA_MIRRORS="http://downloads.sourceforge.net/project/duma/duma/${CT_DUMA_VERSION//_/.}" | ||||||
|  | CT_DUMA_ARCHIVE_FILENAME="@{pkg_name}_@{version}" | ||||||
|  | CT_DUMA_ARCHIVE_DIRNAME="@{pkg_name}_@{version}" | ||||||
|  | CT_DUMA_ARCHIVE_FORMATS=".tar.gz .zip" | ||||||
|  | CT_DUMA_SIGNATURE_FORMAT="" | ||||||
|  | CT_DUMA_SO=y | ||||||
|  | CT_DUMA_CUSTOM_WRAPPER=y | ||||||
| CT_DEBUG_GDB=y | CT_DEBUG_GDB=y | ||||||
| CT_DEBUG_GDB_PKG_KSYM="GDB" | CT_DEBUG_GDB_PKG_KSYM="GDB" | ||||||
| CT_GDB_DIR_NAME="gdb" | CT_GDB_DIR_NAME="gdb" | ||||||
| @@ -643,22 +661,19 @@ CT_GDB_PATCH_GLOBAL=y | |||||||
| # CT_GDB_PATCH_LOCAL_BUNDLED is not set | # CT_GDB_PATCH_LOCAL_BUNDLED is not set | ||||||
| # CT_GDB_PATCH_NONE is not set | # CT_GDB_PATCH_NONE is not set | ||||||
| CT_GDB_PATCH_ORDER="global" | CT_GDB_PATCH_ORDER="global" | ||||||
| CT_GDB_V_10_2=y | CT_GDB_V_9_2=y | ||||||
| # CT_GDB_V_9_2 is not set |  | ||||||
| # CT_GDB_V_8_3 is not set | # CT_GDB_V_8_3 is not set | ||||||
| # CT_GDB_V_8_2 is not set | # CT_GDB_V_8_2 is not set | ||||||
| # CT_GDB_V_8_1 is not set | # CT_GDB_V_8_1 is not set | ||||||
| # CT_GDB_V_8_0 is not set | # CT_GDB_V_8_0 is not set | ||||||
| # CT_GDB_V_7_12 is not set | # CT_GDB_V_7_12 is not set | ||||||
| # CT_GDB_V_7_11 is not set | # CT_GDB_V_7_11 is not set | ||||||
| CT_GDB_VERSION="10.2" | CT_GDB_VERSION="9.2" | ||||||
| CT_GDB_MIRRORS="$(CT_Mirrors GNU gdb) $(CT_Mirrors sourceware gdb/releases)" | CT_GDB_MIRRORS="$(CT_Mirrors GNU gdb) $(CT_Mirrors sourceware gdb/releases)" | ||||||
| CT_GDB_ARCHIVE_FILENAME="@{pkg_name}-@{version}" | CT_GDB_ARCHIVE_FILENAME="@{pkg_name}-@{version}" | ||||||
| CT_GDB_ARCHIVE_DIRNAME="@{pkg_name}-@{version}" | CT_GDB_ARCHIVE_DIRNAME="@{pkg_name}-@{version}" | ||||||
| CT_GDB_ARCHIVE_FORMATS=".tar.xz .tar.gz" | CT_GDB_ARCHIVE_FORMATS=".tar.xz .tar.gz" | ||||||
| CT_GDB_SIGNATURE_FORMAT="" | CT_GDB_SIGNATURE_FORMAT="" | ||||||
| CT_GDB_10_2_or_later=y |  | ||||||
| CT_GDB_10_2_or_older=y |  | ||||||
| CT_GDB_later_than_8_3=y | CT_GDB_later_than_8_3=y | ||||||
| CT_GDB_8_3_or_later=y | CT_GDB_8_3_or_later=y | ||||||
| CT_GDB_later_than_8_0=y | CT_GDB_later_than_8_0=y | ||||||
| @@ -672,9 +687,10 @@ CT_GDB_7_0_or_later=y | |||||||
| CT_GDB_CROSS=y | CT_GDB_CROSS=y | ||||||
| # CT_GDB_CROSS_STATIC is not set | # CT_GDB_CROSS_STATIC is not set | ||||||
| # CT_GDB_CROSS_SIM is not set | # CT_GDB_CROSS_SIM is not set | ||||||
| # CT_GDB_CROSS_PYTHON is not set | CT_GDB_CROSS_PYTHON=y | ||||||
|  | CT_GDB_CROSS_PYTHON_BINARY="" | ||||||
| CT_GDB_CROSS_EXTRA_CONFIG_ARRAY="" | CT_GDB_CROSS_EXTRA_CONFIG_ARRAY="" | ||||||
| # CT_GDB_NATIVE is not set | CT_GDB_NATIVE=y | ||||||
| CT_GDB_GDBSERVER=y | CT_GDB_GDBSERVER=y | ||||||
| # CT_GDB_NATIVE_STATIC is not set | # CT_GDB_NATIVE_STATIC is not set | ||||||
| # CT_GDB_NATIVE_STATIC_LIBSTDCXX is not set | # CT_GDB_NATIVE_STATIC_LIBSTDCXX is not set | ||||||
| @@ -682,9 +698,51 @@ CT_GDB_HAS_PKGVERSION_BUGURL=y | |||||||
| CT_GDB_HAS_PYTHON=y | CT_GDB_HAS_PYTHON=y | ||||||
| CT_GDB_INSTALL_GDBINIT=y | CT_GDB_INSTALL_GDBINIT=y | ||||||
| CT_GDB_HAS_IPA_LIB=y | CT_GDB_HAS_IPA_LIB=y | ||||||
| CT_GDB_GDBSERVER_TOPLEVEL=y |  | ||||||
| # CT_DEBUG_LTRACE is not set | # CT_DEBUG_LTRACE is not set | ||||||
| # CT_DEBUG_STRACE is not set | CT_DEBUG_STRACE=y | ||||||
|  | CT_DEBUG_STRACE_PKG_KSYM="STRACE" | ||||||
|  | CT_STRACE_DIR_NAME="strace" | ||||||
|  | CT_STRACE_PKG_NAME="strace" | ||||||
|  | CT_STRACE_SRC_RELEASE=y | ||||||
|  | # CT_STRACE_SRC_DEVEL is not set | ||||||
|  | # CT_STRACE_SRC_CUSTOM is not set | ||||||
|  | CT_STRACE_PATCH_GLOBAL=y | ||||||
|  | # CT_STRACE_PATCH_BUNDLED is not set | ||||||
|  | # CT_STRACE_PATCH_LOCAL is not set | ||||||
|  | # CT_STRACE_PATCH_BUNDLED_LOCAL is not set | ||||||
|  | # CT_STRACE_PATCH_LOCAL_BUNDLED is not set | ||||||
|  | # CT_STRACE_PATCH_NONE is not set | ||||||
|  | CT_STRACE_PATCH_ORDER="global" | ||||||
|  | CT_STRACE_V_5_11=y | ||||||
|  | # CT_STRACE_V_5_10 is not set | ||||||
|  | # CT_STRACE_V_5_9 is not set | ||||||
|  | # CT_STRACE_V_5_8 is not set | ||||||
|  | # CT_STRACE_V_5_7 is not set | ||||||
|  | # CT_STRACE_V_5_6 is not set | ||||||
|  | # CT_STRACE_V_5_5 is not set | ||||||
|  | # CT_STRACE_V_5_4 is not set | ||||||
|  | # CT_STRACE_V_5_3 is not set | ||||||
|  | # CT_STRACE_V_5_2 is not set | ||||||
|  | # CT_STRACE_V_5_1 is not set | ||||||
|  | # CT_STRACE_V_5_0 is not set | ||||||
|  | # CT_STRACE_V_4_26 is not set | ||||||
|  | # CT_STRACE_V_4_25 is not set | ||||||
|  | # CT_STRACE_V_4_24 is not set | ||||||
|  | # CT_STRACE_V_4_23 is not set | ||||||
|  | # CT_STRACE_V_4_22 is not set | ||||||
|  | # CT_STRACE_V_4_21 is not set | ||||||
|  | # CT_STRACE_V_4_20 is not set | ||||||
|  | # CT_STRACE_V_4_19 is not set | ||||||
|  | # CT_STRACE_V_4_18 is not set | ||||||
|  | # CT_STRACE_V_4_17 is not set | ||||||
|  | # CT_STRACE_V_4_16 is not set | ||||||
|  | # CT_STRACE_V_4_15 is not set | ||||||
|  | CT_STRACE_VERSION="5.11" | ||||||
|  | CT_STRACE_MIRRORS="https://strace.io/files/${CT_STRACE_VERSION} https://github.com/strace/strace/releases/download/v${CT_STRACE_VERSION}" | ||||||
|  | CT_STRACE_ARCHIVE_FILENAME="@{pkg_name}-@{version}" | ||||||
|  | CT_STRACE_ARCHIVE_DIRNAME="@{pkg_name}-@{version}" | ||||||
|  | CT_STRACE_ARCHIVE_FORMATS=".tar.xz" | ||||||
|  | CT_STRACE_SIGNATURE_FORMAT="" | ||||||
| CT_ALL_DEBUG_CHOICES="DUMA GDB LTRACE STRACE" | CT_ALL_DEBUG_CHOICES="DUMA GDB LTRACE STRACE" | ||||||
| # end of Debug facilities | # end of Debug facilities | ||||||
|  |  | ||||||
| @@ -898,7 +956,9 @@ CT_MPFR_NEEDED=y | |||||||
| CT_ISL_NEEDED=y | CT_ISL_NEEDED=y | ||||||
| CT_MPC_NEEDED=y | CT_MPC_NEEDED=y | ||||||
| CT_EXPAT_NEEDED=y | CT_EXPAT_NEEDED=y | ||||||
|  | CT_EXPAT_TARGET=y | ||||||
| CT_NCURSES_NEEDED=y | CT_NCURSES_NEEDED=y | ||||||
|  | CT_NCURSES_TARGET=y | ||||||
| CT_ZLIB_NEEDED=y | CT_ZLIB_NEEDED=y | ||||||
| CT_GMP=y | CT_GMP=y | ||||||
| CT_MPFR=y | CT_MPFR=y | ||||||
|   | |||||||
| @@ -3,8 +3,8 @@ MAINTAINER Matt McCormick "matt.mccormick@kitware.com" | |||||||
|  |  | ||||||
| # Crosstool-ng version | # Crosstool-ng version | ||||||
| # We use a git commit while waiting for 1.25 to release (1.24 is several years old) | # We use a git commit while waiting for 1.25 to release (1.24 is several years old) | ||||||
| # crosstool-ng master 2021-09-17 | # crosstool-ng master 2021-08-18 | ||||||
| ENV CT_VERSION 7daa182506baf30adb35752369cf352ac2383c3b | ENV CT_VERSION 358945ff2219e37d280532522d2c62309614d162 | ||||||
|  |  | ||||||
| # This is for 32-bit ARMv6 Linux | # This is for 32-bit ARMv6 Linux | ||||||
| # Raspberry Pi is ARMv6+VFP2 | # Raspberry Pi is ARMv6+VFP2 | ||||||
|   | |||||||
| @@ -1,6 +1,6 @@ | |||||||
| # | # | ||||||
| # Automatically generated file; DO NOT EDIT. | # Automatically generated file; DO NOT EDIT. | ||||||
| # crosstool-NG 1.24.0.446_7daa182 Configuration | # crosstool-NG 1.24.0.409_d47b234 Configuration | ||||||
| # | # | ||||||
| CT_CONFIGURE_has_static_link=y | CT_CONFIGURE_has_static_link=y | ||||||
| CT_CONFIGURE_has_cxx11=y | CT_CONFIGURE_has_cxx11=y | ||||||
| @@ -20,13 +20,14 @@ CT_CONFIGURE_has_python_3_4_or_newer=y | |||||||
| CT_CONFIGURE_has_bison_2_7_or_newer=y | CT_CONFIGURE_has_bison_2_7_or_newer=y | ||||||
| CT_CONFIGURE_has_python=y | CT_CONFIGURE_has_python=y | ||||||
| CT_CONFIGURE_has_dtc=y | CT_CONFIGURE_has_dtc=y | ||||||
|  | CT_CONFIGURE_has_cvs=y | ||||||
| CT_CONFIGURE_has_git=y | CT_CONFIGURE_has_git=y | ||||||
| CT_CONFIGURE_has_md5sum=y | CT_CONFIGURE_has_md5sum=y | ||||||
| CT_CONFIGURE_has_sha1sum=y | CT_CONFIGURE_has_sha1sum=y | ||||||
| CT_CONFIGURE_has_sha256sum=y | CT_CONFIGURE_has_sha256sum=y | ||||||
| CT_CONFIGURE_has_sha512sum=y | CT_CONFIGURE_has_sha512sum=y | ||||||
| CT_CONFIGURE_has_install_with_strip_program=y | CT_CONFIGURE_has_install_with_strip_program=y | ||||||
| CT_VERSION="1.24.0.446_7daa182" | CT_VERSION="1.24.0.409_d47b234" | ||||||
| CT_VCHECK="" | CT_VCHECK="" | ||||||
| CT_CONFIG_VERSION_ENV="3" | CT_CONFIG_VERSION_ENV="3" | ||||||
| CT_CONFIG_VERSION_CURRENT="3" | CT_CONFIG_VERSION_CURRENT="3" | ||||||
| @@ -269,11 +270,10 @@ CT_LINUX_PKG_NAME="linux" | |||||||
| CT_LINUX_SRC_RELEASE=y | CT_LINUX_SRC_RELEASE=y | ||||||
| # CT_LINUX_SRC_DEVEL is not set | # CT_LINUX_SRC_DEVEL is not set | ||||||
| CT_LINUX_PATCH_ORDER="global" | CT_LINUX_PATCH_ORDER="global" | ||||||
| # CT_LINUX_V_5_14 is not set | CT_LINUX_V_5_13=y | ||||||
| # CT_LINUX_V_5_13 is not set |  | ||||||
| # CT_LINUX_V_5_12 is not set | # CT_LINUX_V_5_12 is not set | ||||||
| # CT_LINUX_V_5_11 is not set | # CT_LINUX_V_5_11 is not set | ||||||
| CT_LINUX_V_5_10=y | # CT_LINUX_V_5_10 is not set | ||||||
| # CT_LINUX_V_5_9 is not set | # CT_LINUX_V_5_9 is not set | ||||||
| # CT_LINUX_V_5_8 is not set | # CT_LINUX_V_5_8 is not set | ||||||
| # CT_LINUX_V_5_7 is not set | # CT_LINUX_V_5_7 is not set | ||||||
| @@ -302,7 +302,7 @@ CT_LINUX_V_5_10=y | |||||||
| # CT_LINUX_V_3_10 is not set | # CT_LINUX_V_3_10 is not set | ||||||
| # CT_LINUX_V_3_4 is not set | # CT_LINUX_V_3_4 is not set | ||||||
| # CT_LINUX_V_3_2 is not set | # CT_LINUX_V_3_2 is not set | ||||||
| CT_LINUX_VERSION="5.10.62" | CT_LINUX_VERSION="5.13.1" | ||||||
| CT_LINUX_MIRRORS="$(CT_Mirrors kernel.org linux ${CT_LINUX_VERSION})" | CT_LINUX_MIRRORS="$(CT_Mirrors kernel.org linux ${CT_LINUX_VERSION})" | ||||||
| CT_LINUX_ARCHIVE_FILENAME="@{pkg_name}-@{version}" | CT_LINUX_ARCHIVE_FILENAME="@{pkg_name}-@{version}" | ||||||
| CT_LINUX_ARCHIVE_DIRNAME="@{pkg_name}-@{version}" | CT_LINUX_ARCHIVE_DIRNAME="@{pkg_name}-@{version}" | ||||||
| @@ -349,7 +349,6 @@ CT_BINUTILS_PKG_NAME="binutils" | |||||||
| CT_BINUTILS_SRC_RELEASE=y | CT_BINUTILS_SRC_RELEASE=y | ||||||
| # CT_BINUTILS_SRC_DEVEL is not set | # CT_BINUTILS_SRC_DEVEL is not set | ||||||
| CT_BINUTILS_PATCH_ORDER="global" | CT_BINUTILS_PATCH_ORDER="global" | ||||||
| # CT_BINUTILS_V_2_37 is not set |  | ||||||
| CT_BINUTILS_V_2_36=y | CT_BINUTILS_V_2_36=y | ||||||
| # CT_BINUTILS_V_2_35 is not set | # CT_BINUTILS_V_2_35 is not set | ||||||
| # CT_BINUTILS_V_2_34 is not set | # CT_BINUTILS_V_2_34 is not set | ||||||
| @@ -425,7 +424,6 @@ CT_GLIBC_PKG_NAME="glibc" | |||||||
| CT_GLIBC_SRC_RELEASE=y | CT_GLIBC_SRC_RELEASE=y | ||||||
| # CT_GLIBC_SRC_DEVEL is not set | # CT_GLIBC_SRC_DEVEL is not set | ||||||
| CT_GLIBC_PATCH_ORDER="global" | CT_GLIBC_PATCH_ORDER="global" | ||||||
| # CT_GLIBC_V_2_34 is not set |  | ||||||
| # CT_GLIBC_V_2_33 is not set | # CT_GLIBC_V_2_33 is not set | ||||||
| # CT_GLIBC_V_2_32 is not set | # CT_GLIBC_V_2_32 is not set | ||||||
| # CT_GLIBC_V_2_31 is not set | # CT_GLIBC_V_2_31 is not set | ||||||
| @@ -541,26 +539,26 @@ CT_GCC_PKG_NAME="gcc" | |||||||
| CT_GCC_SRC_RELEASE=y | CT_GCC_SRC_RELEASE=y | ||||||
| # CT_GCC_SRC_DEVEL is not set | # CT_GCC_SRC_DEVEL is not set | ||||||
| CT_GCC_PATCH_ORDER="global" | CT_GCC_PATCH_ORDER="global" | ||||||
| # CT_GCC_V_11 is not set | CT_GCC_V_11=y | ||||||
| # CT_GCC_V_10 is not set | # CT_GCC_V_10 is not set | ||||||
| # CT_GCC_V_9 is not set | # CT_GCC_V_9 is not set | ||||||
| CT_GCC_V_8=y | # CT_GCC_V_8 is not set | ||||||
| # CT_GCC_V_7 is not set | # CT_GCC_V_7 is not set | ||||||
| # CT_GCC_V_6 is not set | # CT_GCC_V_6 is not set | ||||||
| # CT_GCC_V_5 is not set | # CT_GCC_V_5 is not set | ||||||
| # CT_GCC_V_4_9 is not set | # CT_GCC_V_4_9 is not set | ||||||
| CT_GCC_VERSION="8.5.0" | CT_GCC_VERSION="11.2.0" | ||||||
| CT_GCC_MIRRORS="$(CT_Mirrors GNU gcc/gcc-${CT_GCC_VERSION}) $(CT_Mirrors sourceware gcc/releases/gcc-${CT_GCC_VERSION})" | CT_GCC_MIRRORS="$(CT_Mirrors GNU gcc/gcc-${CT_GCC_VERSION}) $(CT_Mirrors sourceware gcc/releases/gcc-${CT_GCC_VERSION})" | ||||||
| CT_GCC_ARCHIVE_FILENAME="@{pkg_name}-@{version}" | CT_GCC_ARCHIVE_FILENAME="@{pkg_name}-@{version}" | ||||||
| CT_GCC_ARCHIVE_DIRNAME="@{pkg_name}-@{version}" | CT_GCC_ARCHIVE_DIRNAME="@{pkg_name}-@{version}" | ||||||
| CT_GCC_ARCHIVE_FORMATS=".tar.xz .tar.gz" | CT_GCC_ARCHIVE_FORMATS=".tar.xz .tar.gz" | ||||||
| CT_GCC_SIGNATURE_FORMAT="" | CT_GCC_SIGNATURE_FORMAT="" | ||||||
| CT_GCC_11_or_older=y | CT_GCC_later_than_11=y | ||||||
| CT_GCC_older_than_11=y | CT_GCC_11_or_later=y | ||||||
| CT_GCC_10_or_older=y | CT_GCC_later_than_10=y | ||||||
| CT_GCC_older_than_10=y | CT_GCC_10_or_later=y | ||||||
| CT_GCC_9_or_older=y | CT_GCC_later_than_9=y | ||||||
| CT_GCC_older_than_9=y | CT_GCC_9_or_later=y | ||||||
| CT_GCC_later_than_8=y | CT_GCC_later_than_8=y | ||||||
| CT_GCC_8_or_later=y | CT_GCC_8_or_later=y | ||||||
| CT_GCC_later_than_7=y | CT_GCC_later_than_7=y | ||||||
| @@ -604,6 +602,7 @@ CT_CC_GCC_LIBSANITIZER=y | |||||||
| # Misc. obscure options. | # Misc. obscure options. | ||||||
| # | # | ||||||
| CT_CC_CXA_ATEXIT=y | CT_CC_CXA_ATEXIT=y | ||||||
|  | CT_CC_GCC_TM_CLONE_REGISTRY=m | ||||||
| CT_CC_GCC_DISABLE_PCH=y | CT_CC_GCC_DISABLE_PCH=y | ||||||
| CT_CC_GCC_SJLJ_EXCEPTIONS=m | CT_CC_GCC_SJLJ_EXCEPTIONS=m | ||||||
| CT_CC_GCC_LDBL_128=m | CT_CC_GCC_LDBL_128=m | ||||||
| @@ -640,7 +639,6 @@ CT_GDB_PKG_NAME="gdb" | |||||||
| CT_GDB_SRC_RELEASE=y | CT_GDB_SRC_RELEASE=y | ||||||
| # CT_GDB_SRC_DEVEL is not set | # CT_GDB_SRC_DEVEL is not set | ||||||
| CT_GDB_PATCH_ORDER="global" | CT_GDB_PATCH_ORDER="global" | ||||||
| # CT_GDB_V_10_2 is not set |  | ||||||
| CT_GDB_V_9_2=y | CT_GDB_V_9_2=y | ||||||
| # CT_GDB_V_8_3 is not set | # CT_GDB_V_8_3 is not set | ||||||
| # CT_GDB_V_8_2 is not set | # CT_GDB_V_8_2 is not set | ||||||
| @@ -654,8 +652,6 @@ CT_GDB_ARCHIVE_FILENAME="@{pkg_name}-@{version}" | |||||||
| CT_GDB_ARCHIVE_DIRNAME="@{pkg_name}-@{version}" | CT_GDB_ARCHIVE_DIRNAME="@{pkg_name}-@{version}" | ||||||
| CT_GDB_ARCHIVE_FORMATS=".tar.xz .tar.gz" | CT_GDB_ARCHIVE_FORMATS=".tar.xz .tar.gz" | ||||||
| CT_GDB_SIGNATURE_FORMAT="" | CT_GDB_SIGNATURE_FORMAT="" | ||||||
| CT_GDB_10_2_or_older=y |  | ||||||
| CT_GDB_older_than_10_2=y |  | ||||||
| CT_GDB_later_than_8_3=y | CT_GDB_later_than_8_3=y | ||||||
| CT_GDB_8_3_or_later=y | CT_GDB_8_3_or_later=y | ||||||
| CT_GDB_later_than_8_0=y | CT_GDB_later_than_8_0=y | ||||||
|   | |||||||
| @@ -603,7 +603,7 @@ CT_CC_GCC_TM_CLONE_REGISTRY=m | |||||||
| # CT_CC_GCC_DISABLE_PCH is not set | # CT_CC_GCC_DISABLE_PCH is not set | ||||||
| CT_CC_GCC_SJLJ_EXCEPTIONS=m | CT_CC_GCC_SJLJ_EXCEPTIONS=m | ||||||
| CT_CC_GCC_LDBL_128=m | CT_CC_GCC_LDBL_128=m | ||||||
| CT_CC_GCC_BUILD_ID=y | # CT_CC_GCC_BUILD_ID is not set | ||||||
| CT_CC_GCC_LNK_HASH_STYLE_DEFAULT=y | CT_CC_GCC_LNK_HASH_STYLE_DEFAULT=y | ||||||
| # CT_CC_GCC_LNK_HASH_STYLE_SYSV is not set | # CT_CC_GCC_LNK_HASH_STYLE_SYSV is not set | ||||||
| # CT_CC_GCC_LNK_HASH_STYLE_GNU is not set | # CT_CC_GCC_LNK_HASH_STYLE_GNU is not set | ||||||
|   | |||||||
| @@ -603,7 +603,7 @@ CT_CC_GCC_TM_CLONE_REGISTRY=m | |||||||
| # CT_CC_GCC_DISABLE_PCH is not set | # CT_CC_GCC_DISABLE_PCH is not set | ||||||
| CT_CC_GCC_SJLJ_EXCEPTIONS=m | CT_CC_GCC_SJLJ_EXCEPTIONS=m | ||||||
| CT_CC_GCC_LDBL_128=m | CT_CC_GCC_LDBL_128=m | ||||||
| CT_CC_GCC_BUILD_ID=y | # CT_CC_GCC_BUILD_ID is not set | ||||||
| CT_CC_GCC_LNK_HASH_STYLE_DEFAULT=y | CT_CC_GCC_LNK_HASH_STYLE_DEFAULT=y | ||||||
| # CT_CC_GCC_LNK_HASH_STYLE_SYSV is not set | # CT_CC_GCC_LNK_HASH_STYLE_SYSV is not set | ||||||
| # CT_CC_GCC_LNK_HASH_STYLE_GNU is not set | # CT_CC_GCC_LNK_HASH_STYLE_GNU is not set | ||||||
|   | |||||||
| @@ -562,7 +562,7 @@ CT_CC_GCC_TM_CLONE_REGISTRY=m | |||||||
| # CT_CC_GCC_DISABLE_PCH is not set | # CT_CC_GCC_DISABLE_PCH is not set | ||||||
| CT_CC_GCC_SJLJ_EXCEPTIONS=m | CT_CC_GCC_SJLJ_EXCEPTIONS=m | ||||||
| CT_CC_GCC_LDBL_128=m | CT_CC_GCC_LDBL_128=m | ||||||
| CT_CC_GCC_BUILD_ID=y | # CT_CC_GCC_BUILD_ID is not set | ||||||
| CT_CC_GCC_LNK_HASH_STYLE_DEFAULT=y | CT_CC_GCC_LNK_HASH_STYLE_DEFAULT=y | ||||||
| # CT_CC_GCC_LNK_HASH_STYLE_SYSV is not set | # CT_CC_GCC_LNK_HASH_STYLE_SYSV is not set | ||||||
| # CT_CC_GCC_LNK_HASH_STYLE_GNU is not set | # CT_CC_GCC_LNK_HASH_STYLE_GNU is not set | ||||||
|   | |||||||
| @@ -582,7 +582,7 @@ CT_CC_GCC_TM_CLONE_REGISTRY=m | |||||||
| # CT_CC_GCC_DISABLE_PCH is not set | # CT_CC_GCC_DISABLE_PCH is not set | ||||||
| CT_CC_GCC_SJLJ_EXCEPTIONS=m | CT_CC_GCC_SJLJ_EXCEPTIONS=m | ||||||
| CT_CC_GCC_LDBL_128=m | CT_CC_GCC_LDBL_128=m | ||||||
| CT_CC_GCC_BUILD_ID=y | # CT_CC_GCC_BUILD_ID is not set | ||||||
| CT_CC_GCC_LNK_HASH_STYLE_DEFAULT=y | CT_CC_GCC_LNK_HASH_STYLE_DEFAULT=y | ||||||
| # CT_CC_GCC_LNK_HASH_STYLE_SYSV is not set | # CT_CC_GCC_LNK_HASH_STYLE_SYSV is not set | ||||||
| # CT_CC_GCC_LNK_HASH_STYLE_GNU is not set | # CT_CC_GCC_LNK_HASH_STYLE_GNU is not set | ||||||
|   | |||||||
| @@ -586,7 +586,7 @@ CT_CC_GCC_TM_CLONE_REGISTRY=m | |||||||
| # CT_CC_GCC_DISABLE_PCH is not set | # CT_CC_GCC_DISABLE_PCH is not set | ||||||
| CT_CC_GCC_SJLJ_EXCEPTIONS=m | CT_CC_GCC_SJLJ_EXCEPTIONS=m | ||||||
| CT_CC_GCC_LDBL_128=m | CT_CC_GCC_LDBL_128=m | ||||||
| CT_CC_GCC_BUILD_ID=y | # CT_CC_GCC_BUILD_ID is not set | ||||||
| CT_CC_GCC_LNK_HASH_STYLE_DEFAULT=y | CT_CC_GCC_LNK_HASH_STYLE_DEFAULT=y | ||||||
| # CT_CC_GCC_LNK_HASH_STYLE_SYSV is not set | # CT_CC_GCC_LNK_HASH_STYLE_SYSV is not set | ||||||
| # CT_CC_GCC_LNK_HASH_STYLE_GNU is not set | # CT_CC_GCC_LNK_HASH_STYLE_GNU is not set | ||||||
|   | |||||||
| @@ -606,7 +606,7 @@ CT_CC_GCC_TM_CLONE_REGISTRY=m | |||||||
| # CT_CC_GCC_DISABLE_PCH is not set | # CT_CC_GCC_DISABLE_PCH is not set | ||||||
| CT_CC_GCC_SJLJ_EXCEPTIONS=m | CT_CC_GCC_SJLJ_EXCEPTIONS=m | ||||||
| CT_CC_GCC_LDBL_128=m | CT_CC_GCC_LDBL_128=m | ||||||
| CT_CC_GCC_BUILD_ID=y | # CT_CC_GCC_BUILD_ID is not set | ||||||
| CT_CC_GCC_LNK_HASH_STYLE_DEFAULT=y | CT_CC_GCC_LNK_HASH_STYLE_DEFAULT=y | ||||||
| # CT_CC_GCC_LNK_HASH_STYLE_SYSV is not set | # CT_CC_GCC_LNK_HASH_STYLE_SYSV is not set | ||||||
| # CT_CC_GCC_LNK_HASH_STYLE_GNU is not set | # CT_CC_GCC_LNK_HASH_STYLE_GNU is not set | ||||||
|   | |||||||
| @@ -606,7 +606,7 @@ CT_CC_GCC_TM_CLONE_REGISTRY=m | |||||||
| # CT_CC_GCC_DISABLE_PCH is not set | # CT_CC_GCC_DISABLE_PCH is not set | ||||||
| CT_CC_GCC_SJLJ_EXCEPTIONS=m | CT_CC_GCC_SJLJ_EXCEPTIONS=m | ||||||
| CT_CC_GCC_LDBL_128=m | CT_CC_GCC_LDBL_128=m | ||||||
| CT_CC_GCC_BUILD_ID=y | # CT_CC_GCC_BUILD_ID is not set | ||||||
| CT_CC_GCC_LNK_HASH_STYLE_DEFAULT=y | CT_CC_GCC_LNK_HASH_STYLE_DEFAULT=y | ||||||
| # CT_CC_GCC_LNK_HASH_STYLE_SYSV is not set | # CT_CC_GCC_LNK_HASH_STYLE_SYSV is not set | ||||||
| # CT_CC_GCC_LNK_HASH_STYLE_GNU is not set | # CT_CC_GCC_LNK_HASH_STYLE_GNU is not set | ||||||
|   | |||||||
| @@ -568,7 +568,7 @@ CT_CC_GCC_TM_CLONE_REGISTRY=m | |||||||
| # CT_CC_GCC_DISABLE_PCH is not set | # CT_CC_GCC_DISABLE_PCH is not set | ||||||
| CT_CC_GCC_SJLJ_EXCEPTIONS=m | CT_CC_GCC_SJLJ_EXCEPTIONS=m | ||||||
| CT_CC_GCC_LDBL_128=m | CT_CC_GCC_LDBL_128=m | ||||||
| CT_CC_GCC_BUILD_ID=y | # CT_CC_GCC_BUILD_ID is not set | ||||||
| CT_CC_GCC_LNK_HASH_STYLE_DEFAULT=y | CT_CC_GCC_LNK_HASH_STYLE_DEFAULT=y | ||||||
| # CT_CC_GCC_LNK_HASH_STYLE_SYSV is not set | # CT_CC_GCC_LNK_HASH_STYLE_SYSV is not set | ||||||
| # CT_CC_GCC_LNK_HASH_STYLE_GNU is not set | # CT_CC_GCC_LNK_HASH_STYLE_GNU is not set | ||||||
|   | |||||||
| @@ -549,7 +549,7 @@ CT_CC_GCC_TM_CLONE_REGISTRY=m | |||||||
| # CT_CC_GCC_DISABLE_PCH is not set | # CT_CC_GCC_DISABLE_PCH is not set | ||||||
| CT_CC_GCC_SJLJ_EXCEPTIONS=m | CT_CC_GCC_SJLJ_EXCEPTIONS=m | ||||||
| CT_CC_GCC_LDBL_128=m | CT_CC_GCC_LDBL_128=m | ||||||
| CT_CC_GCC_BUILD_ID=y | # CT_CC_GCC_BUILD_ID is not set | ||||||
| CT_CC_GCC_LNK_HASH_STYLE_DEFAULT=y | CT_CC_GCC_LNK_HASH_STYLE_DEFAULT=y | ||||||
| # CT_CC_GCC_LNK_HASH_STYLE_SYSV is not set | # CT_CC_GCC_LNK_HASH_STYLE_SYSV is not set | ||||||
| # CT_CC_GCC_LNK_HASH_STYLE_GNU is not set | # CT_CC_GCC_LNK_HASH_STYLE_GNU is not set | ||||||
|   | |||||||
| @@ -398,7 +398,7 @@ CT_CC_CXA_ATEXIT=y | |||||||
| # CT_CC_GCC_DISABLE_PCH is not set | # CT_CC_GCC_DISABLE_PCH is not set | ||||||
| CT_CC_GCC_SJLJ_EXCEPTIONS=m | CT_CC_GCC_SJLJ_EXCEPTIONS=m | ||||||
| CT_CC_GCC_LDBL_128=m | CT_CC_GCC_LDBL_128=m | ||||||
| CT_CC_GCC_BUILD_ID=y | # CT_CC_GCC_BUILD_ID is not set | ||||||
| CT_CC_GCC_LNK_HASH_STYLE_DEFAULT=y | CT_CC_GCC_LNK_HASH_STYLE_DEFAULT=y | ||||||
| # CT_CC_GCC_LNK_HASH_STYLE_SYSV is not set | # CT_CC_GCC_LNK_HASH_STYLE_SYSV is not set | ||||||
| # CT_CC_GCC_LNK_HASH_STYLE_GNU is not set | # CT_CC_GCC_LNK_HASH_STYLE_GNU is not set | ||||||
|   | |||||||
| @@ -5,7 +5,7 @@ if (( $# >= 1 )); then | |||||||
|     build_file=build-${image%:*} |     build_file=build-${image%:*} | ||||||
|     shift 1 |     shift 1 | ||||||
|  |  | ||||||
|     cmake_arg=$@ |     cmake_arg=$* | ||||||
|     echo "cmake arg: $cmake_arg" |     echo "cmake arg: $cmake_arg" | ||||||
|  |  | ||||||
|     #echo "Pulling dockcross/$image" |     #echo "Pulling dockcross/$image" | ||||||
| @@ -16,7 +16,7 @@ if (( $# >= 1 )); then | |||||||
|     chmod +x ./dockcross-"$image" |     chmod +x ./dockcross-"$image" | ||||||
|  |  | ||||||
|     echo "Build $build_file" |     echo "Build $build_file" | ||||||
|     ./dockcross-"$image" cmake -B "$build_file" -S . -G Ninja $cmake_arg |     ./dockcross-"$image" cmake -B "$build_file" -S . -G Ninja "$cmake_arg" | ||||||
|     ./dockcross-"$image" ninja -C "$build_file" |     ./dockcross-"$image" ninja -C "$build_file" | ||||||
| else | else | ||||||
|     echo "Usage: ${0##*/} <docker imag (ex: linux-x64/linux-x64-clang/linux-arm64/windows-shared-x64/windows-static-x64...)> <cmake arg.>" |     echo "Usage: ${0##*/} <docker imag (ex: linux-x64/linux-x64-clang/linux-arm64/windows-shared-x64/windows-static-x64...)> <cmake arg.>" | ||||||
|   | |||||||
| @@ -1,22 +0,0 @@ | |||||||
| #!/usr/bin/env bash |  | ||||||
|  |  | ||||||
| if (( $# >= 2 )); then |  | ||||||
|     image=$1 |  | ||||||
|     shift 1 |  | ||||||
|  |  | ||||||
|     command=$@ |  | ||||||
|     echo "command: $command" |  | ||||||
|  |  | ||||||
|     #echo "Pulling dockcross/$image" |  | ||||||
|     #docker pull dockcross/"$image" |  | ||||||
|  |  | ||||||
|     echo "Make script dockcross-$image" |  | ||||||
|     docker run --rm dockcross/"$image" > ./dockcross-"$image" |  | ||||||
|     chmod +x ./dockcross-"$image" |  | ||||||
|      |  | ||||||
|     echo "Run command in dockcross-$image" |  | ||||||
|     ./dockcross-"$image" $command |  | ||||||
| else |  | ||||||
|     echo "Usage: ${0##*/} <docker imag (ex: linux-x64/linux-x64-clang/linux-arm64/windows-shared-x64/windows-static-x64...)> <command>" |  | ||||||
|     exit 1 |  | ||||||
| fi |  | ||||||
| @@ -5,7 +5,7 @@ if (( $# >= 1 )); then | |||||||
|     build_file=build-${image%:*} |     build_file=build-${image%:*} | ||||||
|     shift 1 |     shift 1 | ||||||
|  |  | ||||||
|     make_arg=$@ |     make_arg=$* | ||||||
|     echo "make arg: $make_arg" |     echo "make arg: $make_arg" | ||||||
|  |  | ||||||
|     #echo "Pulling dockcross/$image" |     #echo "Pulling dockcross/$image" | ||||||
| @@ -16,7 +16,7 @@ if (( $# >= 1 )); then | |||||||
|     chmod +x ./dockcross-"$image" |     chmod +x ./dockcross-"$image" | ||||||
|  |  | ||||||
|     echo "Build $build_file" |     echo "Build $build_file" | ||||||
|     ./dockcross-"$image" bash -c 'make CXX=${CXX} CC=${CC} AR=${AR} AS=${AS} LD=${LD} CPP=${CPP} FC=${FC}' $make_arg |     ./dockcross-"$image" bash -c 'make CXX=${CXX} CC=${CC} AR=${AR} AS=${AS} LD=${LD} CPP=${CPP} FC=${FC} '"$make_arg" | ||||||
| else | else | ||||||
|     echo "Usage: ${0##*/} <docker imag (ex: linux-x64/linux-x64-clang/linux-arm64/windows-shared-x64/windows-static-x64...)> <make arg.>" |     echo "Usage: ${0##*/} <docker imag (ex: linux-x64/linux-x64-clang/linux-arm64/windows-shared-x64/windows-static-x64...)> <make arg.>" | ||||||
|     exit 1 |     exit 1 | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user