mesa/src/util
Dylan Baker 3acc18fcf7 move pthread_setaffinity_np check to the build system
Rather than trying to encode all of the rules in a header, lets just put
them in the build system where they belong. This fixes the build on
FreeBSD, which does have pthraed_setaffinity_np, but it's in a
pthread_np.h, not behind _GNU_SOURCE. FreeBSD also implements cpu_set
slightly differently, so additional changes would be required to get it
working right there anyway.

v2: - fix #define in autotools

Fixes: 9f1bbbdbbd
       ("util: try to fix the Android and MacOS build")
Cc: Emil Velikov <emil.velikov@collabora.com>
Reviewed-by: Marek Olšák <marek.olsak@amd.com>
Reviewed-by: Eric Engestrom <eric.engestrom@intel.com>
2018-09-17 13:16:46 -07:00
..
sha1
tests util/string_buffer: fix warning in tests 2018-07-18 08:29:51 -07:00
xmlpool meson: consolidate langs lists 2018-09-06 15:22:24 +01:00
.gitignore
00-mesa-defaults.conf st/mesa, gallium: add a workaround for No Mans Sky 2018-08-30 09:54:40 +10:00
Android.mk util: Android.mk: Convert implicit rules to static pattern rules 2018-08-02 15:42:23 -06:00
bitscan.c
bitscan.h
bitset.h
build_id.c
build_id.h
crc32.c
crc32.h
debug.c
debug.h
disk_cache.c Shorten u_queue names 2018-07-04 22:03:35 -04:00
disk_cache.h util/disk_cache: Fix disk_cache_get_function_timestamp with disabled cache. 2018-07-20 12:09:19 +02:00
format_r11g11b10f.h
format_rgb9e5.h
format_srgb.h
format_srgb.py python: Use the print function 2018-07-06 10:04:22 -07:00
futex.h
half_float.c util: mark s as MAYBE_UNUSED in _mesa_half_to_unorm8 2018-08-18 10:34:12 +10:00
half_float.h mesa: add ASTC 2D LDR decoder 2018-07-31 18:09:57 -04:00
hash_table.c util/hash_table: add helper to remove entry by key 2018-07-13 14:20:49 -07:00
hash_table.h util/hash_table: add helper to remove entry by key 2018-07-13 14:20:49 -07:00
list.h util/list: Make some helpers take const lists 2018-07-29 13:39:35 -07:00
macros.h Require Visual Studio 2015. 2018-09-10 10:10:16 +01:00
Makefile.am Revert "configure: allow building with python3" 2018-08-24 11:14:15 +01:00
Makefile.sources move u_math to src/util 2018-09-07 10:21:26 -07:00
merge_driinfo.py
mesa-sha1.c
mesa-sha1.h
mesa-sha1_test.c
meson.build mesa/meson: 32bit xmlconfig linkage 2018-09-10 08:57:42 -07:00
os_time.c
os_time.h
ralloc.c
ralloc.h
rand_xor.c
rand_xor.h
rb_tree.c util: rb-tree: A simple, invasive, red-black tree 2018-07-05 11:57:45 +01:00
rb_tree.h util: rb_tree: add safe iterators 2018-08-22 17:49:36 +01:00
register_allocate.c
register_allocate.h
rgtc.c
rgtc.h
roundeven_test.c
rounding.h
SConscript
set.c util/set: helper to remove entry by key 2018-07-12 14:03:51 -07:00
set.h util/set: helper to remove entry by key 2018-07-12 14:03:51 -07:00
simple_list.h
simple_mtx.h
slab.c
slab.h
string_buffer.c
string_buffer.h
strndup.h
strtod.c
strtod.h
texcompress_rgtc_tmp.h
u_atomic.c
u_atomic.h
u_atomic_test.c
u_dynarray.h util/dynarray: add a clone function 2018-08-22 14:41:26 -07:00
u_endian.h
u_math.c move u_math to src/util 2018-09-07 10:21:26 -07:00
u_math.h move u_math to src/util 2018-09-07 10:21:26 -07:00
u_process.c util: better handle program names from wine 2018-08-18 09:20:39 +10:00
u_process.h util: move process.[ch] to u_process.[ch] 2018-08-01 12:47:16 -07:00
u_queue.c kutil/queue: use util_snprintf() in util_queue_init 2018-08-02 10:06:44 +03:00
u_queue.h kutil/queue: add a process name into a thread name 2018-07-04 21:54:39 -04:00
u_string.h mesa/util: add missing va_end() after va_copy() 2018-09-06 17:33:27 +01:00
u_thread.h move pthread_setaffinity_np check to the build system 2018-09-17 13:16:46 -07:00
u_vector.c
u_vector.h
vma.c
vma.h
xmlconfig.c xmlconfig: add kernel_driver device attribute 2018-08-17 17:16:32 +01:00
xmlconfig.h xmlconfig: add kernel_driver device attribute 2018-08-17 17:16:32 +01:00
xmlpool.h