Skip to content

Conversation

@petk
Copy link
Owner

@petk petk commented Nov 22, 2024

JIT directory can be nicely wrapped as a simple OBJECT library. In this case everything seems to propagate properly forward.

Edit: This didn't work as it complicates propagating compile options. Bottom rule of a thumb: adding separate libraries inside a mono-repo needs a subdirectory to be as much self-contained as possible. Subdirectories like this are very tied to the global PHP and Zend headers and even compile properties of the extension itself.

  • Instead of adding custom targets source file can be indicator to run the custom command.
  • Some redundant compile properties removed, and some adjusted.
  • CMakeFiles can also serve to store temporary minilua generator to not pollute the binary directory and using Gitignore for that.

- Instead of adding custom targets source file can be indicator to run
  the custom command.
- Some redundant compile properties removed, and some adjusted.
- CMakeFiles can also serve to store temporary minilua generator to not
  pollute the binary directory and using Gitignore for that.
@petk petk changed the title Add JIT as a subdirectory Simplify JIT configuration Nov 22, 2024
@petk petk merged commit 3212a2e into PHP-8.3 Nov 22, 2024
1 of 3 checks passed
@petk petk deleted the patch-opcache branch November 22, 2024 21:11
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