source: doc/theses/thierry_delisle_PhD/code/Makefile @ 6791213

ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-astnew-ast-unique-exprpthread-emulationqualifiedEnum
Last change on this file since 6791213 was 807a632, checked in by Thierry Delisle <tdelisle@…>, 5 years ago

Adding current version of the C++ relaxed_list code and benchmark

  • Property mode set to 100644
File size: 749 bytes
Line 
1
2
3CXXFLAGS = -O3 -g -Wall -Wextra -std=c++17
4LDFLAGS = -pthread -latomic
5
6push:
7        clang++ relaxed_list.cpp -g -Wall -Wextra -std=c++17 -fsyntax-only &&  rsync -av relaxed_list.cpp relaxed_list.hpp utils.hpp assert.hpp scale.sh plg7b:~/workspace/sched/.
8
9relaxed_list: $(firstword $(MAKEFILE_LIST)) | build
10        clang++ relaxed_list.cpp $(CXXFLAGS) $(LDFLAGS) -lpng -MMD -MF build/$(@).d -o $(@)
11
12-include build/relaxed_list.d
13
14layout.ast: $(firstword $(MAKEFILE_LIST)) | build
15        clang++ relaxed_list_layout.cpp $(CXXFLAGS) -MMD -MF build/$(@).d -MT $(@) -E -o build/$(@).ii
16        clang++ -Xclang -fdump-record-layouts -fsyntax-only $(CXXFLAGS) build/$(@).ii > build/layout.ast.raw
17        cat build/$(@).raw > $(@)
18
19-include build/layout.ast.d
20
21build:
22        mkdir -p build
Note: See TracBrowser for help on using the repository browser.