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

Adding no-build logic for x64-usdt target if node version > 18 #133

Merged
merged 3 commits into from
Apr 8, 2024

Conversation

scosol
Copy link
Contributor

@scosol scosol commented Apr 8, 2024

Node19+ removed dtrace support, thus there is no point/ability to build this target for these versions.

Comment on lines 24 to 28
if [ $MAJOR_VERSION -ge 19 ]; then
echo 'dtrace support was removed in nodejs v19+ ... exiting'
exit 0
fi

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Bail logic usually goes in should-build.sh -- see other recipes for examples

shouldbuild="${recipes_dir}/$recipe/should-build.sh"
if [ -f "$shouldbuild" ]; then
if ! "$shouldbuild" "$__dirname" "$fullversion"; then
continue
fi
fi

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Noted and affected per recommendation

@scosol scosol changed the title Adding bail logic for usdt target if node19+ Adding no-build logic for x64-usdt target if node version > 18 Apr 8, 2024
@rvagg
Copy link
Member

rvagg commented Apr 8, 2024

thanks again @scosol, you're welcome to add yourself to the README if you like too

@rvagg rvagg merged commit 61d2660 into nodejs:main Apr 8, 2024
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.

3 participants