Accepting request 871613 from home:musfay:staging

Wasm runtime

OBS-URL: https://build.opensuse.org/request/show/871613
OBS-URL: https://build.opensuse.org/package/show/devel:languages:javascript/wasm3?expand=0&rev=1
This commit is contained in:
2021-02-14 00:11:53 +00:00
committed by Git OBS Bridge
commit ce91e74bfb
5 changed files with 99 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@@ -0,0 +1,23 @@
## Default LFS
*.7z filter=lfs diff=lfs merge=lfs -text
*.bsp filter=lfs diff=lfs merge=lfs -text
*.bz2 filter=lfs diff=lfs merge=lfs -text
*.gem filter=lfs diff=lfs merge=lfs -text
*.gz filter=lfs diff=lfs merge=lfs -text
*.jar filter=lfs diff=lfs merge=lfs -text
*.lz filter=lfs diff=lfs merge=lfs -text
*.lzma filter=lfs diff=lfs merge=lfs -text
*.obscpio filter=lfs diff=lfs merge=lfs -text
*.oxt filter=lfs diff=lfs merge=lfs -text
*.pdf filter=lfs diff=lfs merge=lfs -text
*.png filter=lfs diff=lfs merge=lfs -text
*.rpm filter=lfs diff=lfs merge=lfs -text
*.tbz filter=lfs diff=lfs merge=lfs -text
*.tbz2 filter=lfs diff=lfs merge=lfs -text
*.tgz filter=lfs diff=lfs merge=lfs -text
*.ttf filter=lfs diff=lfs merge=lfs -text
*.txz filter=lfs diff=lfs merge=lfs -text
*.whl filter=lfs diff=lfs merge=lfs -text
*.xz filter=lfs diff=lfs merge=lfs -text
*.zip filter=lfs diff=lfs merge=lfs -text
*.zst filter=lfs diff=lfs merge=lfs -text

1
.gitignore vendored Normal file
View File

@@ -0,0 +1 @@
.osc

3
wasm3-0.4.8.tar.gz Normal file
View File

@@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:1e335335009525d7f031ac1dbbb61a17bc7079e4d3ad48b3fe13584cc788efd5
size 2505088

21
wasm3.changes Normal file
View File

@@ -0,0 +1,21 @@
-------------------------------------------------------------------
Fri Feb 12 16:02:40 UTC 2021 - Mustafa Çalışkan <musfay@protonmail.com>
- Change Source to upstream URL
-------------------------------------------------------------------
Fri Feb 12 05:52:40 UTC 2021 - Mustafa Çalışkan <musfay@protonmail.com>
- Update to version 0.4.8:
* Fix warnings on ESP32
* Update to 0.4.8
* Update docs
* Fix warnings
* Implement "strace" mode
* Reuse stack from existing runtime. #186
* Fix Python build
* Add ability to select spec version for testing
* Optimize simple FuncTypes
* Set d_m3MaxSaneFunctionArgCount to 128
- Initial package

51
wasm3.spec Normal file
View File

@@ -0,0 +1,51 @@
#
# spec file for package wasm3
#
# Copyright (c) 2021 SUSE LLC
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
# upon. The license for this file, and modifications and additions to the
# file, is the same license as for the pristine package itself (unless the
# license for the pristine package is not an Open Source License, in which
# case the license is the MIT License). An "Open Source License" is a
# license that conforms to the Open Source Definition (Version 1.9)
# published by the Open Source Initiative.
# Please submit bugfixes or comments via https://bugs.opensuse.org/
#
Name: wasm3
Version: 0.4.8
Release: 0
Summary: A high performance WebAssembly interpreter written in C
Group: Development/Languages/Other
License: MIT
URL: https://github.com/wasm3/wasm3
Source: https://github.com/wasm3/wasm3/archive/v%{version}/%{name}-%{version}.tar.gz
BuildRequires: cmake >= 3.11
BuildRequires: gcc-c++
%description
A high performance WebAssembly interpreter written in C
- 8x faster than other known wasm interpreters
- 4-5x slower than state of the art wasm JIT engines
- 12x slower than native execution
%prep
%setup -q
%build
# Tries to download source file and build libuvwasi. For now simple argument needed.
%cmake -DBUILD_WASI=simple
%cmake_build
%install
install -Dm755 build/wasm3 %{buildroot}%{_bindir}/wasm3
%files
%license LICENSE
%doc README.md
%{_bindir}/wasm3
%changelog