[PATCH 5/9] [waf] Add a new ARCH_BITS option to be used in Clang's -triple

Hesham Almatary Hesham.Almatary at cl.cam.ac.uk
Fri Apr 10 10:39:32 UTC 2020


---
 .../cpukit/RTEMS-BUILD-CPUKIT-CPUOPTS.yml     |  1 +
 .../cpukit/RTEMS-BUILD-CPUKIT-OPTARCHBITS.yml | 30 +++++++++++++++++++
 2 files changed, 31 insertions(+)
 create mode 100644 spec/build/cpukit/RTEMS-BUILD-CPUKIT-OPTARCHBITS.yml

diff --git a/spec/build/cpukit/RTEMS-BUILD-CPUKIT-CPUOPTS.yml b/spec/build/cpukit/RTEMS-BUILD-CPUKIT-CPUOPTS.yml
index 387b2ec600..c9eeb82c6c 100644
--- a/spec/build/cpukit/RTEMS-BUILD-CPUKIT-CPUOPTS.yml
+++ b/spec/build/cpukit/RTEMS-BUILD-CPUKIT-CPUOPTS.yml
@@ -36,6 +36,7 @@ links:
 - RTEMS-BUILD-CPUKIT-OPTVERMIN: UfZbGW-lDbMcDS4hrZuRApdTdP9df1Ar4XTjUKRObJ4=
 - RTEMS-BUILD-CPUKIT-OPTVERREV: Wst9lX5qtktoqDIPzn-wD3gW6ha7LY5zTDjfk4ceCuA=
 - RTEMS-BUILD-CPUKIT-OPTVERSION: i3xHPoF-3mlKybTcTNFugN1JTbT5258-Z5l304N6riY=
+- RTEMS-BUILD-CPUKIT-OPTARCHBITS: ChapNb5NSPl062d5CnU251RB5J6TljFz_mLkmFdgwVY=
 normative: true
 order: -1000
 ref: ''
diff --git a/spec/build/cpukit/RTEMS-BUILD-CPUKIT-OPTARCHBITS.yml b/spec/build/cpukit/RTEMS-BUILD-CPUKIT-OPTARCHBITS.yml
new file mode 100644
index 0000000000..f0cba94e4f
--- /dev/null
+++ b/spec/build/cpukit/RTEMS-BUILD-CPUKIT-OPTARCHBITS.yml
@@ -0,0 +1,30 @@
+actions:
+- get-string: null
+- split: null
+- env-append: null
+active: true
+build-type: option
+default: ''
+default-by-variant:
+- value:
+  - '64'
+  variants:
+  - riscv/rv64.*
+- value:
+  - '32'
+  variants:
+  - riscv/rv32.*
+derived: false
+enabled-by:
+- riscv
+- clang
+header: ''
+level: '1.110'
+links: []
+name: ARCH_BITS
+normative: true
+order: -1000
+ref: ''
+reviewed: ChapNb5NSPl062d5CnU251RB5J6TljFz_mLkmFdgwVY=
+text: ''
+type: build
--
2.17.1



More information about the devel mailing list