Skip to content

Commit 2355b98

Browse files
committed
Fix build with hwloc support disabled
`umfMemspaceCreateFromNumaArray` is defined in `memspaces/memspace_numa.c` which is only added to the build if hwloc is enabled. When hwloc is enabled this is added as an optional symbol to the linker script through `UMF_OPTIONAL_SYMBOLS_LINUX`. When hwloc is disabled this symbol isn't available so this linker script would fail, I believe the correct fix is just to remove the symbol from the linker script.
1 parent ade200a commit 2355b98

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

src/libumf.map.in

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@ UMF_1.0 {
3737
umfMempolicySetCustomSplitPartitions;
3838
umfMempolicySetInterleavePartSize;
3939
umfMemspaceClone;
40-
umfMemspaceCreateFromNumaArray;
4140
umfMemspaceDestroy;
4241
umfMemspaceFilterByCapacity;
4342
umfMemspaceFilterById;

0 commit comments

Comments
 (0)