Skip to content

Conversation

@crazy-max
Copy link
Collaborator

No description provided.

Signed-off-by: CrazyMax <[email protected]>
Copy link
Owner

@tonistiigi tonistiigi left a comment

Choose a reason for hiding this comment

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

Can we run all c/c++ tests also with this backend? Does xx-zig make sense?

if command -v "$XX_TRIPLE-pkg-config" >/dev/null 2>/dev/null; then
export PKG_CONFIG="$XX_TRIPLE-pkg-config"
pkgconfig_set=1
if command -v "zig" >/dev/null 2>/dev/null; then
Copy link
Owner

Choose a reason for hiding this comment

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

I'm not sure we should replace CC with zig just because it is installed. I guess this would be ok if there is no clang and gcc installed. Otherwise I would expect some opt-in env.

@crazy-max
Copy link
Collaborator Author

Can we run all c/c++ tests also with this backend?

Yes will add tests

Does xx-zig make sense?

Hum yes might make sense for zig build

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