-
Notifications
You must be signed in to change notification settings - Fork 23
Conversation
It seems to work, the size in MB of the manylinux builds decreased:
Edit: this was wrong, the commit changed nothing. |
@mattip, using |
@seiko2plus Who would use the |
@mattip, It will not harm if we left the default generated elf sections untouched. |
My check was wrong, the file sizes did not change. I must have looked while upload was still in progress. The CFLAGS set in |
@@ -1,4 +1,4 @@ | |||
# Environment variables for build | |||
OPENBLAS_VERSION="v0.3.7" | |||
MACOSX_DEPLOYMENT_TARGET=10.9 | |||
CFLAGS="-std=c99 -fno-strict-aliasing" | |||
CFLAGS="-std=c99 -fno-strict-aliasing -Wl,--strip-debug" |
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.
pass it to the linker flags only to not break clang build, LDFLAGS="-Wl,--strip-debug"
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.
done in gh-85
Closing in favor of gh-86 |
we should strip the linux binaries before shipping. Issue gh-19 assumed that we do not override
CFLAGS
, but we do.