Skip to content
This repository has been archived by the owner on Feb 15, 2023. It is now read-only.

Update multibuild to the version that supports stripping wheels #26

Merged
merged 1 commit into from
Feb 11, 2018

Conversation

xhochy
Copy link
Contributor

@xhochy xhochy commented Feb 11, 2018

Fixes #25

@@ -10,6 +10,7 @@ OPENBLAS_VERSION=0.2.18
source gfortran-install/gfortran_utils.sh

function build_wheel {
export FFLAGS="$FFLAGS -fPIC -Wl,-strip-all"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is -fPIC right on 32-bit platforms?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also, adding -Wl,-strip-all seems to be included in multibuild matthew-brett/multibuild@b2748e5 --- maybe we can bump the version to that commit instead and not set FFLAG here? Or maybe I'm missing something?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

-fPIC should work on all platform as far as I know.

That commit in multibuild only sets -Wl,-strip-all if no other FFLAGS are set, i.e. it supports that you can override the compile options if you don't want your things stripped. Thus we need to supply all flags here.

@pv pv merged commit 291c50b into MacPython:master Feb 11, 2018
@pv
Copy link
Contributor

pv commented Feb 11, 2018

Thanks, seems to work fine.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants