Skip to content

Conversation

@ptersilie
Copy link
Contributor

Both are required in order to add ykcbf to yk CI.

Makefile Outdated

bf_simple_yk.o: bf_simple_yk.c
${CC} ${CFLAGS} ${YK_CFLAGS} -c -o $@ $<
${CC} -O2 ${CFLAGS} ${YK_CFLAGS} -c -o $@ $<
Copy link
Contributor

Choose a reason for hiding this comment

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

Hard-coding like this is a very bad plan.

Please set this in CFLAGS but also make CFLAGS overridable with ?= as per Makefile conventions so that someone can override it with -O0 etc.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

@ltratt
Copy link
Contributor

ltratt commented Jan 30, 2025

Please squash.

Both are required in order to add ykcbf to yk CI.
@ptersilie
Copy link
Contributor Author

Squashed.

@ltratt ltratt added this pull request to the merge queue Jan 30, 2025
Merged via the queue into ykjit:main with commit aac7ae3 Jan 30, 2025
2 checks passed
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