Created
April 30, 2019 16:29
-
-
Save hcarty/304da4174fded74d85bbb497d469513d to your computer and use it in GitHub Desktop.
esy resolution for GMP
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"gmp": { | |
"source": "archive:https://gmplib.org/download/gmp/gmp-6.1.2.tar.xz#9dc6981197a7d92f339192eea974f5eca48fcffe", | |
"override": { | |
"buildsInSource": true, | |
"build": [ | |
"find ./ -exec touch -t 200905010101 {} +", | |
"./configure --prefix=#{self.install} --host x86_64-w64-mingw32 CFLAGS=-fPIC", | |
"make" | |
], | |
"install": [ | |
"make install" | |
], | |
"exportedEnv": { | |
"CFLAGS": { | |
"scope": "global", | |
"val": "-I#{self.install / 'include'} $CFLAGS" | |
}, | |
"LDFLAGS": { | |
"scope": "global", | |
"val": "-L#{self.lib} $LDFLAGS" | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment