- Timestamp:
- Sep 30, 2020, 5:44:53 PM (4 years ago)
- Branches:
- ADT, arm-eh, ast-experimental, enum, forall-pointer-decay, jacob/cs343-translation, master, new-ast-unique-expr, pthread-emulation, qualifiedEnum
- Children:
- 038110a
- Parents:
- 29185fc
- Location:
- doc/theses/thierry_delisle_PhD/code/readQ_example/thrdlib
- Files:
-
- 1 added
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
doc/theses/thierry_delisle_PhD/code/readQ_example/thrdlib/Makefile
r29185fc r4e39f51 1 all: fibre.so pthread.so 1 all: fibre.so pthread.so cforall.so 2 2 3 3 clean: 4 4 rm -rf fibre.so pthread.so 5 5 6 CXXFLAGS=-Wall -Wextra -O3 -g -fpic -std=c++17 -pthread -ftls-model=initial-exec 7 6 8 pthread.so: pthread.cpp Makefile 7 $(CXX) -Wall -Wextra -O3 -g -shared -o ${@} -pthread -fpic${<}9 $(CXX) $(CXXFLAGS) -shared -o ${@} ${<} 8 10 9 11 fibre.so: fibre.cpp Makefile 10 $(CXX) -Wall -Wextra -O3 -g -shared -o ${@} -pthread -fpic ${<} -lfibre 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 -
doc/theses/thierry_delisle_PhD/code/readQ_example/thrdlib/thread.cpp
r29185fc r4e39f51 28 28 29 29 const char * error = dlerror(); 30 if ( error ) {30 if ( required && error ) { 31 31 std::cerr << "Fetching symbol '" << symbol << "' failed with error '" << error << "'\n"; 32 32 std::abort();
Note: See TracChangeset
for help on using the changeset viewer.