ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
Last change
on this file since f1791a4 was
4e39f51,
checked in by Thierry Delisle <tdelisle@…>, 4 years ago
|
More work towards dynamically picking a framework, however initial-exec tls is not working correctly
|
-
Property mode set to
100644
|
File size:
593 bytes
|
Line | |
---|
1 | all: fibre.so pthread.so cforall.so |
---|
2 | |
---|
3 | clean: |
---|
4 | rm -rf fibre.so pthread.so |
---|
5 | |
---|
6 | CXXFLAGS=-Wall -Wextra -O3 -g -fpic -std=c++17 -pthread -ftls-model=initial-exec |
---|
7 | |
---|
8 | pthread.so: pthread.cpp Makefile |
---|
9 | $(CXX) $(CXXFLAGS) -shared -o ${@} ${<} |
---|
10 | |
---|
11 | fibre.so: fibre.cpp Makefile |
---|
12 | $(CXX) $(CXXFLAGS) -shared -o ${@} ${<} -lfibre |
---|
13 | |
---|
14 | CFAINC=${HOME}/local/include/cfa-dev |
---|
15 | CFALIB=${HOME}/local/lib/cfa-dev/x64-debug |
---|
16 | CFAFLAGS=-z execstack -I${CFAINC} -I${CFAINC}/concurrency -L${CFALIB} -Wl,-rpath,${CFALIB} |
---|
17 | |
---|
18 | cforall.so: cforall.cpp Makefile |
---|
19 | $(CXX) $(CXXFLAGS) $(CFAFLAGS) -shared -o ${@} ${<} -lcfathread -lcfa -ldl -lm |
---|
Note: See
TracBrowser
for help on using the repository browser.