diff options
author | Andrei Horodniceanu <a.horodniceanu@proton.me> | 2024-04-05 01:39:49 +0300 |
---|---|---|
committer | Andrei Horodniceanu <a.horodniceanu@proton.me> | 2024-04-14 02:00:59 +0300 |
commit | 877403097b5e2779b411ba206132897416c16a4d (patch) | |
tree | 081c67d56add3f406be364f72e8653d42d18d1dd /dev-util/serve-d | |
parent | dev-lang/ldc2: add tests (diff) | |
download | dlang-877403097b5e2779b411ba206132897416c16a4d.tar.gz dlang-877403097b5e2779b411ba206132897416c16a4d.tar.bz2 dlang-877403097b5e2779b411ba206132897416c16a4d.zip |
dev-util/serve-d: Link upstream issue about -mcpu=native with ldc2
Bug: https://github.com/libmir/mir-ion/pull/46
Signed-off-by: Andrei Horodniceanu <a.horodniceanu@proton.me>
Diffstat (limited to 'dev-util/serve-d')
-rw-r--r-- | dev-util/serve-d/serve-d-0.8.0_beta15-r2.ebuild | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/dev-util/serve-d/serve-d-0.8.0_beta15-r2.ebuild b/dev-util/serve-d/serve-d-0.8.0_beta15-r2.ebuild index b06160f..8969b4d 100644 --- a/dev-util/serve-d/serve-d-0.8.0_beta15-r2.ebuild +++ b/dev-util/serve-d/serve-d-0.8.0_beta15-r2.ebuild @@ -113,14 +113,12 @@ src_unpack() { src_configure() { # There's an issue with ldc that when -mcpu=native is specified you - # get an llvm stack trace. I have to investigate it further before - # reporting. -mcpu=<resolve-march-native> works though. For now - # just remove -mcpu=native for ldc2. + # get an llvm stack trace. It seems to be related to the use of + # certain intrinsics that depend on the target cpu. if [[ ${EDC} == ldc2* && ${DCFLAGS} == *-mcpu=native* ]]; then ewarn "-mcpu=native causes issues with ldc2 so it will be removed" - ewarn "from your flags. If you still want to specify it use" - ewarn "app-misc/resolve-march-native to get your actual architecture" - ewarn "and use that with -mcpu, like in -mcpu=znver3." + ewarn "from your flags." + ewarn "See: https://github.com/libmir/mir-ion/pull/46" fi dlang-filter-dflags "ldc2*" "-mcpu=native" |