<html>
  <head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  </head>
  <body>
    <p><br>
    </p>
    <div class="moz-cite-prefix">On 16/03/2020 13:51, Hesham Almatary
      wrote:<br>
    </div>
    <blockquote type="cite"
cite="mid:CA+wsVCAjYkpAn5Qg3od+uXaKXQUdp=uDWkR35MLj_UVA+KDu4Q@mail.gmail.com">Thanks
      Sebastian!<br>
      <br>
      I tried to follow your instructions for adding this as a new
      option, but unfortunately, XLEN didn't evaluate for
      RTEMS-BUILD-CPUKIT-OPTCLANG to use. Here's the diff:<br>
      <br>
      <blockquote class="gmail_quote" style="margin:0px 0px 0px
        0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">diff
        --git a/spec/build/cpukit/RTEMS-BUILD-CPUKIT-OPTXLEN.yml
        b/spec/build/cpukit/RTEMS-BUILD-CPUKIT-OPTXLEN.yml<br>
        new file mode 100644<br>
        index 0000000000..840a8ecc2c<br>
        --- /dev/null<br>
        +++ b/spec/build/cpukit/RTEMS-BUILD-CPUKIT-OPTXLEN.yml<br>
        @@ -0,0 +1,19 @@<br>
        +active: true<br>
        +build-type: option<br>
        +default: ''<br>
        +default-by-variant:<br>
        +- value: '64'<br>
        +  variants:<br>
        +  - riscv/rv64.*<br>
        +derived: false<br>
        +enabled-by: []<br>
        +header: ''<br>
        +level: '1.110'<br>
        +links: []<br>
        +name: XLEN<br>
        +normative: true<br>
        +order: -1000<br>
        +ref: ''<br>
        +reviewed: ChapNb5NSPl062d5CnU251RB5J6TljFz_mLkmFdgwVY=<br>
        +text: ''<br>
        +type: build</blockquote>
      <div><br>
      </div>
      <div>grepping for XLEN only gets me:</div>
      <blockquote class="gmail_quote" style="margin:0px 0px 0px
        0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
        <div>c4che/spec_build.pickle:133389:ssS'RTEMS-BUILD-CPUKIT-OPTXLEN'<br>
          c4che/spec_build.pickle:133433:S'XLEN'<br>
c4che/spec_build.pickle:154984:S'--target=${ARCH}${XLEN}-unknown-rtems${__RTEMS_MAJOR__}'</div>
      </blockquote>
      <div><br>
      </div>
      <div>Am I missing something?</div>
    </blockquote>
    <p>Did you link the new item to</p>
    <p>spec/build/cpukit/RTEMS-BUILD-CPUKIT-CPUOPTS.yml</p>
    <p>?<br>
    </p>
  </body>
</html>