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

[WIP] Update gmp to 6.0.0 #7957

Merged
merged 2 commits into from
Sep 1, 2014
Merged

[WIP] Update gmp to 6.0.0 #7957

merged 2 commits into from
Sep 1, 2014

Conversation

staticfloat
Copy link
Sponsor Member

Closes #7858

@staticfloat staticfloat changed the title Update gmp to 6.0.0 [WIP] Update gmp to 6.0.0 Aug 11, 2014
@staticfloat
Copy link
Sponsor Member Author

Don't merge this yet, need to check distribution package compatibility

@@ -1443,6 +1443,9 @@ gmp-$(GMP_VER).tar.bz2:
gmp-$(GMP_VER)/configure: gmp-$(GMP_VER).tar.bz2
$(JLCHECKSUM) $<
$(TAR) jxf $<
ifeq ($(OS), Darwin)
cd gmp-$(GMP_VER) && patch -p1 < ../gmp_6.0.0_osx.patch
endif
Copy link
Sponsor Member

Choose a reason for hiding this comment

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

Should you also check that we actually use 6.0.0, not 6.0.1 before patching?

Copy link
Sponsor Member Author

Choose a reason for hiding this comment

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

I don't think we'll ever support building different GMP versions like we do with LLVM. So we'll just take this line out when we upgrade next.

Copy link
Sponsor Member

Choose a reason for hiding this comment

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

Yea, it is probably more important to ensure that it is removed when obsoleted.

Copy link
Sponsor Member Author

Choose a reason for hiding this comment

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

If the patch doesn't apply anymore, it will fail, and the user will get an error, so it'll be noticed relatively quickly, I'd hope.

@ViralBShah
Copy link
Member

Bump. Can we merge this?

@tkelman
Copy link
Contributor

tkelman commented Sep 1, 2014

Everything that the test suite exercises that's in both 5.1.3 and 6.0.0 seemed to work fine everywhere I ran it. We only need to worry about waiting for distributions to package 6.0.0 if we want to start using new API's that don't exist in the old version, right @staticfloat?

@staticfloat
Copy link
Sponsor Member Author

That's right, but at least some of the distributions that I've checked do indeed have gmp 6, so I think we're good to go on this front.

staticfloat added a commit that referenced this pull request Sep 1, 2014
@staticfloat staticfloat merged commit 1341082 into master Sep 1, 2014
@ViralBShah
Copy link
Member

For now, we can just use 6.0 without the new APIs. By the time 0.4 is released, distros will have caught up for sure.

@staticfloat staticfloat deleted the sf/gmp6osx branch September 13, 2014 18:53
@tkelman
Copy link
Contributor

tkelman commented Sep 19, 2014

Oddly looks like the file got renamed to 6.0.0a... and would anyone mind if I switched this to use https instead of ftp? This is the only thing in deps/Makefile using an ftp:// url.

@staticfloat
Copy link
Sponsor Member Author

Please do use https anywhere we can. I am a strong proponent of increasing global warming through encryption.

@tkelman
Copy link
Contributor

tkelman commented Sep 19, 2014

Heh. The Windows VM I've been playing with provisioning was having trouble with the GMP download, possibly because of ftp and/or the file having been renamed.

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

Successfully merging this pull request may close these issues.

GMP 6 seems to have lots of goodies
4 participants