[rtems-central commit] qdp: Build BSPs

Sebastian Huber sebh at rtems.org
Tue Nov 21 13:35:41 UTC 2023


Module:    rtems-central
Branch:    master
Commit:    20d617db310d2578399658e1ad0df6170782f591
Changeset: http://git.rtems.org/rtems-central/commit/?id=20d617db310d2578399658e1ad0df6170782f591

Author:    Sebastian Huber <sebastian.huber at embedded-brains.de>
Date:      Tue Nov 21 11:13:17 2023 +0100

qdp: Build BSPs

---

 spec-qdp/qdp/build/bsp-extra-coverage.yml     | 15 ++++
 spec-qdp/qdp/build/bsp-extra.yml              | 15 ++++
 spec-qdp/qdp/build/bsp-qual-only-coverage.yml | 15 ++++
 spec-qdp/qdp/build/bsp-qual-only.yml          | 22 ++++++
 spec-qdp/qdp/deployment/bsp-extra.yml         | 17 +++++
 spec-qdp/qdp/deployment/bsp-qual-only.yml     | 17 +++++
 spec-qdp/qdp/package-build.yml                |  8 +++
 spec-qdp/qdp/steps/bsp-extra-coverage.yml     | 67 ++++++++++++++++++
 spec-qdp/qdp/steps/bsp-extra.yml              | 89 ++++++++++++++++++++++++
 spec-qdp/qdp/steps/bsp-qual-only-coverage.yml | 76 +++++++++++++++++++++
 spec-qdp/qdp/steps/bsp-qual-only.yml          | 98 +++++++++++++++++++++++++++
 11 files changed, 439 insertions(+)

diff --git a/spec-qdp/qdp/build/bsp-extra-coverage.yml b/spec-qdp/qdp/build/bsp-extra-coverage.yml
new file mode 100644
index 00000000..52878f17
--- /dev/null
+++ b/spec-qdp/qdp/build/bsp-extra-coverage.yml
@@ -0,0 +1,15 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+copyrights:
+- Copyright (C) 2022 embedded brains GmbH & Co. KG
+copyrights-by-license: {}
+directory: ${../variant:/build-directory}/bsp-extra-coverage
+directory-state-type: generic
+enabled-by: true
+files: []
+hash: null
+links: []
+patterns:
+- exclude: []
+  include: '**/*'
+qdp-type: directory-state
+type: qdp
diff --git a/spec-qdp/qdp/build/bsp-extra.yml b/spec-qdp/qdp/build/bsp-extra.yml
new file mode 100644
index 00000000..d4768cfb
--- /dev/null
+++ b/spec-qdp/qdp/build/bsp-extra.yml
@@ -0,0 +1,15 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+copyrights:
+- Copyright (C) 2022 embedded brains GmbH & Co. KG
+copyrights-by-license: {}
+directory: ${../variant:/build-directory}/bsp-extra
+directory-state-type: generic
+enabled-by: true
+files: []
+hash: null
+links: []
+patterns:
+- exclude: []
+  include: '**/*'
+qdp-type: directory-state
+type: qdp
diff --git a/spec-qdp/qdp/build/bsp-qual-only-coverage.yml b/spec-qdp/qdp/build/bsp-qual-only-coverage.yml
new file mode 100644
index 00000000..1a625abe
--- /dev/null
+++ b/spec-qdp/qdp/build/bsp-qual-only-coverage.yml
@@ -0,0 +1,15 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+copyrights:
+- Copyright (C) 2022 embedded brains GmbH & Co. KG
+copyrights-by-license: {}
+directory: ${../variant:/build-directory}/bsp-qual-only-coverage
+directory-state-type: generic
+enabled-by: true
+files: []
+hash: null
+links: []
+patterns:
+- exclude: []
+  include: '**/*'
+qdp-type: directory-state
+type: qdp
diff --git a/spec-qdp/qdp/build/bsp-qual-only.yml b/spec-qdp/qdp/build/bsp-qual-only.yml
new file mode 100644
index 00000000..34bfc510
--- /dev/null
+++ b/spec-qdp/qdp/build/bsp-qual-only.yml
@@ -0,0 +1,22 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+copyrights:
+- Copyright (C) 2022 embedded brains GmbH & Co. KG
+copyrights-by-license: {}
+directory: ${../variant:/build-directory}/bsp-qual-only
+directory-state-type: generic
+enabled-by: true
+files: []
+hash: null
+links:
+- arch: ${../variant:/arch}
+  build-label: ${../variant:/ident}/qual-only
+  hash: null
+  name: membench-build
+  path: ${.:/directory}/${../variant:/arch}/${../variant:/bsp}${../variant:/params/bsp-qual-only/dash}
+  role: input-to
+  uid: ../steps/membench
+patterns:
+- exclude: []
+  include: '**/*'
+qdp-type: directory-state
+type: qdp
diff --git a/spec-qdp/qdp/deployment/bsp-extra.yml b/spec-qdp/qdp/deployment/bsp-extra.yml
new file mode 100644
index 00000000..920b90e0
--- /dev/null
+++ b/spec-qdp/qdp/deployment/bsp-extra.yml
@@ -0,0 +1,17 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH & Co. KG
+copyrights-by-license: {}
+directory: ${../variant:/deployment-directory}
+directory-state-type: generic
+enabled-by: true
+files: []
+hash: null
+links:
+- hash: null
+  name: member
+  role: input-to
+  uid: ../steps/archive
+patterns: []
+qdp-type: directory-state
+type: qdp
diff --git a/spec-qdp/qdp/deployment/bsp-qual-only.yml b/spec-qdp/qdp/deployment/bsp-qual-only.yml
new file mode 100644
index 00000000..920b90e0
--- /dev/null
+++ b/spec-qdp/qdp/deployment/bsp-qual-only.yml
@@ -0,0 +1,17 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH & Co. KG
+copyrights-by-license: {}
+directory: ${../variant:/deployment-directory}
+directory-state-type: generic
+enabled-by: true
+files: []
+hash: null
+links:
+- hash: null
+  name: member
+  role: input-to
+  uid: ../steps/archive
+patterns: []
+qdp-type: directory-state
+type: qdp
diff --git a/spec-qdp/qdp/package-build.yml b/spec-qdp/qdp/package-build.yml
index acc3d488..f9a94253 100644
--- a/spec-qdp/qdp/package-build.yml
+++ b/spec-qdp/qdp/package-build.yml
@@ -9,6 +9,14 @@ links:
   uid: steps/create-config-files
 - role: build-step
   uid: steps/run-rsb
