diff options
author | Jan Vorlicek <janvorli@microsoft.com> | 2017-10-07 11:56:24 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-10-07 11:56:24 +0200 |
commit | 909a772b034e1259507f3a84b8e7477c688095ca (patch) | |
tree | 810dbfbe3dcef6d34c4e5011c3381ce275399045 /src/pal | |
parent | b230bf9f9f71284f913724f33ac08979b5adee73 (diff) | |
download | coreclr-909a772b034e1259507f3a84b8e7477c688095ca.tar.gz coreclr-909a772b034e1259507f3a84b8e7477c688095ca.tar.bz2 coreclr-909a772b034e1259507f3a84b8e7477c688095ca.zip |
Fix numa build break (#14370)
This change fixes a break in build of coreclr on machines with libnuma
installed. The problem was that the numa header contains a couple of
inlined functions and we were using one of them. That made it to
have a hard reference to a function from the numa library that we
need to be soft so that coreclr can work even on machines without
the libnuma installed.
Diffstat (limited to 'src/pal')
-rw-r--r-- | src/pal/src/numa/numashim.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/pal/src/numa/numashim.h b/src/pal/src/numa/numashim.h index 428fc8822a..dd7f58d6de 100644 --- a/src/pal/src/numa/numashim.h +++ b/src/pal/src/numa/numashim.h @@ -13,6 +13,8 @@ #include <numa.h> #include <numaif.h> +#define numa_free_cpumask numa_bitmask_free + // List of all functions from the numa library that are used #define FOR_ALL_NUMA_FUNCTIONS \ PER_FUNCTION_BLOCK(numa_available) \ |