-
-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #6 from ocefpaf/1.0.4
update to 1.0.4
- Loading branch information
Showing
50 changed files
with
7,689 additions
and
162 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
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 @@ | ||
This file is automatically generated by conda-smithy. To change any matrix elements, you should change conda-smithy's input conda_build_config.yaml and re-render the recipe, rather than editing these files directly. |
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,10 @@ | ||
c_compiler: | ||
- vs2015 | ||
pin_run_as_build: | ||
vc: | ||
max_pin: x | ||
vc: | ||
- '14' | ||
zip_keys: | ||
- - vc | ||
- c_compiler |
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,23 @@ | ||
version: 2 | ||
|
||
jobs: | ||
build: | ||
working_directory: ~/test | ||
machine: true | ||
branches: | ||
ignore: | ||
- /.*/ | ||
steps: | ||
- run: | ||
# The Circle-CI build should not be active, but if this is not true for some reason, do a fast finish. | ||
command: exit 0 | ||
|
||
workflows: | ||
version: 2 | ||
build_and_test: | ||
jobs: | ||
- build: | ||
filters: | ||
branches: | ||
ignore: | ||
- /.*/ |
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 |
---|---|---|
@@ -1,5 +1,7 @@ | ||
* text=auto | ||
|
||
*.patch binary | ||
*.diff binary | ||
meta.yaml text eol=lf | ||
build.sh text eol=lf | ||
bld.bat text eol=crlf |
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,15 @@ | ||
Thanks for your interest in helping out conda-forge. | ||
|
||
Whether you are brand new or a seasoned maintainer, we always appreciate | ||
feedback from the community about how we can improve conda-forge. If you | ||
are submitting a PR or issue, please fill out the respective template. Should | ||
any questions arise please feel free to ask the maintainer team of the | ||
respective feedstock or reach out to `@conda-forge/core` for more complex | ||
issues. | ||
|
||
In the case of any issues reported, please be sure to demonstrate the relevant | ||
issue (even if it is an absence of a feature). Providing this information will | ||
help busy maintainers understand what it is you hope to accomplish. Also this | ||
will help provide them clues as to what might be going wrong. These examples | ||
can also be reused as tests in the build to ensure further packages meet these | ||
criteria. This is requested to help you get timely and relevant feedback. :) |
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,25 @@ | ||
<!-- | ||
Thanks for reporting your issue. | ||
Please fill out the sections below. | ||
--> | ||
Issue: | ||
|
||
<br/> | ||
Environment (<code>conda list</code>): | ||
<details> | ||
|
||
``` | ||
$ conda list | ||
``` | ||
</details> | ||
|
||
<br/> | ||
Details about <code>conda</code> and system ( <code>conda info</code> ): | ||
<details> | ||
|
||
``` | ||
$ conda info | ||
``` | ||
</details> |
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,18 @@ | ||
<!-- | ||
Thank you for pull request. | ||
Below are a few things we ask you kindly to self-check before getting a review. Remove checks that are not relevant. | ||
--> | ||
Checklist | ||
* [ ] Used a fork of the feedstock to propose changes | ||
* [ ] Bumped the build number (if the version is unchanged) | ||
* [ ] Reset the build number to `0` (if the version changed) | ||
* [ ] [Re-rendered]( https://conda-forge.org/docs/conda_smithy.html#how-to-re-render ) with the latest `conda-smithy` | ||
* [ ] Ensured the license file is being packaged. | ||
|
||
<!-- | ||
Please note any issues this fixes using [closing keywords]( https://help.github.com/articles/closing-issues-using-keywords/ ): | ||
--> | ||
|
||
<!-- | ||
Please add any other relevant info below: | ||
--> |
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 |
---|---|---|
@@ -1,3 +1,3 @@ | ||
*.pyc | ||
|
||
build_artefacts | ||
build_artifacts |
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
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
This file was deleted.
Oops, something went wrong.
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 |
---|---|---|
@@ -1,8 +1,14 @@ | ||
copy c99wrap.exe %LIBRARY_BIN%\c99wrap.exe | ||
copy c99conv.exe %LIBRARY_BIN%\c99conv.exe | ||
copy makedef %LIBRARY_BIN%\makedef | ||
|
||
rem Have to run the test here as cl.exe is only | ||
rem available during building. | ||
c99wrap cl /EP /P %RECIPE_DIR%\unit.c | ||
copy "%RECIPE_DIR%\build.sh" . | ||
FOR /F "delims=" %%i IN ('cygpath.exe -u "%LIBRARY_PREFIX%"') DO set "LIBRARY_PREFIX=%%i" | ||
FOR /F "delims=" %%i IN ('cygpath.exe -u "%PREFIX%"') DO set "PREFIX=%%i" | ||
FOR /F "delims=" %%i IN ('cygpath.exe -u "%PYTHON%"') DO set "PYTHON=%%i" | ||
FOR /F "delims=" %%i IN ('cygpath.exe -u "%RECIPE_DIR%"') DO set "RECIPE_DIR=%%i" | ||
FOR /F "delims=" %%i IN ('cygpath.exe -u "%SP_DIR%"') DO set "SP_DIR=%%i" | ||
FOR /F "delims=" %%i IN ('cygpath.exe -u "%SRC_DIR%"') DO set "SRC_DIR=%%i" | ||
FOR /F "delims=" %%i IN ('cygpath.exe -u "%STDLIB_DIR%"') DO set "STDLIB_DIR=%%i" | ||
set MSYSTEM=MINGW%ARCH% | ||
set MSYS2_PATH_TYPE=inherit | ||
set CHERE_INVOKING=1 | ||
bash -lc ./build.sh | ||
if errorlevel 1 exit 1 | ||
exit 0 |
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,52 @@ | ||
#!/bin/bash | ||
|
||
set -x | ||
|
||
# $(dirname $(dirname $(dirname $(which 7z))))/usr/lib/p7zip/7z x -aoa -o$PWD/clang LLVM*${ARCH}.exe || exit 1 | ||
curl -O http://releases.llvm.org/3.9.1/LLVM-3.9.1-win64.exe | ||
# We need a libclang. No one builds them statically for Windows unfortunately (though the | ||
# libav binaries have been built this way). I rename the libclang.dll in these to avoid | ||
# conflicts with conda-forge's clangdev (which we cannot use at present due to compat). | ||
# LLVM 6 has changed too much and is no longer compatible. It is at the ABI level, but | ||
# not semantically (Assertion failed: n_tokens == 2, file convert.c, line 559). | ||
7z x -aoa -o$PWD/clang LLVM*.exe || exit 1 | ||
|
||
CLANGDIR=${PWD}/clang | ||
# Rename libclang.dll to avoid conflicts. Sorry. No one builds static libclangs on Windows for some reason? | ||
cp ${CLANGDIR}/bin/libclang.dll ${CLANGDIR}/bin/c99-to-c89-libclang.dll | ||
# Create an import library for c99-to-c89-libclang.dll | ||
gendef ${CLANGDIR}/bin/c99-to-c89-libclang.dll - > c99-to-c89-libclang.dll.def | ||
sed -i 's|LIBRARY "libclang.dll"|LIBRARY "c99-to-c89-libclang.dll"|' c99-to-c89-libclang.dll.def | ||
if [[ ${ARCH} == 32 ]]; then | ||
MS_MACH=X86 | ||
else | ||
MS_MACH=X64 | ||
fi | ||
if [[ ${vc} == 9 ]]; then | ||
SNPRINTF=-Dsnprintf=_snprintf | ||
fi | ||
lib /def:c99-to-c89-libclang.dll.def /out:$(cygpath -m ${CLANGDIR}/lib/c99-to-c89-libclang.lib) /machine:${MS_MACH} | ||
|
||
if ! CFLAGS="${CFLAGS} -I${BUILD_PREFIX}/Library/include ${SNPRINTF}" CLANGDIR=${PWD}/clang make -f Makefile.w32; then | ||
echo "ERROR :: Build failed" | ||
exit 1 | ||
fi | ||
cp c99*.exe ${CLANGDIR}/bin/c99-to-c89-libclang.dll ${PREFIX}/Library/bin | ||
|
||
# This file should be passed to the CMake command-line as: | ||
# -DCMAKE_C_COMPILER="c99-to-c89-cmake-nmake-wrap.bat" | ||
# I have given it a very specific name as I do not know that it will work for any other CMake. | ||
# We set the some debug flags so that we see the contents of the @response files and so that | ||
# temporaries are retained. | ||
pushd ${PREFIX}/Library/bin | ||
echo "@echo off" > c99-to-c89-cmake-nmake-wrap.bat | ||
echo "echo cd %CD%" >> c99-to-c89-cmake-nmake-wrap.bat | ||
echo "setlocal EnableExtensions EnableDelayedExpansion" >> c99-to-c89-cmake-nmake-wrap.bat | ||
echo "if \"%VERBOSE_CM%\"==\"1\" (" >> c99-to-c89-cmake-nmake-wrap.bat | ||
echo " set C99_TO_C89_WRAP_DEBUG_LEVEL=1" >> c99-to-c89-cmake-nmake-wrap.bat | ||
echo " set C99_TO_C89_WRAP_SAVE_TEMPS=1" >> c99-to-c89-cmake-nmake-wrap.bat | ||
echo " set C99_TO_C89_WRAP_NO_LINE_DIRECTIVES=1" >> c99-to-c89-cmake-nmake-wrap.bat | ||
echo " set C99_TO_C89_CONV_DEBUG_LEVEL=1" >> c99-to-c89-cmake-nmake-wrap.bat | ||
echo ")" >> c99-to-c89-cmake-nmake-wrap.bat | ||
echo "%~dp0c99wrap.exe -keep cl %*" >> c99-to-c89-cmake-nmake-wrap.bat | ||
popd |
Oops, something went wrong.
9edfffc
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hi! This is the friendly automated conda-forge-webservice.
I updated the Github team because of this commit.
You should get push access to this feedstock and CI services.
Feel free to join the community chat room.
NOTE: Please make sure to not push to the repository directly.
Use branches in your fork for any changes and send a PR.
More details here