Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code

Issue 29527808: Noissue - Use meson to build the C++ code (Closed)

Created:
Aug. 25, 2017, 5:17 p.m. by hub
Modified:
Dec. 15, 2017, 7:47 p.m.
CC:
Sebastian Noack
Base URL:
https://hg.adblockplus.org/adblockpluscore/
Visibility:
Public.

Description

Noissue - Use meson to build the C++ code

Patch Set 1 #

Patch Set 2 : npm test now works #

Patch Set 3 : Rebased. Now compile output to the source directory #

Total comments: 15

Patch Set 4 : Reworked. Now build source files one by one. #

Total comments: 16

Patch Set 5 : Now build objects one by one, with dependencies, and share them. #

Total comments: 13

Patch Set 6 : Last bits of feedback #

Total comments: 13

Patch Set 7 : Updated from feedback. now require meson 0.40.0, but no default C++ compiler #

Total comments: 3

Patch Set 8 : Properly build with DEBUG #

Total comments: 6

Patch Set 9 : Pin meson version. Deprecate compile #

Total comments: 4

Patch Set 10 : Removed compile. meson > 0.40.0 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+189 lines, -141 lines) Patch
M .gitignore View 1 2 1 chunk +1 line, -2 lines 0 comments Download
M .hgignore View 1 2 1 chunk +2 lines, -3 lines 0 comments Download
M README.md View 1 2 3 4 5 6 7 8 9 1 chunk +17 lines, -3 lines 0 comments Download
M compile View 1 2 3 4 5 6 7 8 9 1 chunk +0 lines, -133 lines 0 comments Download
A meson.build View 1 2 3 4 5 6 7 9 1 chunk +167 lines, -0 lines 0 comments Download
A meson_options.txt View 1 2 3 1 chunk +2 lines, -0 lines 0 comments Download

Messages

