[RFC,v1,7/8] dts: merge DTS vm_images/make_build_container.sh to DPDK

Message ID 20220406153151.2917346-8-juraj.linkes@pantheon.tech (mailing list archive)
State RFC, archived
Delegated to: Thomas Monjalon
Headers
Series merge DTS repo config and tools to DPDK |

Checks

Context Check Description
ci/checkpatch warning coding style issues

Commit Message

Juraj Linkeš April 6, 2022, 3:31 p.m. UTC
  ---
 dts/vm_images/make_build_container.sh | 16 ++++++++++++++++
 1 file changed, 16 insertions(+)
 create mode 100755 dts/vm_images/make_build_container.sh
  

Patch

diff --git a/dts/vm_images/make_build_container.sh b/dts/vm_images/make_build_container.sh
new file mode 100755
index 0000000000..fb4472436f
--- /dev/null
+++ b/dts/vm_images/make_build_container.sh
@@ -0,0 +1,16 @@ 
+#!/bin/bash
+
+# Podman is used here because Docker does very odd things when
+# building for another architecture. Docker's solution to this,
+# buildx, is still unstable.
+
+podman build --arch arm64 -t dts_vm_builder:aarch64 . &
+DTS_AARCH64_BUILD_PID=$!
+podman build --arch amd64 -t dts_vm_builder:x86_64 . &
+DTS_x86_64_BUILD_PID=$!
+podman build --arch ppc64le -t dts_vm_builder:ppc64le . &
+DTS_PPC64LE_BUILD_PID=$!
+
+wait $DTS_AARCH64_BUILD_PID
+wait $DTS_PPC64LE_BUILD_PID
+wait $DTS_x86_64_BUILD_PID
\ No newline at end of file