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

How to tell what version of the WASI-SDK is installed? #372

Closed
brettcannon opened this issue Jan 8, 2024 · 2 comments · Fixed by #392
Closed

How to tell what version of the WASI-SDK is installed? #372

brettcannon opened this issue Jan 8, 2024 · 2 comments · Fixed by #392

Comments

@brettcannon
Copy link
Contributor

E.g., is there a text file somewhere I can have users look at to tell me what they tried using? (Context: python/cpython#113516).

@abrown
Copy link
Collaborator

abrown commented Jan 8, 2024

Reading through the issue, I see what you mean. Usually it's apparent if the user shows the full path to Clang, e.g., /opt/wasi-sdk-20.0/bin/clang. But it seems reasonable to add a version file somewhere for this kind of situation.

@sbc100
Copy link
Member

sbc100 commented Jan 8, 2024

Some kind of version.h header might be good idea

abrown added a commit to abrown/wasi-sdk that referenced this issue Mar 7, 2024
In the past, I've had trouble keeping the current set of version scripts
to correctly output the version, especially in light of how we append
Git suffixes for a non-tagged commit and dirty state. This change
replaces those scripts with a single Python one which, though much more
wordy than the previous one, may be easier for contributors to read and
modify. The original scripts relied on Perl; this one relies on Python,
which seems like a fair exchange. Having a single script also makes it
easier to solve WebAssembly#372.
abrown added a commit to abrown/wasi-sdk that referenced this issue Mar 7, 2024
As noted in WebAssembly#372, some users may need to identify which version of
wasi-sdk they are using after it has been downloaded. There are many
ways to solve this, but the one I chose here is to dump the wasi-sdk
version into a `VERSION` file and follow that up with several dependency
versions that may be helpful to note when troubleshooting. Ideally
someone could paste the contents of that file when filing a bug. If we
adopt this approach, this fixes WebAssembly#372.
abrown added a commit to abrown/wasi-sdk that referenced this issue Mar 7, 2024
In the past, I've had trouble keeping the current set of version scripts
to correctly output the version, especially in light of how we append
Git suffixes for a non-tagged commit and dirty state. This change
replaces those scripts with a single Python one which, though much more
wordy than the previous one, may be easier for contributors to read and
modify. The original scripts relied on Perl; this one relies on Python,
which seems like a fair exchange. Having a single script also makes it
easier to solve WebAssembly#372.
abrown added a commit to abrown/wasi-sdk that referenced this issue Mar 7, 2024
As noted in WebAssembly#372, some users may need to identify which version of
wasi-sdk they are using after it has been downloaded. There are many
ways to solve this, but the one I chose here is to dump the wasi-sdk
version into a `VERSION` file and follow that up with several dependency
versions that may be helpful to note when troubleshooting. Ideally
someone could paste the contents of that file when filing a bug. If we
adopt this approach, this fixes WebAssembly#372.
abrown added a commit to abrown/wasi-sdk that referenced this issue Mar 8, 2024
In the past, I've had trouble keeping the current set of version scripts
to correctly output the version, especially in light of how we append
Git suffixes for a non-tagged commit and dirty state. This change
replaces those scripts with a single Python one which, though much more
wordy than the previous one, may be easier for contributors to read and
modify. The original scripts relied on Perl; this one relies on Python,
which seems like a fair exchange. Having a single script also makes it
easier to solve WebAssembly#372.
abrown added a commit to abrown/wasi-sdk that referenced this issue Mar 8, 2024
As noted in WebAssembly#372, some users may need to identify which version of
wasi-sdk they are using after it has been downloaded. There are many
ways to solve this, but the one I chose here is to dump the wasi-sdk
version into a `VERSION` file and follow that up with several dependency
versions that may be helpful to note when troubleshooting. Ideally
someone could paste the contents of that file when filing a bug. If we
adopt this approach, this fixes WebAssembly#372.
abrown added a commit to abrown/wasi-sdk that referenced this issue Mar 15, 2024
In the past, I've had trouble keeping the current set of version scripts
to correctly output the version, especially in light of how we append
Git suffixes for a non-tagged commit and dirty state. This change
replaces those scripts with a single Python one which, though much more
wordy than the previous one, may be easier for contributors to read and
modify. The original scripts relied on Perl; this one relies on Python,
which seems like a fair exchange. Having a single script also makes it
easier to solve WebAssembly#372.
abrown added a commit to abrown/wasi-sdk that referenced this issue Mar 15, 2024
As noted in WebAssembly#372, some users may need to identify which version of
wasi-sdk they are using after it has been downloaded. There are many
ways to solve this, but the one I chose here is to dump the wasi-sdk
version into a `VERSION` file and follow that up with several dependency
versions that may be helpful to note when troubleshooting. Ideally
someone could paste the contents of that file when filing a bug. If we
adopt this approach, this fixes WebAssembly#372.
abrown added a commit to abrown/wasi-sdk that referenced this issue Mar 18, 2024
In the past, I've had trouble keeping the current set of version scripts
to correctly output the version, especially in light of how we append
Git suffixes for a non-tagged commit and dirty state. This change
replaces those scripts with a single Python one which, though much more
wordy than the previous one, may be easier for contributors to read and
modify. The original scripts relied on Perl; this one relies on Python,
which seems like a fair exchange. Having a single script also makes it
easier to solve WebAssembly#372.
abrown added a commit to abrown/wasi-sdk that referenced this issue Mar 18, 2024
As noted in WebAssembly#372, some users may need to identify which version of
wasi-sdk they are using after it has been downloaded. There are many
ways to solve this, but the one I chose here is to dump the wasi-sdk
version into a `VERSION` file and follow that up with several dependency
versions that may be helpful to note when troubleshooting. Ideally
someone could paste the contents of that file when filing a bug. If we
adopt this approach, this fixes WebAssembly#372.
abrown added a commit that referenced this issue Mar 19, 2024
In the past, I've had trouble keeping the current set of version scripts
to correctly output the version, especially in light of how we append
Git suffixes for a non-tagged commit and dirty state. This change
replaces those scripts with a single Python one which, though much more
wordy than the previous one, may be easier for contributors to read and
modify. The original scripts relied on Perl; this one relies on Python,
which seems like a fair exchange. Having a single script also makes it
easier to solve #372.
abrown added a commit that referenced this issue Mar 19, 2024
As noted in #372, some users may need to identify which version of
wasi-sdk they are using after it has been downloaded. There are many
ways to solve this, but the one I chose here is to dump the wasi-sdk
version into a `VERSION` file and follow that up with several dependency
versions that may be helpful to note when troubleshooting. Ideally
someone could paste the contents of that file when filing a bug. If we
adopt this approach, this fixes #372.
PiCoPress pushed a commit to PiCoPress/wasi-sdk that referenced this issue Mar 22, 2024
In the past, I've had trouble keeping the current set of version scripts
to correctly output the version, especially in light of how we append
Git suffixes for a non-tagged commit and dirty state. This change
replaces those scripts with a single Python one which, though much more
wordy than the previous one, may be easier for contributors to read and
modify. The original scripts relied on Perl; this one relies on Python,
which seems like a fair exchange. Having a single script also makes it
easier to solve WebAssembly#372.
PiCoPress pushed a commit to PiCoPress/wasi-sdk that referenced this issue Mar 22, 2024
As noted in WebAssembly#372, some users may need to identify which version of
wasi-sdk they are using after it has been downloaded. There are many
ways to solve this, but the one I chose here is to dump the wasi-sdk
version into a `VERSION` file and follow that up with several dependency
versions that may be helpful to note when troubleshooting. Ideally
someone could paste the contents of that file when filing a bug. If we
adopt this approach, this fixes WebAssembly#372.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants