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

fix: make install.dependencies on Windows #340

Conversation

austinvazquez
Copy link
Member

@austinvazquez austinvazquez commented Jun 25, 2024

Issue #, if available:

Found during integration of 91c52d7 into finch.

deps/install.sh: line 75: shasum: command not found
+ grep -xq '^93ff4407f289f695424d3a4fe47158f712201d2b5ffcb0033a15d64e2082ddf8ef6e2f1612fa07ebb2bc9d57b38d0a5f3164fee1418d354847716e3594bd998d$'
+ echo 'error: shasum verification failed for dependency'
+ rm -f D:/a/finch-core/finch-core/_output/os/finch-rootfs-production-amd64-1715724303.tar.gz
error: shasum verification failed for dependency
+ exit 1
make: *** [Makefile.windows:27: D:/a/finch-core/finch-core/_output/os/finch-rootfs-production-amd64-171[57](https://github.com/austinvazquez/finch-core/actions/runs/9666641032/job/26666620967#step:4:58)24303.tar.gz] Error 1

Description of changes:
This change fixes make install.dependencies on Windows. The Windows
platform relies on sha512sum tool instead of shasum tool which is
available on macOS. This change also adds a spot check for make
install.dependencies on macOS 13 and Windows to CI.

Testing done:
make install.dependencies && make clean is successful on macOS 13 and Windows 2022

  • I've reviewed the guidance in CONTRIBUTING.md

License Acceptance

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@austinvazquez austinvazquez force-pushed the fix-make-install-deps-on-windows-runner branch from b5f8885 to 2b3f8c8 Compare June 25, 2024 21:39
@austinvazquez austinvazquez marked this pull request as ready for review June 25, 2024 21:54
deps/install.sh Outdated Show resolved Hide resolved
@austinvazquez austinvazquez force-pushed the fix-make-install-deps-on-windows-runner branch from 2b3f8c8 to 91e2c0f Compare June 25, 2024 23:10
@austinvazquez austinvazquez force-pushed the fix-make-install-deps-on-windows-runner branch from 91e2c0f to 20800e2 Compare June 25, 2024 23:37
This change fixes make install.dependencies on Windows. The Windows
platform relies on sha512sum tool instead of shasum tool which is
available on macOS. This change also adds a spot check for make
install.dependencies on macOS 13 and Windows to CI.

Signed-off-by: Austin Vazquez <macedonv@amazon.com>
@austinvazquez austinvazquez force-pushed the fix-make-install-deps-on-windows-runner branch from 20800e2 to 90fe679 Compare June 25, 2024 23:42
@austinvazquez austinvazquez merged commit fd03c02 into runfinch:main Jun 26, 2024
8 checks passed
@austinvazquez austinvazquez deleted the fix-make-install-deps-on-windows-runner branch June 26, 2024 13:51
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 this pull request may close these issues.

2 participants