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

Update upstream to mariadb 10.2.14 #14

Merged
merged 4 commits into from Apr 7, 2018
Merged

Update upstream to mariadb 10.2.14 #14

merged 4 commits into from Apr 7, 2018

Conversation

fritzm
Copy link
Member

@fritzm fritzm commented Oct 25, 2017

No description provided.

# Due to cmake library discovery being overly energetic (searching every
# lib directory relative to each entry in $PATH) we use the bundled ZLIB and
# PCRE libraries to avoid link confusion downstream
ARGS+=('-DWITH_ZLIB=bundled')
Copy link
Member

Choose a reason for hiding this comment

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

The commit message isn't really clear about this ZLIB change.

Copy link
Member Author

Choose a reason for hiding this comment

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

Oh. It was part of "Streamline eupspkg.cfg to be more similar with mariadbclient version", but it certainly wouldn't hurt to be more explicit; will fix.

Still losing on OSX, BTW :-/ For some reason, -DWITH_SSL=off doesn't seem to bypass the failing GnuTLS check, though it seems by my first reading of the cmake file that it should. Installing GnuTLS via homebrew "fixes" it, but I don't think we want to add another prereq if we can avoid it. I'll continue to fiddle with it...

@fritzm fritzm changed the title Update upstream to mariadb 10.2.9 Update upstream to mariadb 10.2.10 Nov 11, 2017
@fritzm fritzm changed the title Update upstream to mariadb 10.2.10 Update upstream to mariadb 10.2.14 Apr 6, 2018
ARGS+=('-DWITH_PCRE=bundled')

# Prevent CMake from finding and linking against libraries distributed in $(dirname
# python)/../lib. This is CMake's default behaviour, but can cause us to erroneously link
# python)/../lib. This is CMake's default behavior, but can cause us to erroneously link
Copy link
Member

Choose a reason for hiding this comment

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

Really? English spelling is not acceptable to you? 😛

@@ -13,35 +13,17 @@ config()
# TokuDB requires third-party software jemalloci (see http://www.canonware.com/jemalloc/)
ARGS+=('-DPLUGIN_TOKUDB=NO')

# Always use bundled PCRE
# Due to cmake library discovery being overly energetic (searching every
# lib directory relative to each entry in $PATH) we use the bundled SSL and
Copy link
Member

Choose a reason for hiding this comment

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

This mention of SSL is no longer correct, and the mention of PCRE was removed from the comment but it's still here.

ARGS+=('-DWITH_PCRE=bundled')

# Prevent CMake from finding and linking against libraries distributed in $(dirname
# python)/../lib. This is CMake's default behaviour, but can cause us to erroneously link
# python)/../lib. This is CMake's default behavior, but can cause us to erroneously link
# against libraries distributed by e.g. Anaconda.
PYTHONLIBDIR=$(which python | sed -e's|bin/python|lib|')
ARGS+=("-DCMAKE_SYSTEM_IGNORE_PATH=${PYTHONLIBDIR}")
Copy link
Contributor

Choose a reason for hiding this comment

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

I have the same question here as on lsst-dm/legacy-mariadbclient#12

Make eupspkg.cfg.sh consisted with the one in mariadbclient to the
greatest extent possible to avoid inadvertent inconsistent options
between these two packages.

New configuration uses bundled ZLIB and PCRE, and system SSL. SSL
is no longer optional for MariaDB; MacOS users may, for example,
"brew install gnutls" to satisfy this dependency.
@fritzm fritzm merged commit b2eeeac into master Apr 7, 2018
@ktlim ktlim deleted the tickets/DM-12397 branch August 25, 2018 03:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
3 participants