Hi, On Sun, Aug 21, 2022 at 09:14:14AM -0500, Dirk Eddelbuettel wrote:
| > | >So what is the proper architecture name for riscv64, and please remind me | >what the best way to determine it is (uname -m ? Or uname -p ? Or uname -i ?) | | There is only usefully for $(uname -m) for riscv64 hadreware now. | | vimer@unmatched:~/build/08/33_gridengine$ uname -m | riscv64 | vimer@unmatched:~/build/08/33_gridengine$ uname -p | unknown | vimer@unmatched:~/build/08/33_gridengine$ uname -i | unknownThanks that should help. | BTW, I saw the solution is ok also. | | ifeq ($(DEB_HOST_ARCH),riscv64) | # do something | endif | | Is it ok for our case? If and when one uses debian/rules (or alike, yes). But I think I put it 'up one level' into configure.ac and that may not have the Debian vars set (unless called from debian/rules I suppose).
Oh, yes, It is applied to debian/rules and I forget to mention it.:)
Dirk -- dirk.eddelbuettel.com | @eddelbuettel | e...@debian.org
-- Regards, -- Bo YU
signature.asc
Description: PGP signature