Skip to content

Commit

Permalink
Merge pull request #45 from Chia-Network/fix-rocky-sqlite
Browse files Browse the repository at this point in the history
  • Loading branch information
cmmarslender authored Sep 27, 2023
2 parents 74b50c8 + 0fcb936 commit 5d5e7ca
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
3 changes: 3 additions & 0 deletions .github/workflows/build-ubuntu-22.04-risc.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,9 @@ on:
- 'ubuntu-22.04-risc/*'
- '.github/workflows/build-ubuntu-22.04-risc.yml'
pull_request:
paths:
- 'ubuntu-22.04-risc/*'
- '.github/workflows/build-ubuntu-22.04-risc.yml'
workflow_dispatch:
schedule:
- cron: '30 12 * * 5'
Expand Down
6 changes: 4 additions & 2 deletions rocky8/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@ FROM rockylinux:8
ENV PYENV_ROOT=/root/.pyenv
ENV PATH="$PYENV_ROOT/shims:$PYENV_ROOT/bin:$PATH"
# Python needs to be able to find the proper sqlite3 install
ENV LD_LIBRARY_PATH="/usr/lib64"
ENV CPPFLAGS="-I/usr/sqlite3/include"
ENV LIBRARY_PATH="/usr/sqlite3/lib"
ENV LD_LIBRARY_PATH="/usr/sqlite3/lib"
ENV NVM_DIR="/root/.nvm"

# General Deps
Expand All @@ -18,7 +20,7 @@ RUN cd ~ && \
wget -q https://sqlite.org/2022/sqlite-autoconf-3400100.tar.gz && \
tar -xzf sqlite-autoconf-3400100.tar.gz && \
cd sqlite-autoconf-3400100 && \
CFLAGS="-DSQLITE_MAX_VARIABLE_NUMBER=500000" ./configure --prefix=/usr && \
CFLAGS="-DSQLITE_MAX_VARIABLE_NUMBER=500000" ./configure --prefix=/usr/sqlite3 && \
make && \
make install && \
cd ~ && \
Expand Down

0 comments on commit 5d5e7ca

Please sign in to comment.