Skip to content

Commit 13de5be

Browse files
authored
Merge 5d16570 into 9bee086
2 parents 9bee086 + 5d16570 commit 13de5be

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

42 files changed

+7769
-83
lines changed

.gitignore

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,16 @@ tests/sched.h
1515
tests/semaphore.h
1616
tests/benchlib.o
1717
tests/SIZES.*
18-
tests/*.log
18+
tests/*.log
19+
config\.status
20+
config\.log
21+
config\.h
22+
config\.h\.in~
23+
autom4te\.cache/
24+
GNUmakefile
25+
!contrib/QueueUserAPCEx/*makefile
26+
PTHREADS-BUILT/
27+
PTHREADS-BUILT-MinGW/
28+
*.sys
29+
*.inlined_static_stamp
30+
pthreads-w32-*-release

.travis.yml

Lines changed: 66 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,66 @@
1+
# See YAML format https://en.wikipedia.org/wiki/YAML
2+
# See Travis CI (Continuous Integration) https://docs.travis-ci.com/
3+
4+
5+
language: cpp
6+
# XXX - only build my branch
7+
branches:
8+
only:
9+
- privat
10+
- CI
11+
12+
env:
13+
global:
14+
- CODECOV_TOKEN=:1eef4895-a479-44ae-aade-af4d1c5dc286
15+
16+
env:
17+
- PLATFORM="mingw64" BITSIZE=64 HOST="x86_64-w64-mingw32"
18+
- PLATFORM="mingw32" BITSIZE=32 HOST="i686-w64-mingw32"
19+
20+
addons:
21+
apt:
22+
packages:
23+
- mingw-w64
24+
25+
before_script:
26+
- export CC=$HOST-gcc CXX=$HOST-g++
27+
- export GNUMAKEFLAGS='--jobs --no-print-directory --environment-overrides --warn-undefined-variables'
28+
script:
29+
# - autoreconf -iv > build.log 2>&1 || (cat build.log && exit 1)
30+
- ./configure --host=$HOST >> build.log 2>&1 || (cat build.log && exit 1)
31+
- make all VERBOSE=1 >> build.log 2>&1 || (cat build.log && exit 1)
32+
# - make dist >> build.log 2>&1 || (cat build.log && exit 1)
33+
34+
after_success:
35+
- curl --upload-file ./build.log https://transfer.sh/build.log
36+
37+
before_deploy: echo 'ready?'
38+
39+
deploy:
40+
# Don't delete build artifacts
41+
skip_cleanup: true
42+
# GitHub Releases works only for tags, not for branches!
43+
provider: releases
44+
api_key:
45+
secure: tS2Xqo/H4LZo2iI0Ow8ckqbJPRi56Yzk3xvBIrDto2Lu9kLawNpJj+C5NGeHlq2dIjg7syVVfjPk+5HLTsHsK4CPzjIggxsqRWRj0GkO0Wpw03pQuM1zpFmgJBo1vn7roGYJKmYwiEL81ts3Cc8UoBEXAOyR8LGYGYTP8AAZPqYLttfiZABBoBU+3mOetlI5iknKvhm/1oUSsP87yEIgBbdccWXXtSNUCrjudFl4+ypvQhXufLZE63h+R29OeVDYYw7LUWU59TPT4tTHYaopHB2D9TRT1PDLQ01IK3rGwhRzkr6FmQBJDdnki4v2V+uVcdgveJmkkorKg53fOGFdMiahipkRQo6RECQdehw2xMLsZlTZfL6mGCZAX9/7vs+qeXwWjmy1VWihuQCE5Ds4R3BeVAhV4zqcRlFNgYm2INm2kSJTW1rLDaS0uD5/dDhOC1OPATPsLJcdyiJ5LppkOrgMHD809ETP0KSmweXZsmx/sHISXrFvPF/O5r5eGxIyYfFce9hm0UDm7EoUIPH2j0FWp9pxCx0UKDRsKE8285XLB25C/3RPDXLpzja0xzEBUshnVTCP2jO9bwTTJCtJSufr/0FkWJo6XA9xVwSm11UMnhu1ZfXIuCZrAW/kKhFZcaqC6pGVJ9jJvEPABHARJXPNXMKtOBJps9nV3PvWEnI=
46+
# enable wildcards
47+
file_glob: true
48+
file:
49+
- "example.*.tar.gz"
50+
- "example-1.*.zip"
51+
on:
52+
condition: $TRAVIS_OS_NAME = "linux"
53+
tags: true
54+
repo: sgeto/example
55+
56+
notifications:
57+
# Pull Request builds do not trigger email notifications.
58+
email:
59+
recipients:
60+
- autostart.ini@gmail
61+
template:
62+
- "Pthreads-win32-build #%{build_number} (%{commit} by %{author}): %{message}"
63+
- "See details at %{build_url}"
64+
# change: send a notification when the build status changes (default)
65+
on_success: change
66+
on_failure: always

COPYING

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ Pthreads-win32 is covered by the GNU Lesser General Public License
3232
A copy of the GNU Lesser General Public License is distributed with
3333
pthreads-win32 under the filename:
3434

35-
COPYING.FSF
35+
LICENSE.lgpl-2.1
3636

3737
You should have received a copy of the version 2.1 GNU Lesser General
3838
Public License with pthreads-win32; if not, write to:

GNUmakefile.in

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -39,10 +39,10 @@ builddir = @builddir@
3939
VPATH = @srcdir@
4040

4141
# FIXME: Replace these path name references with autoconf standards.
42-
DESTROOT = ../PTHREADS-BUILT
43-
DLLDEST = $(DESTROOT)/bin
44-
LIBDEST = $(DESTROOT)/lib
45-
HDRDEST = $(DESTROOT)/include
42+
DESTROOT = PTHREADS-BUILT
43+
DLLDEST = $(DESTROOT)/bin
44+
LIBDEST = $(DESTROOT)/lib
45+
HDRDEST = $(DESTROOT)/include
4646
# i.e.
4747
#
4848
prefix = @prefix@
@@ -168,7 +168,7 @@ GCE_CFLAGS = $(PTW32_FLAGS) -mthreads
168168
## Mingw
169169
#MAKE ?= make
170170
DEFS = @DEFS@ -DPTW32_BUILD
171-
CFLAGS = $(OPT) $(XOPT) $(ARCH) -I. -I${srcdir} $(DEFS) -Wall
171+
CFLAGS = $(OPT) $(XOPT) $(ARCH) -I. -I${srcdir} $(DEFS) -Wall
172172

173173
OBJEXT = @OBJEXT@
174174
RESEXT = @OBJEXT@
@@ -201,6 +201,7 @@ PTHREAD_DEF = pthread.def
201201
help:
202202
@ echo "Run one of the following command lines:"
203203
@ echo "$(MAKE) clean all (build targets GC, GCE, GC-static, GCE-static)"
204+
@ echo "$(MAKE) clean install (to install targets GC, GCE, GC-static, GCE-static ["$(MAKE) clean all" must be run first!!!])"
204205
@ echo "$(MAKE) clean all-tests (build and test all non-debug targets below)"
205206
@ echo "$(MAKE) clean GC (to build the GNU C dll with C cleanup code)"
206207
@ echo "$(MAKE) clean GC-debug (to build the GNU C debug dll with C cleanup code)"
File renamed without changes.

0 commit comments

Comments
 (0)