Conversation
|
The script assumes that |
|
@DeckerSU as can be seen in GLEECBTC/komodo-defi-framework#2603 , the macos test was failing at this fetch script because there was a sha256sum command available but with a seemingly different parameter requirement than the linux one. I saw the same behavior in my local macos. I checked and don't have coreutils installed. Maybe the latest macos comes bundled with a different sha256sum command
We need to fix this for the kdf test github action to work |
|
Wouldn't it be simpler to do something like: If that is not appropriate for some reason, I will approve this PR - consider it just a suggestion. |
|
@DeckerSU we need to fix the fetch scripts for macos users of komodod too. Like it did in my local mac, the current scripts will fail for other users of latest macos as well |
|
p.s. I also think (haven’t tested it yet, but I will) that we can fix the error by changing in the script: to: so that I’ll try it today and post the results. I think the root of the issue is related to that. |
|
Yes, I’ve checked. With the changes below, everything should work as expected. Please test as well, remove your changes in this PR and apply the one below instead. |
22b0249 to
64187dc
Compare
|
@DeckerSU it works. tested on mac and linux. please approve |
sha256sum requires explicitly using `-` as the input file on macOS. - GLEECBTC/komodo-daemon#662 - ccache/ccache#1542
…orship (#102) * fix: correctly call sha256sum on macOS sha256sum requires explicitly using `-` as the input file on macOS. - GLEECBTC/komodo-daemon#662 - ccache/ccache#1542 * macOS build fixes and .gitignore updates (#101) * qt: libpng, fix build on macOS with SDK 15 Remove obsolete inclusion of <fp.h> from bundled libpng, which no longer exists in recent macOS SDKs (15+). The header is replaced with <math.h>, matching upstream libpng fix (PR #529). Without this change, Qt 5.15.x fails to build on macOS Sequoia / Xcode 16 with errors like: fatal error: 'fp.h' file not found This aligns the embedded libpng with upstream behavior and restores successful builds on modern macOS toolchains. * depends: add aarch64 to .gitignore Extend the ignore list in depends/.gitignore to cover build artifacts for aarch64, alongside the existing x86_64, i686, mips, and arm directories. This prevents accidental commits of target-specific output when building for aarch64. * build: macOS, replace nproc --all with sysctl -n hw.ncpu Update macOS build scripts to use `sysctl -n hw.ncpu` instead of `nproc --all`. The `nproc` utility is not available by default on macOS, while `sysctl` provides a reliable way to query the number of CPU cores. * gitignore: add autogenerated files and binaries Extend .gitignore to exclude files that are either generated during compilation or produced as build artifacts: - qa/pull-tester/run-komodod-for-test.sh - src/cryptoconditions/compile (autogenerated) - src/komodo-cli - src/komodo-tx - src/univalue/test/object - src/wallet-utility (binaries) This prevents accidental commits of temporary build outputs and improves repository cleanliness. * Update README.md to clarify developer roles and add funding link; create FUNDING.yml for GitHub sponsorship
re: GLEECBTC/komodo-defi-framework#2603
please verify the scripts work in both MacOs and linux