ADT
arm-eh
ast-experimental
enum
forall-pointer-decay
jacob/cs343-translation
new-ast
new-ast-unique-expr
pthread-emulation
qualifiedEnum
|
Last change
on this file since 912ccbcf was 807a632, checked in by Thierry Delisle <tdelisle@…>, 6 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 |
|
|---|
| 3 | CXXFLAGS = -O3 -g -Wall -Wextra -std=c++17
|
|---|
| 4 | LDFLAGS = -pthread -latomic
|
|---|
| 5 |
|
|---|
| 6 | push:
|
|---|
| 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 |
|
|---|
| 9 | relaxed_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 |
|
|---|
| 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.