Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

emsdk: add new version 3.1.72 #24218

Closed
wants to merge 13 commits into from
Closed
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions recipes/emsdk/all/conandata.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
sources:
"3.1.61":
url: "https://github.com/emscripten-core/emsdk/archive/3.1.61.tar.gz"
sha256: "51a4f6ec070147abe8f94546d8e18dde458d63f8c2927f94265ad49ef8431a1c"
"3.1.50":
url: "https://github.com/emscripten-core/emsdk/archive/3.1.50.tar.gz"
sha256: "7491a881eb5ee15fe81bbabcfff1fd571e45ccdb24a81890af429f9970cbd1f3"
Expand Down
5 changes: 2 additions & 3 deletions recipes/emsdk/all/conanfile.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,11 @@
class EmSDKConan(ConanFile):
name = "emsdk"
description = "Emscripten SDK. Emscripten is an Open Source LLVM to JavaScript compiler"
license = "MIT"
url = "https://github.com/conan-io/conan-center-index"
homepage = "https://github.com/kripken/emscripten"
topics = ("emsdk", "emscripten", "sdk")
license = "MIT"
topics = ("emscripten", "sdk")
AbrilRBS marked this conversation as resolved.
Show resolved Hide resolved
settings = "os", "arch", "compiler", "build_type"

short_paths = True

@property
Expand Down Expand Up @@ -82,11 +81,11 @@
def _tools_for_version(self):
ret = {}
# Select release-upstream from version (wasm-binaries)
with open(os.path.join(self.source_folder, "emscripten-releases-tags.json"), "r") as f:

Check warning on line 84 in recipes/emsdk/all/conanfile.py

View workflow job for this annotation

GitHub Actions / Lint changed conanfile.py (v2 migration)

Using open without explicitly specifying an encoding
data = json.load(f)
ret["wasm"] = f"releases-upstream-{data['releases'][self.version]}-64bit"
# Select python and node versions
with open(os.path.join(self.source_folder, "emsdk_manifest.json"), "r") as f:

Check warning on line 88 in recipes/emsdk/all/conanfile.py

View workflow job for this annotation

GitHub Actions / Lint changed conanfile.py (v2 migration)

Using open without explicitly specifying an encoding
data = json.load(f)
tools = data["tools"]
if self.settings.os == "Windows":
Expand Down
2 changes: 2 additions & 0 deletions recipes/emsdk/config.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
versions:
"3.1.61":
folder: all
"3.1.50":
folder: all
"3.1.49":
Expand Down
Loading