Skip to content

Conversation

@roberth
Copy link
Member

@roberth roberth commented Jun 25, 2024

Motivation

Some more steps in the process of porting the build system to meson.

Context

Priorities and Process

Add 👍 to pull requests you find important.

The Nix maintainer team uses a GitHub project board to schedule and track reviews.

@roberth roberth requested a review from edolstra as a code owner June 25, 2024 14:17
@github-actions github-actions bot added the c api Nix as a C library with a stable interface label Jun 25, 2024
Comment on lines 101 to 82
# TODO rename, because it will conflict with downstream projects
configdata.set_quoted('PACKAGE_VERSION', meson.project_version())

configdata.set_quoted('SYSTEM', host_machine.system())
Copy link
Member

Choose a reason for hiding this comment

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

BTW the more we expose these things, the harder it will be to avoid rebuilds. Not a new things, but existing thing we might reconsider with the C libs.

include_directories : include_dirs,
link_with : this_exe,
compile_args : ['-std=c++2a'],
dependencies : [],
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
dependencies : [],

I defined this elsewhere, but I am now wondering whether it is even necessary or not.

Copy link
Member

Choose a reason for hiding this comment

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

Or maybe it's "header deps" and so should be deps_public + subproject deps

Copy link
Member

Choose a reason for hiding this comment

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

We can clean this up later :)

@roberth roberth force-pushed the meson-nix-util-c branch 2 times, most recently from f19c8e3 to 05ddea7 Compare June 25, 2024 19:29
@roberth roberth force-pushed the meson-nix-util-c branch from 05ddea7 to ae3304b Compare June 25, 2024 19:36
@Ericson2314
Copy link
Member

Let's go!

@Ericson2314 Ericson2314 merged commit 65d7c80 into master Jun 25, 2024
@Ericson2314 Ericson2314 deleted the meson-nix-util-c branch June 25, 2024 23:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

c api Nix as a C library with a stable interface

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants