git » yosys.git » commit 41eb9a9

Disable LTO to work around test failures

author Evangelos Foutras
2022-04-23 22:05:45 UTC
committer Evangelos Foutras
2022-04-23 22:05:45 UTC
parent fff744ca85968bdc2bd745a43c4c446840950bc5

Disable LTO to work around test failures

PKGBUILD +1 -0

diff --git a/PKGBUILD b/PKGBUILD
index d30bcfe..9e6d25e 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -14,6 +14,7 @@ makedepends=('boost')
 checkdepends=('iverilog')
 optdepends=('graphviz: Schematics display support'
             'xdot: Display netlists')
+options=('!lto') # getting SIGSEGV when running the tests with LTO
 source=("https://github.com/cliffordwolf/yosys/archive/$pkgname-$pkgver.tar.gz")
 sha512sums=('df91ea75ae08c7c7e134cfa6284c4e9349e6f85f2df32e4710a571176d5e1a334a6e1e77d52bf573686d33b405559e40af1a8d42cbd4e1f95f0e3b4e212e0b06')