diff options
author | CoprDistGit <infra@openeuler.org> | 2023-10-30 08:46:54 +0000 |
---|---|---|
committer | CoprDistGit <infra@openeuler.org> | 2023-10-30 08:46:54 +0000 |
commit | d8f7265f92aac5edc434cb132f2bca2bd257fd24 (patch) | |
tree | 85146b6e2c01f1eccdc35459797a0522ed6b25c9 /riscv64-unbounded-delays.patch | |
parent | f6614fb343b9f2278c3ddd4f5da9eedf89c496fc (diff) |
automatic import of ghc-tastyopeneuler23.09
Diffstat (limited to 'riscv64-unbounded-delays.patch')
-rwxr-xr-x | riscv64-unbounded-delays.patch | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/riscv64-unbounded-delays.patch b/riscv64-unbounded-delays.patch new file mode 100755 index 0000000..5ca7fc8 --- /dev/null +++ b/riscv64-unbounded-delays.patch @@ -0,0 +1,25 @@ +From 65da3d6512ee2f8c53d2bbde840456749c5038c8 Mon Sep 17 00:00:00 2001 +From: Felix Yan <felixonmars@archlinux.org> +Date: Thu, 22 Jun 2023 08:21:17 +0300 +Subject: [PATCH] Don't depend on unbounded-delays for riscv64 + +64-bit RISC-V should fall into the same case in +https://github.com/UnkindPartition/tasty/pull/344 and should be added +here. Tested locally. +--- + core/tasty.cabal | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +Index: tasty-1.4.3/tasty.cabal +=================================================================== +--- tasty-1.4.3.orig/tasty.cabal ++++ tasty-1.4.3/tasty.cabal +@@ -68,7 +68,7 @@ library + ansi-terminal >= 0.9 + + -- No reason to depend on unbounded-delays on 64-bit architecture +- if(!arch(x86_64) && !arch(aarch64)) ++ if(!arch(x86_64) && !arch(aarch64) && !arch(riscv64)) + build-depends: + unbounded-delays >= 0.1 + |