pkg-config variables for HiGHS

Chen Shengqi harry at debian.org
Thu Dec 25 17:47:45 GMT 2025


Hi,

> -----Original Message-----
> From: Michael Orlitzky <michael at orlitzky.com>
> Sent: Thursday, December 25, 2025 12:02 AM
> To: harry at debian.org
> Cc: debian-science-maintainers at alioth-lists.debian.net
> Subject: pkg-config variables for HiGHS
> 
> Hello, we are working on adding HiGHS to SageMath, and while reviewing
> the PR, I noticed some workarounds in the meson file to detect
> libhighs. They are apparently due to the following in highs.pc from
> the libhighs-dev (1.12.0+ds1-1) package:
> 
>   prefix=/usr
>   libdir=/usr/debian/tmp/usr/lib/x86_64-linux-gnu
>   includedir=/usr/debian/tmp/usr/include/highs
> 
> I think that is simply a bug? If so, it will take a little while to
> get the HiGHS PR merged -- we can probably forego the hacks and wait
> for a fix.

Yes this is certainly not expected. highs is built using skbuild, which calls cmake
Itself and prevents many conventions used by dh (e.g. DESTDIR). So I have to do
some ugly things in d/rules. And this was something I missed out.

Please try the new highs_1.12.0+ds1-2 (just uploaded), it should fix this.

Thanks,
Shengqi Chen

> Thanks (and happy holidays).


More information about the debian-science-maintainers mailing list