-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
3 changed files
with
69 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
diff -ruN pthreads4w-code-07053a521b0a9deb6db2a649cde1f828f2eb1f4f/Makefile pthreads4w-code-new/Makefile | ||
--- pthreads4w-code-07053a521b0a9deb6db2a649cde1f828f2eb1f4f/Makefile 2018-08-08 05:47:40.000000000 -0500 | ||
+++ pthreads4w-code-new/Makefile 2019-04-26 14:14:15.719088066 -0500 | ||
@@ -8,7 +8,8 @@ | ||
PTW32_VER = 3$(EXTRAVERSION) | ||
PTW32_VER_DEBUG= $(PTW32_VER)d | ||
|
||
-DESTROOT = ..\PTHREADS-BUILT | ||
+# DESTROOT = ..\PTHREADS-BUILT | ||
+DESTROOT = $(PREFIX) | ||
|
||
DLLDEST = $(DESTROOT)\bin | ||
LIBDEST = $(DESTROOT)\lib |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
nmake /E clean VC | ||
nmake /E clean VC-debug | ||
nmake /E clean VC-static | ||
nmake /E clean VC-static-debug | ||
nmake install | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
# To upload this file after building... | ||
# | ||
# anaconda login | ||
# cd \programdata\miniconda3\conda-bld\win-64 | ||
# anaconda upload -u dasdevelopers pthreads4w-3.0.0-hfa6e2cd_0.tar.bz2 | ||
# | ||
# To use this package | ||
# conda install -c dasdevelopers pthreads4w | ||
|
||
|
||
|
||
{% set name = "pthreads4w" %} | ||
{% set version = "3.0.0" %} | ||
{% set sha256 = "b86741aa1c4600905ed3cb642269225f9ccee17c864e8b2448f730c3680c1966" %} | ||
|
||
|
||
package: | ||
name: {{ name }} | ||
version: {{ version }} | ||
|
||
source: | ||
fn: pthreads4w-{{ version }}.tar.gz | ||
url: http://das2.org/das2py/files/pthreads4w-{{ version }}.tar.gz | ||
sha256: {{ sha256 }} | ||
|
||
build: | ||
# This is the zeroth build | ||
number: 0 | ||
|
||
test: | ||
commands: | ||
- if not exist %LIBRARY_INC%\pthread.h exit 1 | ||
- if not exist %LIBRARY_BIN%\pthreadVC3.dll exit 1 | ||
- if not exist %LIBRARY_LIB%\pthreadVC3.lib exit 1 | ||
- if not exist %LIBRARY_BIN%\pthreadVC3d.dll exit 1 | ||
- if not exist %LIBRARY_LIB%\pthreadVC3d.lib exit 1 | ||
- if not exist %LIBRARY_LIB%\libpthreadVC3.lib exit 1 | ||
- if not exist %LIBRARY_LIB%\libpthreadVC3d.lib exit 1 | ||
|
||
about: | ||
home: https://sourceforge.net/projects/pthreads4w/ | ||
license: APACHE | ||
license_file: LICENSE | ||
summary: An implementation of the POSIX threads API for Windows | ||
|
||
requirements: | ||
build: | ||
- {{ compiler('c') }} | ||
|