Total messages: 29
hub
Aug. 25, 2017, 5:17 p.m. (2017-08-25 17:17:51 UTC) #1
hub
not really for a review but more for a "here is what I came up ...
Aug. 25, 2017, 5:24 p.m. (2017-08-25 17:24:29 UTC) #2
hub
I believe Eric's CMake build system it better. meson has serious limitations like the impossibility ...
Oct. 10, 2017, 8:18 p.m. (2017-10-10 20:18:28 UTC) #3
Wladimir Palant
I actually find this approach nicer than CMake, Meson build files seem to be more ...
Oct. 11, 2017, 10 a.m. (2017-10-11 10:00:53 UTC) #4
hub
With all the suggestions, this looks better. https://codereview.adblockplus.org/29527808/diff/29532724/meson.build File meson.build (right): https://codereview.adblockplus.org/29527808/diff/29532724/meson.build#newcode1 meson.build:1: project('adblockpluscore', license: ...
Oct. 11, 2017, 6:23 p.m. (2017-10-11 18:23:17 UTC) #5
Wladimir Palant
I wonder whether creating a tiny Python wrapper around the meson command would be worth ...
Oct. 11, 2017, 9:01 p.m. (2017-10-11 21:01:24 UTC) #6
Wladimir Palant
Alternatively, we could have a script generate a cross-compiling configuration that could then be passed ...
Oct. 11, 2017, 9:03 p.m. (2017-10-11 21:03:46 UTC) #7
Wladimir Palant
https://codereview.adblockplus.org/29527808/diff/29573838/README.md File README.md (right): https://codereview.adblockplus.org/29527808/diff/29573838/README.md#newcode30 README.md:30: mkdir build This step is unnecessary, meson will create ...
Oct. 12, 2017, 8:46 a.m. (2017-10-12 08:46:09 UTC) #8
hub
https://codereview.adblockplus.org/29527808/diff/29573838/README.md File README.md (right): https://codereview.adblockplus.org/29527808/diff/29573838/README.md#newcode30 README.md:30: mkdir build On 2017/10/12 08:46:09, Wladimir Palant wrote: > ...
Oct. 12, 2017, 6:12 p.m. (2017-10-12 18:12:11 UTC) #9
hub
I am much more optimistic about using meson now - still quirky but it actually ...
Oct. 12, 2017, 7:50 p.m. (2017-10-12 19:50:07 UTC) #10
Wladimir Palant
A few minor issues but altogether this is looking good. https://codereview.adblockplus.org/29527808/diff/29574659/README.md File README.md (right): https://codereview.adblockplus.org/29527808/diff/29574659/README.md#newcode33 ...
Oct. 13, 2017, 9:45 a.m. (2017-10-13 09:45:40 UTC) #11
hub
https://codereview.adblockplus.org/29527808/diff/29574659/README.md File README.md (right): https://codereview.adblockplus.org/29527808/diff/29574659/README.md#newcode33 README.md:33: make a release build. On 2017/10/13 09:45:39, Wladimir Palant ...
Oct. 13, 2017, 6:16 p.m. (2017-10-13 18:16:54 UTC) #12
Wladimir Palant
LGTM As far as I am concerned, this can land. However, I'd like to hear ...
Oct. 13, 2017, 6:54 p.m. (2017-10-13 18:54:06 UTC) #13
sergei
On 2017/10/11 21:01:24, Wladimir Palant wrote: > I wonder whether creating a tiny Python wrapper ...
Oct. 16, 2017, 3:27 p.m. (2017-10-16 15:27:13 UTC) #14
Eric
On 2017/10/11 10:00:53, Wladimir Palant wrote: > Also, initial CMake call > requiring a special ...
Oct. 20, 2017, 3:20 p.m. (2017-10-20 15:20:04 UTC) #15
Eric
On 2017/10/13 18:54:06, Wladimir Palant wrote: > However, I'd like to hear other > people's ...
Oct. 20, 2017, 4:54 p.m. (2017-10-20 16:54:39 UTC) #16
sergei
On 2017/10/20 16:54:39, Eric wrote: > On 2017/10/13 18:54:06, Wladimir Palant wrote: > > However, ...
Oct. 20, 2017, 7:36 p.m. (2017-10-20 19:36:24 UTC) #17
Wladimir Palant
On 2017/10/20 15:20:04, Eric wrote: > This reflects a misunderstanding of how CMake operates. CMake ...
Oct. 20, 2017, 8:08 p.m. (2017-10-20 20:08:14 UTC) #18
hub
just so that we have the latest iteration here. https://codereview.adblockplus.org/29527808/diff/29575688/README.md File README.md (right): https://codereview.adblockplus.org/29527808/diff/29575688/README.md#newcode23 README.md:23: ...
Oct. 26, 2017, 4:15 p.m. (2017-10-26 16:15:28 UTC) #19
Wladimir Palant
https://codereview.adblockplus.org/29527808/diff/29575688/README.md File README.md (right): https://codereview.adblockplus.org/29527808/diff/29575688/README.md#newcode23 README.md:23: * [ninja](https://www.ninja-build.org) On 2017/10/16 15:27:12, sergei wrote: > Just ...
Oct. 26, 2017, 7:27 p.m. (2017-10-26 19:27:00 UTC) #20
hub
https://codereview.adblockplus.org/29527808/diff/29589640/README.md File README.md (right): https://codereview.adblockplus.org/29527808/diff/29589640/README.md#newcode34 README.md:34: old version of meson. On 2017/10/26 19:27:00, Wladimir Palant ...
Oct. 26, 2017, 7:36 p.m. (2017-10-26 19:36:04 UTC) #21
Wladimir Palant
https://codereview.adblockplus.org/29527808/diff/29589640/README.md File README.md (right): https://codereview.adblockplus.org/29527808/diff/29589640/README.md#newcode34 README.md:34: old version of meson. On 2017/10/26 19:36:04, hub wrote: ...
Nov. 3, 2017, 10:50 a.m. (2017-11-03 10:50:12 UTC) #22
sergei
According to other code-reviews some caught up meson, so, IMO it is worth landing. However, ...
Dec. 12, 2017, 5:37 p.m. (2017-12-12 17:37:29 UTC) #23
hub
updated patch https://codereview.adblockplus.org/29527808/diff/29617582/README.md File README.md (right): https://codereview.adblockplus.org/29527808/diff/29617582/README.md#newcode22 README.md:22: * [meson 0.40.0+](https://www.mesonbuild.com) On 2017/12/12 17:37:29, sergei ...
Dec. 13, 2017, 8:28 p.m. (2017-12-13 20:28:59 UTC) #24
Wladimir Palant
https://codereview.adblockplus.org/29527808/diff/29617582/README.md File README.md (right): https://codereview.adblockplus.org/29527808/diff/29617582/README.md#newcode22 README.md:22: * [meson 0.40.0+](https://www.mesonbuild.com) On 2017/12/12 17:37:29, sergei wrote: > ...
Dec. 14, 2017, 10:57 a.m. (2017-12-14 10:57:02 UTC) #25
sergei
I think we can continue it in the issue tracker in order to not stop ...
Dec. 14, 2017, 2:22 p.m. (2017-12-14 14:22:46 UTC) #26
hub
with comments from issue 6200 I just reverted to require meson 0.40.0 or later. https://codereview.adblockplus.org/29527808/diff/29638561/README.md ...
Dec. 15, 2017, 5:44 p.m. (2017-12-15 17:44:56 UTC) #27
sergei
LGTM
Dec. 15, 2017, 5:53 p.m. (2017-12-15 17:53:05 UTC) #28
Wladimir Palant
Dec. 15, 2017, 6:52 p.m. (2017-12-15 18:52:07 UTC) #29
LGTM

Powered by Google App Engine
This is Rietveld