Skip to content

Fix build errors in MacOS (jerryscript)#2974

Merged
slaff merged 2 commits intoSmingHub:developfrom
mikee47:fix/jerryscript-ci-errors
Sep 16, 2025
Merged

Fix build errors in MacOS (jerryscript)#2974
slaff merged 2 commits intoSmingHub:developfrom
mikee47:fix/jerryscript-ci-errors

Conversation

@mikee47
Copy link
Contributor

@mikee47 mikee47 commented Sep 15, 2025

This PR provides some maintenance fixes for the follow issues with jerryscript:

  • Patch CMake minimum version < 3.10: CI build is failing on MacOS
  • Fix missing IMPORT_FSTR data building with GCC 15.2
  • day_names_p and month_names_p ill-defined

MacOS CI runner latest now at version 15 (Sequoia) which uses clang 18 (up from 15).

TODO:

  • Find out why rbpf library is failing. Looks probable that we need to use a newer version of llvm, version 15 isn't found in MacOS runner. macos-latest changed from version 14 to version 15 3 weeks ago.

This PR provides some maintenance fixes for the follow issues:

- Patch CMake minimum version < 3.10: CI build is failing on MacOS
- Fix missing IMPORT_FSTR data building with GCC 15.2
- `day_names_p` and `month_names_p` ill-defined
@what-the-diff
Copy link

what-the-diff bot commented Sep 15, 2025

PR Summary

  • Updated Subproject Commit for JerryScript
    The version of the JerryScript subsystem we use has been updated. This could bring new features, optimisations, and bug fixes.

@slaff
Copy link
Contributor

slaff commented Sep 15, 2025

Switch back to the “macos-14” label by changing workflow YAML to use runs-on: macos-14. We support the two latest stable macOS versions plus latest beta, so macOS 14 will be maintained for the next year.

@mikee47 We can switch this build to macos-14 instead of the new latest.

@mikee47
Copy link
Contributor Author

mikee47 commented Sep 15, 2025

Looks like rbpf library needs updating... Nope, just llvm version or MacOS runner version.

** Building Libraries/rbpf/samples/Basic_VM **
Using configuration 'standard'
Installing Python requirements...
make[4]: /opt/homebrew/opt/llvm@15/bin/clang: Command not found

@mikee47
Copy link
Contributor Author

mikee47 commented Sep 15, 2025

Switch back to the “macos-14” label by changing workflow YAML to use runs-on: macos-14. We support the two latest stable macOS versions plus latest beta, so macOS 14 will be maintained for the next year.

@mikee47 We can switch this build to macos-14 instead of the new latest.

Missed this! I'll let the current CI run to see what happens using llvm 16 18.

@mikee47 mikee47 force-pushed the fix/jerryscript-ci-errors branch from e338a73 to 93e6e23 Compare September 15, 2025 16:29
@slaff slaff merged commit 0ec2b82 into SmingHub:develop Sep 16, 2025
35 checks passed
slaff pushed a commit to mikee47/Sming that referenced this pull request Sep 16, 2025
This PR provides some maintenance fixes for the follow issues with jerryscript:

- Patch CMake minimum version < 3.10: CI build is failing on MacOS
- Fix missing IMPORT_FSTR data building with GCC 15.2
- `day_names_p` and `month_names_p` ill-defined

MacOS CI runner latest now at version 15 (Sequoia) which uses clang 18 (up from 15).
@mikee47 mikee47 deleted the fix/jerryscript-ci-errors branch September 17, 2025 08:41
@slaff slaff mentioned this pull request Dec 16, 2025
5 tasks
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