File tree Expand file tree Collapse file tree 4 files changed +15
-6
lines changed Expand file tree Collapse file tree 4 files changed +15
-6
lines changed Original file line number Diff line number Diff line change @@ -52,8 +52,9 @@ Then run
52
52
53
53
.. code-block ::
54
54
55
- $ make wheels
56
- $ twine upload dist/*.whl dist/*.tar.gz
55
+ $ make docker-wheels
56
+ $ venv/bin/pip install twine
57
+ $ venv/bin/twine upload dist/*.whl dist/*.tar.gz
57
58
58
59
59
60
@@ -70,51 +71,59 @@ Making binary wheel for OSX
70
71
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"
71
72
72
73
3. install requirements
74
+
73
75
.. code-block ::
74
76
75
77
brew install python3 bison cmake mercurial pyenv openssl
76
78
77
79
4. get monetdb
80
+
78
81
.. code-block ::
79
82
80
83
hg clone hg://dev.monetdb.org/hg/MonetDB
81
84
82
85
5. build monetdb
86
+
83
87
.. code-block ::
84
88
85
89
cd MonetDB
86
90
mkdir build
87
91
cd build
88
- cmake .. -DPY3INTEGRATION=OFF -DBISON_EXECUTABLE=/usr/local/opt/bison/bin/bison -DCMAKE_INSTALL_PREFIX=~/opt -DWITH_CRYPTO=OFF -DINT128=ON
92
+ cmake .. -DPY3INTEGRATION=OFF -DBISON_EXECUTABLE=/usr/local/opt/bison/bin/bison -DCMAKE_INSTALL_PREFIX=~/opt -DWITH_CRYPTO=OFF -DINT128=ON -DCMAKE_BUILD_TYPE=Release -DASSERT=OFF
89
93
make -j10 install
90
94
91
95
6. install the pythons
96
+
92
97
.. code-block ::
93
98
94
99
pyenv install 3.6.10
95
100
pyenv install 3.7.7
96
101
pyenv install 3.8.2
97
102
98
103
7. set some flags to find the monetdb libs
104
+
99
105
.. code-block ::
100
106
101
107
export CFLAGS="-I/Users/gijs/opt/include -L/Users/gijs/opt/lib"
102
108
export DYLD_LIBRARY_PATH=/Users/gijs/opt/lib
103
109
104
110
8. make the binary wheels
111
+
105
112
.. code-block ::
106
113
107
114
~/.pyenv/versions/3.6.10/bin/python setup.py bdist_wheel
108
115
~/.pyenv/versions/3.7.7/bin/python setup.py bdist_wheel
109
116
~/.pyenv/versions/3.8.2/bin/python setup.py bdist_wheel
110
117
111
118
9 fix the binary wheels
119
+
112
120
.. code-block ::
113
121
114
122
~/.pyenv/versions/3.8.2/bin/pip install delocate
115
123
~/.pyenv/versions/3.8.2/bin/delocate-wheel -v dist/*.whl
116
124
117
125
10 upload the wheels
126
+
118
127
.. code-block ::
119
128
120
129
~/.pyenv/versions/3.8.2/bin/pip install twine
Original file line number Diff line number Diff line change @@ -11,7 +11,7 @@ RUN curl -O https://dev.monetdb.org/hg/MonetDB/archive/oscar.tar.bz2
11
11
RUN tar jxvf oscar.tar.bz2
12
12
RUN mkdir /tmp/MonetDB-oscar/build
13
13
WORKDIR /tmp/MonetDB-oscar/build
14
- RUN cmake .. -DWITH_CRYPTO=OFF -DINT128=ON -DPY3INTEGRATION=OFF
14
+ RUN cmake .. -DWITH_CRYPTO=OFF -DINT128=ON -DPY3INTEGRATION=OFF -DCMAKE_BUILD_TYPE=Release -DASSERT=OFF
15
15
RUN make -j 4
16
16
RUN make install
17
17
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ RUN mkdir /build && \
10
10
tar jxvf oscar.tar.bz2 && \
11
11
mkdir /build/MonetDB-oscar/build && \
12
12
cd /build/MonetDB-oscar/build && \
13
- cmake3 .. -DPython3_EXECUTABLE=/opt/python/cp38-cp38/bin/python -DWITH_CRYPTO=OFF -DINT128=ON -DPY3INTEGRATION=OFF && \
13
+ cmake3 .. -DPython3_EXECUTABLE=/opt/python/cp38-cp38/bin/python -DWITH_CRYPTO=OFF -DINT128=ON -DPY3INTEGRATION=OFF -DCMAKE_BUILD_TYPE=Release -DASSERT=OFF && \
14
14
make -j 4 && \
15
15
make install && \
16
16
cp /build/MonetDB-oscar/clients/mapilib/mapi_querytype.h /usr/local/include/monetdb/ && \
Original file line number Diff line number Diff line change 13
13
14
14
setuptools .setup (
15
15
name = "monetdbe" ,
16
- version = "0.8.2 " ,
16
+ version = "0.8.3 " ,
17
17
author = "Gijs Molenaar" ,
18
18
19
19
description = "MonetDBe - the Python embedded MonetDB" ,
You can’t perform that action at this time.
0 commit comments