+- role: build-step
+  uid: steps/bsp-qual-only
+- role: build-step
+  uid: steps/bsp-qual-only-coverage
+- role: build-step
+  uid: steps/bsp-extra
+- role: build-step
+  uid: steps/bsp-extra-coverage
 - role: build-step
   uid: steps/archive
 qdp-type: package-build
diff --git a/spec-qdp/qdp/steps/bsp-extra-coverage.yml b/spec-qdp/qdp/steps/bsp-extra-coverage.yml
new file mode 100644
index 00000000..9bbcefac
--- /dev/null
+++ b/spec-qdp/qdp/steps/bsp-extra-coverage.yml
@@ -0,0 +1,67 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+build-step-type: run-actions
+actions:
+- action: remove-tree
+  enabled-by: true
+  missing-ok: true
+  path: ${.:/params/build-directory}
+- action: remove-glob
+  enabled-by: true
+  remove-tree: true
+  path: ${.:/params/working-directory}
+  patterns:
+  - .lock-waf*
+  - .waf*
+- action: subprocess
+  command:
+  - ./waf
+  - configure
+  - --out=${.:/params/build-directory}
+  - --prefix=${../variant:/build-directory}
+  - --rtems-tools=${../deployment/rtems-tool-suite:/directory}
+  - --rtems-config=${../deployment/config-extra-coverage:/file}
+  enabled-by: true
+  env: []
+  expected-return-code: 0
+  working-directory: ${.:/params/working-directory}
+- action: subprocess
+  command:
+  - ./waf
+  - build
+  enabled-by: true
+  env: []
+  expected-return-code: 0
+  working-directory: ${.:/params/working-directory}
+- action: remove-glob
+  enabled-by: true
+  remove-tree: true
+  path: ${.:/params/working-directory}
+  patterns:
+  - .lock-waf*
+  - .waf*
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH & Co. KG
+description: |
+  Builds the BSP in the extra-coverage configuration.
+enabled-by: true
+links:
+- hash: null
+  name: source
+  role: input
+  uid: ../source/rtems
+- hash: null
+  name: tools
+  role: input
+  uid: ../deployment/rtems-tool-suite
+- hash: null
+  name: config
+  role: input
+  uid: ../deployment/config-extra-coverage
+- name: build
+  role: output
+  uid: ../build/bsp-extra-coverage
+params:
+  build-directory: ${../build/bsp-extra-coverage:/directory}
+  working-directory: ${../source/rtems:/directory}
+qdp-type: build-step
+type: qdp
diff --git a/spec-qdp/qdp/steps/bsp-extra.yml b/spec-qdp/qdp/steps/bsp-extra.yml
new file mode 100644
index 00000000..c606fec4
--- /dev/null
+++ b/spec-qdp/qdp/steps/bsp-extra.yml
@@ -0,0 +1,89 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+build-step-type: run-actions
+actions:
+- action: remove-tree
+  enabled-by: true
+  missing-ok: true
+  path: ${.:/params/build-directory}
+- action: remove-glob
+  enabled-by: true
+  remove-tree: true
+  path: ${.:/params/working-directory}
+  patterns:
+  - .lock-waf*
+  - .waf*
+- action: subprocess
+  command:
+  - ./waf
+  - configure
+  - --out=${.:/params/build-directory}
+  - --prefix=${../variant:/deployment-directory}
+  - --rtems-tools=${../deployment/rtems-tool-suite:/directory}
+  - --rtems-config=${../deployment/config-extra:/file}
+  enabled-by: true
+  env: []
+  expected-return-code: 0
+  working-directory: ${.:/params/working-directory}
+- action: subprocess
+  command:
+  - ./waf
+  - build
+  enabled-by: true
+  env: []
+  expected-return-code: 0
+  working-directory: ${.:/params/working-directory}
+- action: subprocess
+  command:
+  - ./waf
+  - install
+  - --destdir=${.:/params/intermediate-directory}
+  enabled-by: true
+  env: []
+  expected-return-code: 0
+  working-directory: ${.:/params/working-directory}
+- action: directory-state-clear
+  enabled-by: true
+  output-name: deployment
+- action: directory-state-move-tree
+  enabled-by: true
+  excludes: []
+  output-name: deployment
+  prefix: null
+  root: ${.:/params/intermediate-directory}/${../variant:/deployment-directory}
+- action: remove-glob
+  enabled-by: true
+  remove-tree: true
+  path: ${.:/params/working-directory}
+  patterns:
+  - .lock-waf*
+  - .waf*
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH & Co. KG
+description: |
+  Builds the BSP in the extra configuration.
+enabled-by: true
+links:
+- hash: null
+  name: source
+  role: input
+  uid: ../source/rtems
+- hash: null
+  name: tools
+  role: input
+  uid: ../deployment/rtems-tool-suite
+- hash: null
+  name: config
+  role: input
+  uid: ../deployment/config-extra
+- name: build
+  role: output
+  uid: ../build/bsp-extra
+- name: deployment
+  role: output
+  uid: ../deployment/bsp-extra
+params:
+  build-directory: ${../build/bsp-extra:/directory}
+  intermediate-directory: ${.:/params/build-directory}/destdir
+  working-directory: ${../source/rtems:/directory}
+qdp-type: build-step
+type: qdp
diff --git a/spec-qdp/qdp/steps/bsp-qual-only-coverage.yml b/spec-qdp/qdp/steps/bsp-qual-only-coverage.yml
new file mode 100644
index 00000000..26fcc7da
--- /dev/null
+++ b/spec-qdp/qdp/steps/bsp-qual-only-coverage.yml
@@ -0,0 +1,76 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+build-step-type: run-actions
+actions:
+- action: remove-tree
+  enabled-by: true
+  missing-ok: true
+  path: ${.:/params/build-directory}
+- action: remove-glob
+  enabled-by: true
+  remove-tree: true
+  path: ${.:/params/working-directory}
+  patterns:
+  - .lock-waf*
+  - .waf*
+- action: subprocess
+  command:
+  - ./waf
+  - configure
+  - --out=${.:/params/build-directory}
+  - --prefix=${../variant:/build-directory}
+  - --rtems-tools=${../deployment/rtems-tool-suite:/directory}
+  - --rtems-config=${../deployment/config-qual-only-coverage:/file}
+  - --rtems-specs=${../source/rtems:/directory}/spec/build
+  enabled-by: true
+  env: []
+  expected-return-code: 0
+  working-directory: ${.:/params/working-directory}
+- action: subprocess
+  command:
+  - ./waf
+  - build
+  enabled-by: true
+  env: []
+  expected-return-code: 0
+  working-directory: ${.:/params/working-directory}
+- action: remove-glob
+  enabled-by: true
+  remove-tree: true
+  path: ${.:/params/working-directory}
+  patterns:
+  - .lock-waf*
+  - .waf*
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH & Co. KG
+description: |
+  Builds the BSP in the qual-only-coverage configuration.
+enabled-by: true
+links:
+- hash: null
+  name: source
+  role: input
+  uid: ../source/rtems
+- hash: null
+  name: source
+  role: input
+  uid: ../source/rtems-qual-only
+- hash: null
+  name: tools
+  role: input
+  uid: ../deployment/rtems-tool-suite
+- hash: null
+  name: config
+  role: input
+  uid: ../deployment/config-qual-only-coverage
+- hash: null
+  name: config
+  role: input
+  uid: ../deployment/config-qual-only-version
+- name: build
+  role: output
+  uid: ../build/bsp-qual-only-coverage
+params:
+  build-directory: ${../build/bsp-qual-only-coverage:/directory}
+  working-directory: ${../source/rtems-qual-only:/directory}
+qdp-type: build-step
+type: qdp
diff --git a/spec-qdp/qdp/steps/bsp-qual-only.yml b/spec-qdp/qdp/steps/bsp-qual-only.yml
new file mode 100644
index 00000000..a335b1a1
--- /dev/null
+++ b/spec-qdp/qdp/steps/bsp-qual-only.yml
@@ -0,0 +1,98 @@
+SPDX-License-Identifier: CC-BY-SA-4.0 OR BSD-2-Clause
+build-step-type: run-actions
+actions:
+- action: remove-tree
+  enabled-by: true
+  missing-ok: true
+  path: ${.:/params/build-directory}
+- action: remove-glob
+  enabled-by: true
+  remove-tree: true
+  path: ${.:/params/working-directory}
+  patterns:
+  - .lock-waf*
+  - .waf*
+- action: subprocess
+  command:
+  - ./waf
+  - configure
+  - --out=${.:/params/build-directory}
+  - --prefix=${../variant:/deployment-directory}
+  - --rtems-tools=${../deployment/rtems-tool-suite:/directory}
+  - --rtems-config=${../deployment/config-qual-only:/file}
+  - --rtems-specs=${../source/rtems:/directory}/spec/build
+  enabled-by: true
+  env: []
+  expected-return-code: 0
+  working-directory: ${.:/params/working-directory}
+- action: subprocess
+  command:
+  - ./waf
+  - build
+  enabled-by: true
+  env: []
+  expected-return-code: 0
+  working-directory: ${.:/params/working-directory}
+- action: subprocess
+  command:
+  - ./waf
+  - install
+  - --destdir=${.:/params/intermediate-directory}
+  enabled-by: true
+  env: []
+  expected-return-code: 0
+  working-directory: ${.:/params/working-directory}
+- action: directory-state-clear
+  enabled-by: true
+  output-name: deployment
+- action: directory-state-move-tree
+  enabled-by: true
+  excludes: []
+  output-name: deployment
+  prefix: null
+  root: ${.:/params/intermediate-directory}/${../variant:/deployment-directory}
+- action: remove-glob
+  enabled-by: true
+  remove-tree: true
+  path: ${.:/params/working-directory}
+  patterns:
+  - .lock-waf*
+  - .waf*
+copyrights:
+- Copyright (C) 2020 embedded brains GmbH & Co. KG
+description: |
+  Builds the BSP in the qual-only configuration.
+enabled-by: true
+links:
+- hash: null
+  name: source
+  role: input
+  uid: ../source/rtems
+- hash: null
+  name: source
+  role: input
+  uid: ../source/rtems-qual-only
+- hash: null
+  name: tools
+  role: input
+  uid: ../deployment/rtems-tool-suite
+- hash: null
+  name: config
+  role: input
+  uid: ../deployment/config-qual-only
+- hash: null
+  name: config
+  role: input
+  uid: ../deployment/config-qual-only-version
+- name: build
+  role: output
+  uid: ../build/bsp-qual-only
+- name: deployment
+  role: output
+  uid: ../deployment/bsp-qual-only
+params:
+  build-directory: ${../build/bsp-qual-only:/directory}
+  intermediate-directory: ${.:/params/build-directory}/destdir
+  working-directory: ${../source/rtems-qual-only:/directory}
+qdp-type: build-step
+type: qdp



More information about the vc mailing list