summaryrefslogtreecommitdiff
path: root/wscript
diff options
context:
space:
mode:
authorLars-Dominik Braun <lars@6xq.net>2015-02-13 12:56:33 +0100
committerLars-Dominik Braun <lars@6xq.net>2015-05-02 21:36:44 +0200
commit1ca79e948aa4bf923b92757ea68a98b7bcd0767d (patch)
treead9a99251f881cfd47f502bb52e69dc2022ecc25 /wscript
parentfdbbacc9eb786cbcd05f579b43a38fb13f1de3aa (diff)
downloadpucket-1ca79e948aa4bf923b92757ea68a98b7bcd0767d.tar.gz
pucket-1ca79e948aa4bf923b92757ea68a98b7bcd0767d.tar.bz2
pucket-1ca79e948aa4bf923b92757ea68a98b7bcd0767d.zip
Drop support for atomic ops and bucket formats
Atomic ops are slower than locks, probably going to switch buckets to uint64_t later.
Diffstat (limited to 'wscript')
-rw-r--r--wscript2
1 files changed, 0 insertions, 2 deletions
diff --git a/wscript b/wscript
index 07c9deb..1f97094 100644
--- a/wscript
+++ b/wscript
@@ -14,8 +14,6 @@ def configure(conf):
conf.check_cc (lib='jpeg', uselib_store='jpeg')
conf.check_cfg (package='libpng', uselib_store='png', args=['--cflags', '--libs'], msg='Checking for library png')
conf.check_cc (lib='amdlibm', header_name='amdlibm.h', mandatory=False, define_name='HAVE_AMDLIBM', uselib_store='amdlibm')
- conf.check_cc (fragment='#include <stdint.h>\nint main() { uint32_t a = 4; __sync_bool_compare_and_swap(&a, 4, 5); }', define_name='HAVE_GCC_ATOMIC_OPS', msg='Checking for atomic CAS')
- conf.check_cc (fragment='#include <stdint.h>\nint main() { uint64_t a = 4; __sync_bool_compare_and_swap(&a, 4, 5); }', define_name='HAVE_GCC_64BIT_ATOMIC_OPS', msg='Checking for 64 bit atomic CAS')
# does not work
#conf.check_cc (function_name='__builtin_ia32_rdrand64_step', define_name='HAVE_RDRAND64')