Skip to content

Support Meson build system #17

Merged
merged 3 commits into from
Jan 17, 2018
Merged

Support Meson build system #17

merged 3 commits into from
Jan 17, 2018

Conversation

pmenzel
Copy link
Contributor

@pmenzel pmenzel commented Jan 5, 2018

In MarIuX, make sure to have meson installed, for example, by doing . /pkg/python-3.6.4-0/profile.

@pmenzel
Copy link
Contributor Author

pmenzel commented Jan 5, 2018

Also submitted upstream. I’d prefer to discuss it there.

@donald
Copy link
Contributor

donald commented Jan 15, 2018

Update this to match upstream?

[Description][2]:

> Meson is an open source build system meant to be both extremely fast,
> and, even more importantly, as user friendly as possible.
>
> The main design point of Meson is that every moment a developer spends
> writing or debugging build definitions is a second wasted. So is every
> second spent waiting for the build system to actually start compiling
> code.

[1]: http://mesonbuild.com/Quick-guide.html
[2]: http://mesonbuild.com/
If the Meson executable is not found, an error will be thrown by the
shell, so the check is not needed.

Additionally, the environment could be changed in the bee file, so
deterministically continue.
@pmenzel
Copy link
Contributor Author

pmenzel commented Jan 15, 2018 via email

The function `start_cmd()` in the bee shell runs "{@}" causing the
setting of the environment variable to be executed, which is of course
not found.

```
function start_cmd() {
    print_info "${COLOR_CYAN}${@}"
    "${@}"
}
```

Work around it, by setting the environment variable `DESTDIR` outside.
@donald donald merged commit f1a2cb8 into master Jan 17, 2018
@donald donald deleted the support-meson-build-system branch February 8, 2018 09:30
Sign in to join this conversation on GitHub.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants