Fix GPI-2 and enable TAGASPI #16

Manually merged
rarias merged 1 commits from fix-gpi2 into master 2025-09-12 14:23:15 +02:00
Owner

The rdma-core driver.h include is no longer installed:

56dd87acd2

So ibv_read_sysfs_file() is not defined. As the symbols is still
distributed, we simply add the missing prototype manually.

Similarly, the gaspi_size_t gaspi_get_system_mem() function is not
available from the gaspi public headers, so we define it in the
max_mem.c test.

Fixes: #7

The rdma-core driver.h include is no longer installed: https://github.com/linux-rdma/rdma-core/commit/56dd87acd29279c81adfcf95f9d4d14806a2b615 So ibv_read_sysfs_file() is not defined. As the symbols is still distributed, we simply add the missing prototype manually. Similarly, the gaspi_size_t gaspi_get_system_mem() function is not available from the gaspi public headers, so we define it in the max_mem.c test. Fixes: https://jungle.bsc.es/git/rarias/bscpkgs/issues/7
rarias added 1 commit 2025-09-12 13:41:47 +02:00
The rdma-core driver.h include is no longer installed:

 56dd87acd2

So ibv_read_sysfs_file() is not defined. As the symbols is still
distributed, we simply add the missing prototype manually.

Similarly, the gaspi_size_t gaspi_get_system_mem() function is not
available from the gaspi public headers, so we define it in the
max_mem.c test.

Fixes: #7
Author
Owner
hut% nix build -vL .#gpi-2 --print-out-paths
/nix/store/bw15waq306wb8c18zdxbnz5plb67fbsh-GPI-2-tagaspi-2021.11
hut% nix build -vL .#tagaspi --print-out-paths
/nix/store/dnzgivl220nkljxgwygimligv1bcdk16-tagaspi-2.0
hut% nix build -vL .#bsc-ci.all --print-out-paths
/nix/store/i682q123bcd3wxfs1fwzaisgvx066z4w-ci-all
``` hut% nix build -vL .#gpi-2 --print-out-paths /nix/store/bw15waq306wb8c18zdxbnz5plb67fbsh-GPI-2-tagaspi-2021.11 hut% nix build -vL .#tagaspi --print-out-paths /nix/store/dnzgivl220nkljxgwygimligv1bcdk16-tagaspi-2.0 hut% nix build -vL .#bsc-ci.all --print-out-paths /nix/store/i682q123bcd3wxfs1fwzaisgvx066z4w-ci-all ```
rarias requested review from abonerib 2025-09-12 13:48:42 +02:00
abonerib approved these changes 2025-09-12 14:18:45 +02:00
rarias force-pushed fix-gpi2 from 9c04aabd7a to 00dfe801f4 2025-09-12 14:21:26 +02:00 Compare
rarias manually merged commit 00dfe801f4 into master 2025-09-12 14:23:15 +02:00
This repo is archived. You cannot comment on pull requests.
No Reviewers
No Label
2 Participants
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: rarias/bscpkgs#16
No description provided.