diff options
author | Lars-Dominik Braun <lars@6xq.net> | 2015-02-13 12:56:33 +0100 |
---|---|---|
committer | Lars-Dominik Braun <lars@6xq.net> | 2015-05-02 21:36:44 +0200 |
commit | 1ca79e948aa4bf923b92757ea68a98b7bcd0767d (patch) | |
tree | ad9a99251f881cfd47f502bb52e69dc2022ecc25 /wscript | |
parent | fdbbacc9eb786cbcd05f579b43a38fb13f1de3aa (diff) | |
download | pucket-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-- | wscript | 2 |
1 files changed, 0 insertions, 2 deletions
@@ -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') |