• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

ocaml / dune / 28843
7%

Build:
DEFAULT BRANCH: main
Ran 01 Nov 2024 08:20AM UTC
Jobs 1
Files 545
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

01 Nov 2024 08:10AM UTC coverage: 6.918% (-0.002%) from 6.92%
28843

push

github

web-flow
Configurator: pkg-config plugin uses pkgconf and --personality=TARGET by default (#10937)

* configurator: Allow to specify a path in PKG_CONFIG

This makes the implementation of `which` in configurator closer to the one of stdune.

Signed-off-by: Pierre Boutillier <pierre.boutillier@laposte.net>

* Configurator: try to call pkgconf before failing back to pkg-config

Pkgconf is a modern implementation of the "pkg-config freedesktop standard". Linux distros actually use pkgconf as their
pkg-config implementation and provide a in place replacement. (Homebrew packages both and is the last place I found where you can get the historical implementation).
It is always OK to call pkgconf for pkg-config all the CLI and outputs within the standard are following the standard :-).

Cygwin pkg-config package though provides pkgconf but does not provide the alias pkg-config forcing us to uptream the switch to the tool name instead of the standard.

Signed-off-by: Pierre Boutillier <pierre.boutillier@laposte.net>

* Configurator tests: toy pkg-config cleaned and renamed into pkgconf

Signed-off-by: Pierre Boutillier <pierre.boutillier@laposte.net>

* Configurator: add by default --personality=@target@ to pkgconf calls

Specifying a personality is only useful when cross-compiling (which you do when you use mingw on Windows) but
(nearly) never harmful as pkgconf installs a default.personality which it uses for all triplets (that parses
therefore the nearly) it hasn't a explicit personality for.

Signed-off-by: Pierre Boutillier <pierre.boutillier@laposte.net>

* Configurator: document new pkg-config plugin behaviors

Signed-off-by: Pierre Boutillier <pierre.boutillier@laposte.net>

---------

Signed-off-by: Pierre Boutillier <pierre.boutillier@laposte.net>

0 of 21 new or added lines in 1 file covered. (0.0%)

2 existing lines in 1 file now uncovered.

2933 of 42399 relevant lines covered (6.92%)

26868.01 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
21
13.08
-0.55% otherlibs/configurator/src/v1.ml

Uncovered Existing Lines

Lines Coverage ∆ File
2
13.08
-0.55% otherlibs/configurator/src/v1.ml
Jobs
ID Job ID Ran Files Coverage
1 28843.1 01 Nov 2024 08:20AM UTC 545
6.92
GitHub Action Run
Source Files on build 28843
  • Tree
  • List 545
  • Changed 6
  • Source Changed 1
  • Coverage Changed 1
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • f951a75f on github
  • Prev Build on main (#28842)
  • Next Build on main (#28853)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc