Skip to content

Commit f93232c

Browse files
authored
Merge pull request #528 from CosmWasm/document-✅​libwasmvmstatic_darwin.a
Document ​libwasmvmstatic_darwin.a support
2 parents e074d03 + 7c3f940 commit f93232c

File tree

2 files changed

+13
-8
lines changed

2 files changed

+13
-8
lines changed

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -124,16 +124,17 @@ which for example excludes all 32 bit systems.
124124
| Linux (musl) | aarch64 | shared | 🚫​ | Possible but not needed |
125125
| Linux (musl) | aarch64 | static | ✅​libwasmvm_muslc.aarch64.a | |
126126
| macOS | x86_64 | shared | ✅​libwasmvm.dylib | Fat/universal library with multiple archs ([#294]) |
127-
| macOS | x86_64 | static | 🚫​ | |
127+
| macOS | x86_64 | static | ✅​libwasmvmstatic_darwin.a | Fat/universal library with multiple archs ([#407]) |
128128
| macOS | aarch64 | shared | ✅​libwasmvm.dylib | Fat/universal library with multiple archs ([#294]) |
129-
| macOS | aarch64 | static | 🚫​ | |
129+
| macOS | aarch64 | static | ✅​libwasmvmstatic_darwin.a | Fat/universal library with multiple archs ([#407]) |
130130
| Windows (mingw) | x86_64 | shared | 🏗​wasmvm.dll | Shared library linking not working on Windows ([#389]) |
131131
| Windows (mingw) | x86_64 | static | 🚫​ | Unclear if this can work using a cross compiler; needs research on .lib (MSVC toolchain) vs. .a (GNU toolchain). ([#389]) |
132132
| Windows (mingw) | aarch64 | shared | 🚫​ | Shared library linking not working on Windows ([#389]) |
133133
| Windows (mingw) | aarch64 | static | 🚫​ | Unclear if this can work using a cross compiler; needs research on .lib (MSVC toolchain) vs. .a (GNU toolchain). ([#389]) |
134134

135135
[#294]: https://github.com/CosmWasm/wasmvm/pull/294
136136
[#389]: https://github.com/CosmWasm/wasmvm/issues/389
137+
[#407]: https://github.com/CosmWasm/wasmvm/issues/407
137138

138139
<!-- AUTO GENERATED BY libwasmvm_builds.py END -->
139140

docs/libwasmvm_builds.py

Lines changed: 10 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
1-
# Run python3 docs/libwasmvm_builds.py and paste output into
2-
# README.md
1+
# In the repo root run python3 docs/libwasmvm_builds.py
2+
# and paste output into README.md
33

44
oss = ["Linux (glibc)", "Linux (musl)", "macOS", "Windows (mingw)"]
55
cpus = ["x86_64", "aarch64"]
@@ -18,10 +18,11 @@ def wasmer22_supported(os, cpu, build_type):
1818
return UNDER_CONSTRUCTION + "wasmvm.dll"
1919
else:
2020
return UNSUPPORTED
21-
if os == "macOS" and build_type == "static":
22-
return UNSUPPORTED
23-
if os == "macOS" and build_type == "shared":
24-
return SUPPORTED + "libwasmvm.dylib"
21+
if os == "macOS":
22+
if build_type == "static":
23+
return SUPPORTED + "libwasmvmstatic_darwin.a"
24+
if build_type == "shared":
25+
return SUPPORTED + "libwasmvm.dylib"
2526
if os == "Linux (musl)":
2627
if build_type == "static":
2728
if cpu == "x86_64":
@@ -47,6 +48,8 @@ def get_note(os, cpu, build_type):
4748
return "Possible but not needed"
4849
if os == "macOS" and build_type == "shared":
4950
return "Fat/universal library with multiple archs ([#294])"
51+
if os == "macOS" and build_type == "static":
52+
return "Fat/universal library with multiple archs ([#407])"
5053
if os == "Windows (mingw)" and build_type == "shared":
5154
return "Shared library linking not working on Windows ([#389])"
5255
if os == "Windows (mingw)" and build_type == "static":
@@ -57,6 +60,7 @@ def get_links():
5760
return """
5861
[#294]: https://github.com/CosmWasm/wasmvm/pull/294
5962
[#389]: https://github.com/CosmWasm/wasmvm/issues/389
63+
[#407]: https://github.com/CosmWasm/wasmvm/issues/407
6064
"""
6165

6266
print("<!-- AUTO GENERATED BY libwasmvm_builds.py START -->")

0 commit comments

Comments
 (0)