ADTarm-ehast-experimentalenumforall-pointer-decayjacob/cs343-translationnew-ast-unique-exprpthread-emulationqualifiedEnum
Last change
on this file since dbfae7b was
72b1800,
checked in by Thierry Delisle <tdelisle@…>, 4 years ago
|
Some previous in progress work.
Commited only so it stops showing in my git status.
|
-
Property mode set to
100644
|
File size:
765 bytes
|
Line | |
---|
1 | all: fibre.so libthrd-pthread.so.so cforall.so |
---|
2 | |
---|
3 | clean: |
---|
4 | rm -rf fibre.so libthrd-pthread.so.so cforall.so |
---|
5 | |
---|
6 | CXXFLAGS=-Wall -Wextra -O3 -g -fpic -std=c++17 -pthread -ftls-model=initial-exec |
---|
7 | |
---|
8 | libthrd-pthread.so: thread.cpp thread.hpp Makefile |
---|
9 | $(CXX) $(CXXFLAGS) -shared -o $@ $< -DWITH_PTHREADS |
---|
10 | |
---|
11 | libthrd-fibre.so: thread.cpp thread.hpp Makefile |
---|
12 | $(CXX) $(CXXFLAGS) -shared -o $@ $< -DWITH_LIBFIBRE -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 | libthrd-cforall.so: thread.cpp thread.hpp Makefile |
---|
19 | $(CXX) $(CXXFLAGS) $(CFAFLAGS) -shared -o $@ $< -DWITH_CFORALL -Wl,--push-state,--no-as-needed -lcfathread -lcfa -ldl -lm -Wl,--pop-state |
---|
Note: See
TracBrowser
for help on using the repository browser.