Skip to content

Commit a15ac81

Browse files
committed
build without debug, prepare for 0.8.3
1 parent c2a493c commit a15ac81

File tree

4 files changed

+15
-6
lines changed

4 files changed

+15
-6
lines changed

doc/developer.rst

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -52,8 +52,9 @@ Then run
5252

5353
.. code-block::
5454
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
5758
5859
5960
@@ -70,51 +71,59 @@ Making binary wheel for OSX
7071
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install.sh)"
7172
7273
3. install requirements
74+
7375
.. code-block::
7476
7577
brew install python3 bison cmake mercurial pyenv openssl
7678
7779
4. get monetdb
80+
7881
.. code-block::
7982
8083
hg clone hg://dev.monetdb.org/hg/MonetDB
8184
8285
5. build monetdb
86+
8387
.. code-block::
8488
8589
cd MonetDB
8690
mkdir build
8791
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
8993
make -j10 install
9094
9195
6. install the pythons
96+
9297
.. code-block::
9398
9499
pyenv install 3.6.10
95100
pyenv install 3.7.7
96101
pyenv install 3.8.2
97102
98103
7. set some flags to find the monetdb libs
104+
99105
.. code-block::
100106
101107
export CFLAGS="-I/Users/gijs/opt/include -L/Users/gijs/opt/lib"
102108
export DYLD_LIBRARY_PATH=/Users/gijs/opt/lib
103109
104110
8. make the binary wheels
111+
105112
.. code-block::
106113
107114
~/.pyenv/versions/3.6.10/bin/python setup.py bdist_wheel
108115
~/.pyenv/versions/3.7.7/bin/python setup.py bdist_wheel
109116
~/.pyenv/versions/3.8.2/bin/python setup.py bdist_wheel
110117
111118
9 fix the binary wheels
119+
112120
.. code-block::
113121
114122
~/.pyenv/versions/3.8.2/bin/pip install delocate
115123
~/.pyenv/versions/3.8.2/bin/delocate-wheel -v dist/*.whl
116124
117125
10 upload the wheels
126+
118127
.. code-block::
119128
120129
~/.pyenv/versions/3.8.2/bin/pip install twine

docker/test38.docker

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ RUN curl -O https://dev.monetdb.org/hg/MonetDB/archive/oscar.tar.bz2
1111
RUN tar jxvf oscar.tar.bz2
1212
RUN mkdir /tmp/MonetDB-oscar/build
1313
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
1515
RUN make -j 4
1616
RUN make install
1717

docker/wheel.docker

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ RUN mkdir /build && \
1010
tar jxvf oscar.tar.bz2 && \
1111
mkdir /build/MonetDB-oscar/build && \
1212
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 && \
1414
make -j 4 && \
1515
make install && \
1616
cp /build/MonetDB-oscar/clients/mapilib/mapi_querytype.h /usr/local/include/monetdb/ && \

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313

1414
setuptools.setup(
1515
name="monetdbe",
16-
version="0.8.2",
16+
version="0.8.3",
1717
author="Gijs Molenaar",
1818
author_email="[email protected]",
1919
description="MonetDBe - the Python embedded MonetDB",

0 commit comments

Comments
 (0)