Skip to content
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

Curl build improvements #18153

Merged
merged 10 commits into from
Aug 21, 2016
Merged

Curl build improvements #18153

merged 10 commits into from
Aug 21, 2016

Conversation

tkelman
Copy link
Contributor

@tkelman tkelman commented Aug 20, 2016

Should fix the from-scratch build of master which was broken by #18103

@tkelman tkelman added domain:building Build system, or building Julia or its dependencies backport pending 0.5 labels Aug 20, 2016
@@ -56,8 +52,10 @@ endif
echo 1 > $@

$(MBEDTLS_OBJ_TARGET): $(MBEDTLS_OBJ_SOURCE) | $(build_shlibdir)
ifeq ($(OS), WINNT)
ifeq ($(BUILD_OS), WINNT)
Copy link
Sponsor Member

Choose a reason for hiding this comment

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

this line diff is wrong. the install target should never depend on BUILD_OS

Copy link
Contributor Author

Choose a reason for hiding this comment

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

staged install doesn't work properly on msys2

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I'll put it back for now though since it's putting .dll.a files in the wrong place otherwise, need to fix that upstream. I plan on moving appveyor over to a cygwin-cross and dropping official support for MSYS2 in the future since it's not actively maintained and is the cause of too many of these special cases.

in CMAKE_COMMON, so libssh2 installs without an x86_64-linux-gnu
multiarch prefix
since we don't need it

Go back to just copying the mbedtls dll even in cygwin-cross,
otherwise it puts .dll.a files that we don't need alongside the dlls
(should probably fix this upstream)
since otherwise it puts pkg-config files in LIB_INSTALL_DIR
which we don't need - if mbedtls separates runtime from library
destinations then we could separate BIN_INSTALL_DIR from LIB_INSTALL_DIR
or convince libgit2 to use the standard GNUInstallDirs names
tkelman added a commit that referenced this pull request Aug 20, 2016
probably addresses #18106

(cherry picked from commit fb0e106)
ref #18153

Delete some files from libssh2 and curl that keep changing on travis

causing the cache to get re-uploaded

(cherry picked from commit 71bb974)

Install all 3 mbedtls dlls on windows

and build tests

(cherry picked from commit 6b50d35)

disable libpsl in curl build

should fix clean build of master

indent line continuations

(cherry picked from commit d14f169)

disable using zlib in mbedtls, libssh2, and libcurl

since it requires additional dev headers
fix #18101

(cherry picked from commit f714e83)

Cleanup: replace misleading STAGE#_DEPS variables with DEP_LIBS

(cherry picked from commit 0d634a3)

Improve handling of curl, mbedtls, libssh2 USE_SYSTEM

fix #17884

(cherry picked from commit 4526b65)

Set CMAKE_INSTALL_LIBDIR and CMAKE_INSTALL_BINDIR

in CMAKE_COMMON, so libssh2 installs without an x86_64-linux-gnu
multiarch prefix

(cherry picked from commit bf60b56)

Disable building static mbedtls library

since we don't need it

Go back to just copying the mbedtls dll even in cygwin-cross,
otherwise it puts .dll.a files that we don't need alongside the dlls
(should probably fix this upstream)

(cherry picked from commit 658dc24)

Also just copy libgit2 dll for its install target

since otherwise it puts pkg-config files in LIB_INSTALL_DIR
which we don't need - if mbedtls separates runtime from library
destinations then we could separate BIN_INSTALL_DIR from LIB_INSTALL_DIR
or convince libgit2 to use the standard GNUInstallDirs names

(cherry picked from commit 8e3f1c5)
@tkelman
Copy link
Contributor Author

tkelman commented Aug 20, 2016

A todo for myself, can wait until a separate PR though - libgit2's finding of curl via pkg-config should be adjusted with a patch to either fail loudly if pkg-config isn't found and the library would otherwise be built without proxy support, or avoid using pkg-config to find libcurl.

@tkelman tkelman added this to the 0.5.0 milestone Aug 20, 2016
@tkelman
Copy link
Contributor Author

tkelman commented Aug 21, 2016

merging so nanosoldier works on tonight's daily build

@tkelman tkelman merged commit fbe69e6 into master Aug 21, 2016
@tkelman tkelman deleted the tk/curlbuild branch August 21, 2016 03:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
domain:building Build system, or building Julia or its dependencies
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants