-
Notifications
You must be signed in to change notification settings - Fork 14
Update conda-forge conda recipe #97
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
7 commits
Select commit
Hold shift + click to select a range
1323718
update conda-forge conda recipe
ndgrigorian 997ce12
add conda build config to conda-forge recipe
ndgrigorian 1dc22d1
align conda-forge recipe build scripts to original recipe
ndgrigorian fbbf397
remove setup MSVC step from conda-forge windows build
ndgrigorian 7a1d8ab
clean up errors/warnings in windows workflows
ndgrigorian 3185976
use dedicated build environments in Windows conda workflows
ndgrigorian c919785
add cancel previous runs step to conda-package-cf workflow
ndgrigorian File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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,15 @@ | ||
| @rem Remember to source the compiler | ||
|
|
||
| set MKLROOT=%CONDA_PREFIX% | ||
| %PYTHON% -m pip install --no-build-isolation --no-deps . | ||
| if errorlevel 1 exit 1 | ||
|
|
||
| rem Build wheel package | ||
| if NOT "%WHEELS_OUTPUT_FOLDER%"=="" ( | ||
| %PYTHON% -m pip wheel --no-build-isolation --no-deps . | ||
| if errorlevel 1 exit 1 | ||
| copy mkl_random*.whl %WHEELS_OUTPUT_FOLDER% | ||
| if errorlevel 1 exit 1 | ||
| ) ELSE ( | ||
| rem Build conda package | ||
| %PYTHON% -m pip install --no-build-isolation --no-deps . | ||
| if errorlevel 1 exit 1 | ||
| ) |
This file contains hidden or 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,18 @@ | ||
| #!/bin/bash -x | ||
|
|
||
| export CFLAGS="-I$PREFIX/include $CFLAGS" | ||
| export LDFLAGS="-Wl,-rpath,\$ORIGIN/../.. -Wl,-rpath,\$ORIGIN/../../.. -L${PREFIX}/lib ${LDFLAGS}" | ||
| export MKLROOT=$CONDA_PREFIX | ||
| $PYTHON -m pip install --no-build-isolation --no-deps . | ||
|
|
||
| read -r GLIBC_MAJOR GLIBC_MINOR <<<"$(conda list '^sysroot_linux-64$' \ | ||
| | tail -n 1 | awk '{print $2}' | grep -oP '\d+' | head -n 2 | tr '\n' ' ')" | ||
|
|
||
| # Build wheel package | ||
| if [ -n "${WHEELS_OUTPUT_FOLDER}" ]; then | ||
| $PYTHON -m pip wheel --no-build-isolation --no-deps . | ||
| ${PYTHON} -m wheel tags --remove --platform-tag "manylinux_${GLIBC_MAJOR}_${GLIBC_MINOR}_x86_64" mkl_random*.whl | ||
| cp mkl_random*.whl "${WHEELS_OUTPUT_FOLDER}" | ||
| else | ||
| # Build conda package | ||
| $PYTHON -m pip install --no-build-isolation --no-deps . | ||
| fi |
This file contains hidden or 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,16 @@ | ||
| c_compiler: # [linux] | ||
| - gcc # [linux] | ||
| cxx_compiler: # [linux] | ||
| - gxx # [linux] | ||
| cxx_compiler_version: # [linux] | ||
| - '14' # [linux] | ||
| c_stdlib: # [linux] | ||
| - sysroot # [linux] | ||
| c_stdlib_version: # [linux] | ||
| - '2.28' # [linux] | ||
| c_stdlib: # [win] | ||
| - vs # [win] | ||
| cxx_compiler: # [win] | ||
| - vs2022 # [win] | ||
| c_compiler: # [win] | ||
| - vs2022 # [win] |
This file contains hidden or 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
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.