Skip to content

Commit 09b9a53

Browse files
authored
Update wasmi recipe to 1.0.6 (#27)
1 parent 4d1289d commit 09b9a53

File tree

5 files changed

+6
-302
lines changed

5 files changed

+6
-302
lines changed

.github/workflows/export.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ jobs:
4242
conan export secp256k1/all --version=0.7.0
4343
conan export snappy/all --version=1.1.10
4444
conan export soci/all --version=4.0.3
45-
conan export wasmi/all --version=0.42.1
45+
conan export wasmi/all --version=1.0.6
4646
conan export wasm-xrplf/all --version=2.4.1-xrplf
4747
- name: Add Conan remote
4848
run: |

recipes/wasmi/all/conandata.yml

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,6 @@
11
# Do not update. Maintained by programmability team.
22

33
sources:
4-
"0.42.1":
5-
url: https://github.com/wasmi-labs/wasmi/archive/refs/tags/v0.42.1.tar.gz
6-
sha256: 2a5697be33c7afce8f671af4a5a3621d9e93ce55d253d31bd8201458e465fbb8
7-
patches:
8-
"0.42.1":
9-
- patch_file: "patches/0001-xrplf-0.42.1.patch"
10-
patch_description: Integrate wasmi lib into smart-escrow.
11-
patch_type: conan
4+
"1.0.6":
5+
url: https://github.com/XRPLF/wasmi/archive/refs/tags/v1.0.6.tar.gz
6+
sha256: 05edd402f381bc3a4c6fb683b85dabaf4daf51f2f1e68b9010db5f9644450d64

recipes/wasmi/all/conanfile.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
from conan import ConanFile, tools
22
from conan.tools.cmake import CMake, CMakeToolchain, cmake_layout
3-
from conan.tools.files import apply_conandata_patches, export_conandata_patches, get
3+
from conan.tools.files import get
44
import os
55

66
required_conan_version = ">=2.0.0"
@@ -15,15 +15,11 @@ class WasmiConan(ConanFile):
1515
options = {"shared": [False]}
1616
default_options = {"shared": False}
1717

18-
def export_sources(self):
19-
export_conandata_patches(self)
20-
2118
def layout(self):
2219
cmake_layout(self, src_folder="src")
2320

2421
def source(self):
2522
get(self, **self.conan_data["sources"][self.version], strip_root=True)
26-
apply_conandata_patches(self)
2723

2824
def generate(self):
2925
tc = CMakeToolchain(self)

recipes/wasmi/all/patches/0001-xrplf-0.42.1.patch

Lines changed: 0 additions & 287 deletions
This file was deleted.

recipes/wasmi/config.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
versions:
2-
"0.42.1":
2+
"1.0.6":
33
folder: all

0 commit comments

Comments
 (0)