summaryrefslogtreecommitdiff
path: root/posix_api/livermore/pthread/wscript
diff options
context:
space:
mode:
authorMarçal Comajoan Cara <mcomajoancara@gmail.com>2018-12-09 15:16:30 +0100
committerJoel Sherrill <joel@rtems.org>2018-12-09 16:46:14 -0600
commitee11ed7f8d16902deb8dce9c351569c082d5cdfe (patch)
tree33d08ea6880cf034becbac809cac7c6b2e9ae3e8 /posix_api/livermore/pthread/wscript
parent276a025727c59daaed5dd7aaa1c2e352f74f93cd (diff)
Add some Livermore pthread examples (GCI 2013/2018)
The initial conversion was done by Christopher Kerl as part of GCI 2013. Finally merged as part of GCI 2018. This is part of the Livermore pthread examples from https://computing.llnl.gov/tutorials/pthreads/ Closes #2087.
Diffstat (limited to 'posix_api/livermore/pthread/wscript')
-rw-r--r--posix_api/livermore/pthread/wscript13
1 files changed, 13 insertions, 0 deletions
diff --git a/posix_api/livermore/pthread/wscript b/posix_api/livermore/pthread/wscript
new file mode 100644
index 0000000..6011a02
--- /dev/null
+++ b/posix_api/livermore/pthread/wscript
@@ -0,0 +1,13 @@
+# Copyright 2018 Marçal Comajoan Cara
+#
+# This file's license is 2-clause BSD as in this distribution's LICENSE.2 file.
+#
+
+import rtems_waf.rtems as rtems
+
+def build(bld):
+ rtems.build(bld)
+
+ bld(features = 'c cprogram',
+ target = 'pthread.exe',
+ source = ['init.c'])