Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 654330 Details for
Bug 736886
dev-util/wasmer-0.11.0 should enable at least one backends by default - wasmer: error: 'cranelift' isn't a valid value for '--backend <backend>' [possible values: ]
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Use flags for backend features
ebuild-improvement-suggestions.patch (text/plain), 1.16 KB, created by
Julius
on 2020-08-12 15:13:44 UTC
(
hide
)
Description:
Use flags for backend features
Filename:
MIME Type:
Creator:
Julius
Created:
2020-08-12 15:13:44 UTC
Size:
1.16 KB
patch
obsolete
>--- /usr/portage/dev-util/wasmer/wasmer-0.11.0.ebuild 2020-01-09 21:08:25.408333768 +0900 >+++ /usr/local/portage/dev-util/wasmer/wasmer-0.11.0-r1.ebuild 2020-08-13 00:00:40.658211624 +0900 >@@ -178,19 +178,31 @@ > LICENSE="MIT Apache-2.0 BSD-2 ISC" > SLOT="0" > KEYWORDS="~amd64" >-IUSE="" >+IUSE="llvm cranelift singlepass" >+REQUIRED_USE=" >+ || ( llvm cranelift singlepass ) >+" > > BDEPEND=" > dev-util/cmake > >=virtual/rust-1.37.0 > " >+# singlepass actually requires nightly rust... :/ >+# llvm seems to have some dependencies on llvm use flags or a version or something. >+# >+# Maybe just enable cranelift and cranelift only? > > src_prepare() { > [[ "${PV}" == *9999* ]] || ln -s ../${P}-git-deps "${ECARGO_HOME}"/git > default > } > >+src_compile() { >+ cargo_src_compile --features "$(usex cranelift backend-cranelift "") $(usex llvm backend-llvm "") $(usex singlepass backend-singlepass "")" --bin wasmer >+ # kwasmd / loader-kernel seems to depend on backend-singlepass, disabled >+} >+ > src_install() { >- cargo_src_install >+ cargo_src_install --features "$(usex cranelift backend-cranelift "") $(usex llvm backend-llvm "") $(usex singlepass backend-singlepass "")" --bin wasmer > einstalldocs > }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 736886
: 654330