-
Notifications
You must be signed in to change notification settings - Fork 23
Wheel changes to master #654
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
Conversation
Vyacheslav-Smirnov
commented
Mar 19, 2021
- Update README
- Set RPATH to dpctl and dpnp itself
- Fix in setup.py
Gold/2021 update 0 5 1
* Update packages wheel deps * Do not search deps via setuptools * Fix build: no search for dpes via setuptools * Add set -ex to build.sh * Revert changes to meta.yaml, build.sh and install_requires in setup.py * Remove author_email * Add correct license description * Add How to for install dpnp wheel package * Add RPATH for wheels; update readme
@@ -25,6 +25,10 @@ if [ -n "${TBBROOT}" ]; then | |||
. ${TBBROOT}/env/vars.sh | |||
fi | |||
|
|||
# Set RPATH for wheels | |||
export CFLAGS="-Wl,-rpath,\$ORIGIN/../dpctl,-rpath,\$ORIGIN $CFLAGS" |
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.
How it will work in Windows?
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.
The "build.sh" file is used only for unix build. For windows there should be bld.bat with build commands.
As there is no bld.bat file, windows build now is just fake)
maintainer="Intel Corp.", | ||
maintainer_email="scripting@intel.com", | ||
url="https://intelpython.github.io/dpnp/", | ||
download_url="https://github.com/IntelPython/dpnp", | ||
license=__license_file__, | ||
license='BSD', |
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.
Is this change related to "wheel testing"?
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.
Yes, changing setup.py format is required to build a good wheel which can be uploaded to Pypi
…/dpnp into wheel_changes_master
@shssf , Are you ok with the changes? |
Will be merged in scope of #657 |