feat: Always build with native arch in Conan 2 (#2201)

Will test it works in https://github.com/XRPLF/clio/pull/2202

Work on: https://github.com/XRPLF/clio/issues/1692
This commit is contained in:
Ayaz Salikhov
2025-06-09 15:47:43 +01:00
committed by GitHub
parent a68229e9d7
commit 2d172f470d
3 changed files with 4 additions and 4 deletions

View File

@@ -1,5 +1,5 @@
[settings]
arch=x86_64
arch={{detect_api.detect_arch()}}
build_type=Release
compiler=clang
compiler.cppstd=20

View File

@@ -1,5 +1,5 @@
[settings]
arch=x86_64
arch={{detect_api.detect_arch()}}
build_type=Release
compiler=gcc
compiler.cppstd=20

View File

@@ -28,7 +28,7 @@ Clio requires `compiler.cppstd=20` in your Conan profile (`~/.conan/profiles/def
```text
[settings]
arch=armv8
arch={{detect_api.detect_arch()}}
build_type=Release
compiler=apple-clang
compiler.cppstd=20
@@ -44,7 +44,7 @@ tools.build:cxxflags+=["-Wno-missing-template-arg-list-after-template-kw"]
```text
[settings]
arch=x86_64
arch={{detect_api.detect_arch()}}
build_type=Release
compiler=gcc
compiler.cppstd=20