author | wenzelm |
Fri, 22 Dec 2017 14:35:29 +0100 | |
changeset 67254 | 31dd98471e88 |
parent 66998 | 8905114fd23b |
child 67583 | c933a5d4e1ee |
permissions | -rw-r--r-- |
51061 | 1 |
Notes on building Poly/ML as Isabelle component |
2 |
=============================================== |
|
3 |
||
65880 | 4 |
* component skeleton: |
66846
c04f46a6f29d
back to build_polyml_component according to 54c6ec4166a4 (amending 808e6ddb5a50);
wenzelm
parents:
66761
diff
changeset
|
5 |
$ isabelle build_polyml_component -s sha1 component |
51061 | 6 |
|
65880 | 7 |
* include full source (without symlink), for example: |
8 |
$ wget https://github.com/polyml/polyml/archive/master.zip |
|
66998 | 9 |
|
10 |
* libgmp on x86_64-darwin: |
|
11 |
||
12 |
https://github.com/Homebrew/homebrew-core/blob/master/Formula/gmp.rb |
|
13 |
https://gmplib.org/download/gmp/gmp-6.1.2.tar.xz |
|
14 |
||
15 |
./configure --enable-cxx --build=core2-apple-darwin"$(uname -r)" |
|
16 |
make check |
|
17 |
make install |
|
18 |
||
19 |
isabelle build_polyml -m64 -s sha1 src --with-gmp LDFLAGS='-L/usr/local/lib' CPPFLAGS='-O3 -I/usr/local/include' |