ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-astnew-ast-unique-exprpthread-emulationqualifiedEnum
Last change
on this file since 16ee228 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
|
Rev | Line | |
---|
[9421f3d8] | 1 | |
---|
| 2 | |
---|
[807a632] | 3 | CXXFLAGS = -O3 -g -Wall -Wextra -std=c++17 |
---|
[9421f3d8] | 4 | LDFLAGS = -pthread -latomic |
---|
| 5 | |
---|
| 6 | push: |
---|
[807a632] | 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/. |
---|
[9421f3d8] | 8 | |
---|
| 9 | relaxed_list: $(firstword $(MAKEFILE_LIST)) | build |
---|
[807a632] | 10 | clang++ relaxed_list.cpp $(CXXFLAGS) $(LDFLAGS) -lpng -MMD -MF build/$(@).d -o $(@) |
---|
[9421f3d8] | 11 | |
---|
| 12 | -include build/relaxed_list.d |
---|
| 13 | |
---|
| 14 | layout.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 | |
---|
| 21 | build: |
---|
| 22 | mkdir -p build |
---|
Note: See
TracBrowser
for help on using the repository browser.