X-Git-Url: https://pd.if.org/git/?p=nbds;a=blobdiff_plain;f=makefile;fp=makefile;h=8b0738b6e80ba31cad2fcf9cef1d4ae24aab312b;hp=ebcaae63cf06fe3e60eefca8c779fbe5efc0b532;hb=a1d0b3ca99552878b1becf561d8f3291992aaa67;hpb=ef7c7fd495750e0d26762df9f1a297500553874f diff --git a/makefile b/makefile index ebcaae6..8b0738b 100644 --- a/makefile +++ b/makefile @@ -4,10 +4,10 @@ ################################################################################################### # Makefile for building programs with whole-program interfile optimization ################################################################################################### -OPT := -fwhole-program -combine -03 #-DNDEBUG -CFLAGS := -g -Wall -Werror -std=c99 $(OPT) -m64 #-DLIST_USE_HAZARD_POINTER -DENABLE_TRACE #-DTEST_STRING_KEYS #-DNBD32 +OPT := -O3 #-DNDEBUG #-fwhole-program -combine +CFLAGS := -g -Wall -Werror -std=c99 $(OPT) -lpthread #-DNBD32 -DENABLE_TRACE #-DLIST_USE_HAZARD_POINTER #-DTEST_STRING_KEYS # INCS := $(addprefix -I, include) -TESTS := output/map_test2 output/map_test1 output/txn_test +TESTS := output/map_test2 output/map_test1 output/txn_test output/rcu_test output/haz_test EXES := $(TESTS) RUNTIME_SRCS := runtime/runtime.c runtime/rcu.c runtime/lwt.c runtime/mem.c datatype/nstring.c runtime/hazard.c