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
|
Rev | Line | |
---|
[4e39f51] | 1 | all: fibre.so pthread.so cforall.so |
---|
[29185fc] | 2 | |
---|
| 3 | clean: |
---|
| 4 | rm -rf fibre.so pthread.so |
---|
| 5 | |
---|
[4e39f51] | 6 | CXXFLAGS=-Wall -Wextra -O3 -g -fpic -std=c++17 -pthread -ftls-model=initial-exec |
---|
| 7 | |
---|
[29185fc] | 8 | pthread.so: pthread.cpp Makefile |
---|
[4e39f51] | 9 | $(CXX) $(CXXFLAGS) -shared -o ${@} ${<} |
---|
[29185fc] | 10 | |
---|
| 11 | fibre.so: fibre.cpp Makefile |
---|
[4e39f51] | 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.