← All tasks
cpparrayfire/arrayfire #3295Not a task: not reproduced

[BUG] `make install` installs (copies) system-provided libforge

envgap__arrayfire__arrayfire-3295

01 / FAILURE SIGNATURE

As reported upstream

No identifying execution failure has been captured.
Not a benchmark task.
  • In a clean container the reported failure did not reproduce, or the known fix did not make the project run.

02 / ENVIRONMENT RECIPE

Base commit
51a4f6936a1ef0ecb93914ff1d464a72d111e3b1
Manifest
CMakeLists.txt
Reproduce
Awaiting issue-specific recipe
Run under trace
Awaiting a meaningful runtime command

03 / ORIGINAL ISSUE TEXT

arrayfire/arrayfire #3295 · read the original issue
 Even when af is configured to use a system provided libforge, libforge gets installed



Description

===========

AF happily finds a system provided libforge and uses it for building, but insists on installing it.



Reproducible Code and/or Steps

------------------------------

- install libforge and accompanying devel package

- configure AF: `cmake -DAF_BUILD_FORGE=OFF ...`

- make

- `DESTDIR=/tmp/arrayfire-3.8.2-0.x86_64/ make install`:  

```

[   10s] -- Installing: /tmp/arrayfire-3.8.2-0.x86_64/usr/lib64/libforge.so.1.0.8

[   10s] -- Installing: /tmp/arrayfire-3.8.2-0.x86_64/usr/lib64/libforge.so.1

[   10s] -- Up-to-date: /tmp/arrayfire-3.8.2-0.x86_64/usr/lib64/libforge.so.1.0.8

```



https://github.com/arrayfire/arrayfire/blob/2dff454176565900621787ebec8f52c8df426266/CMakeModules/AFconfigure_forge_dep.cmake#L76-L88



Its the job of the package manager to pull in libforge when arrayfire is installed. libforge is no more special than any other system library.



Checklist

---------



- [x] Using the latest available ArrayFire release

- [N/A] GPU drivers are up to date

Continue on GitHub ↗

04 / LABELS

Labels from the report text only; not yet run

No supported category has been assigned.

Label rules and the text that matched
[]