Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
48 commits
Select commit Hold shift + click to select a range
c0c0264
Merge pull request #66 from eunos-1128/alpha
eunos-1128 Apr 1, 2025
025c262
Merge pull request #69 from eunos-1128/alpha
eunos-1128 Apr 14, 2025
78863fb
Merge pull request #4 from eunos-1128/master
eunos-1128 Jun 6, 2025
7dc36aa
Merge pull request #5 from eunos-1128/beta
eunos-1128 Jun 6, 2025
705c0f0
Bump to `4f510d4`
eunos-1128 Jun 6, 2025
9adefe1
Merge pull request #72 from eunos-1128/beta
eunos-1128 Jun 6, 2025
3450e11
Revert boost module version from 1.88.0 to 1.87.0
eunos-1128 Jun 6, 2025
b8f3371
Bump coot module to commit `21edc3a`
eunos-1128 Jun 6, 2025
cbc0107
Merge branch 'beta' into beta
eunos-1128 Jun 6, 2025
8394f47
Merge pull request #6 from eunos-1128/beta
eunos-1128 Jun 6, 2025
76c529b
Merge pull request #74 from eunos-1128/alpha
eunos-1128 Jun 6, 2025
2225b54
Merge pull request #73 from eunos-1128/beta
eunos-1128 Jun 6, 2025
525ae6d
Merge branch 'master' into beta
eunos-1128 Jun 7, 2025
924cc69
Merge branch 'beta' into alpha
eunos-1128 Jun 7, 2025
09baa5b
Merge branch 'beta' into beta
eunos-1128 Jun 7, 2025
a71867a
Merge branch 'master' into beta
eunos-1128 Jun 7, 2025
e1deb3f
Merge branch 'beta' into alpha
eunos-1128 Jun 7, 2025
17d941b
Merge pull request #76 from eunos-1128/beta
eunos-1128 Jun 8, 2025
498e44c
Merge pull request #77 from eunos-1128/alpha
eunos-1128 Jun 8, 2025
6a9ad83
Merge branch 'master' into beta
eunos-1128 Jun 12, 2025
50110fc
Merge branch 'beta' into alpha
eunos-1128 Jun 12, 2025
d64a833
Merge pull request #80 from eunos-1128/alpha
eunos-1128 Jun 12, 2025
2b08613
Merge pull request #79 from eunos-1128/beta
eunos-1128 Jun 12, 2025
57db01c
Merge branch 'master' into beta
eunos-1128 Jun 14, 2025
3d02aa2
Merge branch 'beta' into alpha
eunos-1128 Jun 14, 2025
a3f0304
Merge branch 'beta' into beta
eunos-1128 Jun 14, 2025
2a281ae
Merge pull request #83 from eunos-1128/alpha
eunos-1128 Jun 14, 2025
fe43818
Merge pull request #82 from eunos-1128/beta
eunos-1128 Jun 14, 2025
50bea3e
Merge branch 'master' into beta
eunos-1128 Jun 15, 2025
0c26fc9
Merge branch 'beta' into alpha
eunos-1128 Jun 15, 2025
83e8f8d
Merge pull request #86 from eunos-1128/alpha
eunos-1128 Jun 15, 2025
0a4a838
Merge pull request #85 from eunos-1128/beta
eunos-1128 Jun 15, 2025
66ca2e9
Bump to commit `a1e8ef5`
eunos-1128 Jun 22, 2025
ab1dba0
Merge pull request #7 from eunos-1128/beta
eunos-1128 Jun 22, 2025
868a85e
Update meson-python version constraints and dependencies in requirements
eunos-1128 Jun 22, 2025
c41fc26
Change the order of installation of openblas module to first
eunos-1128 Jun 22, 2025
d66201b
Merge branch 'master' into beta
eunos-1128 Jun 22, 2025
d2f564a
Merge branch 'beta' into alpha
eunos-1128 Jun 22, 2025
80c33f1
Add Cython dependency to requirements and include Cython source in py…
eunos-1128 Jun 23, 2025
b3729d6
Merge branch 'master' into beta
eunos-1128 Jun 23, 2025
22df4e8
Merge branch 'beta' into alpha
eunos-1128 Jun 23, 2025
baa3fe7
Modify pypi-dependencies.sh for numpy handling
eunos-1128 Jun 23, 2025
6c2b81f
Change OpenBLAS source from archive to git for improved version control
eunos-1128 Jun 23, 2025
603c544
Merge branch 'master' into beta
eunos-1128 Jun 23, 2025
9df9163
Merge branch 'beta' into alpha
eunos-1128 Jun 23, 2025
ee23dff
Add Cython in pypi-dependencies.json and update requirements.txt
eunos-1128 Jun 23, 2025
ed6462c
Merge branch 'master' into beta
eunos-1128 Jun 23, 2025
95da746
Merge branch 'beta' into alpha
eunos-1128 Jun 23, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
32 changes: 23 additions & 9 deletions deps/pypi-dependencies.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,18 +21,18 @@
"name": "python3-meson-python",
"buildsystem": "simple",
"build-commands": [
"pip3 install --verbose --exists-action=i --no-index --find-links=\"file://${PWD}\" --prefix=${FLATPAK_DEST} \"meson-python\" --no-build-isolation"
"pip3 install --verbose --exists-action=i --no-index --find-links=\"file://${PWD}\" --prefix=${FLATPAK_DEST} \"meson-python>=0.15.0,<0.16.0\" --no-build-isolation"
],
"sources": [
{
"type": "file",
"url": "https://files.pythonhosted.org/packages/7d/ec/40c0ddd29ef4daa6689a2b9c5ced47d5b58fa54ae149b19e9a97f4979c8c/meson_python-0.17.1-py3-none-any.whl",
"sha256": "30a75c52578ef14aff8392677b09c39346e0a24d2b2c6204b8ed30583c11269c"
"url": "https://files.pythonhosted.org/packages/1f/60/b10b11ab470a690d5777310d6cfd1c9bdbbb0a1313a78c34a1e82e0b9d27/meson_python-0.15.0-py3-none-any.whl",
"sha256": "3ae38253ff02b2e947a05e362a2eaf5a9a09d133c5666b4123399ee5fbf2e591"
},
{
"type": "file",
"url": "https://files.pythonhosted.org/packages/88/ef/eb23f262cca3c0c4eb7ab1933c3b1f03d021f2c48f54763065b6f0e321be/packaging-24.2-py3-none-any.whl",
"sha256": "09abb1bccd265c01f4a3aa3f7a7db064b36514d2cba19a2f694fe6150451a759"
"url": "https://files.pythonhosted.org/packages/20/12/38679034af332785aac8774540895e234f4d07f7545804097de4b666afd8/packaging-25.0-py3-none-any.whl",
"sha256": "29572ef2b1f17581046b3a2227d5c611fb25ec70ca1ba8554b24b0e69331a484"
},
{
"type": "file",
Expand All @@ -50,16 +50,30 @@
"sources": [
{
"type": "file",
"url": "https://files.pythonhosted.org/packages/8e/9e/dadc3831f40e22c1b3925f07894646ada7906ef5b48db5c5eb2b03ca9faa/nanobind-2.5.0-py3-none-any.whl",
"sha256": "e1e5c816e5d10f0b252d82ba7f769f0f6679f5e043cf406aec3d9e184bf2a60d"
"url": "https://files.pythonhosted.org/packages/96/14/989883082b395146120d34ca7e484a2b24cb73b0e428576a3a4249bd4082/nanobind-2.7.0-py3-none-any.whl",
"sha256": "73b12d0e751d140d6c1bf4b215e18818a8debfdb374f08dc3776ad208d808e74"
}
]
},
{
"name": "python3-Cython",
"buildsystem": "simple",
"build-commands": [
"pip3 install --verbose --exists-action=i --no-index --find-links=\"file://${PWD}\" --prefix=${FLATPAK_DEST} \"cython==3.0.12\" --ignore-installed --no-build-isolation"
],
"sources": [
{
"type": "file",
"url": "https://files.pythonhosted.org/packages/5a/25/886e197c97a4b8e254173002cdc141441e878ff29aaa7d9ba560cd6e4866/cython-3.0.12.tar.gz",
"sha256": "b988bb297ce76c671e28c97d017b95411010f7c77fa6623dd0bb47eed1aee1bc"
}
]
},
{
"name": "python3-numpy",
"buildsystem": "simple",
"build-commands": [
"pip3 install --verbose --exists-action=i --no-index --find-links=\"file://${PWD}\" --prefix=${FLATPAK_DEST} \"numpy==1.26.4\" --no-build-isolation"
"pip3 install --verbose --exists-action=i --no-index --find-links=\"file://${PWD}\" --prefix=${FLATPAK_DEST} \"numpy==1.26.4\" --ignore-installed --no-build-isolation"
],
"sources": [
{
Expand All @@ -70,4 +84,4 @@
]
}
]
}
}
3 changes: 2 additions & 1 deletion deps/pypi-dependencies.sh
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
#!/usr/bin/env bash

./flatpak-builder-tools/pip/flatpak-pip-generator --runtime='org.gnome.Sdk//48' --requirements-file='requirements.txt' --output pypi-dependencies
# Cython version corresponding to the specified numpy version must be manually added to pypi-dependencies.json afterwards
./flatpak-builder-tools/pip/flatpak-pip-generator --runtime='org.gnome.Sdk//48' --requirements-file='requirements.txt' --output=pypi-dependencies --ignore-installed=numpy
4 changes: 1 addition & 3 deletions deps/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,4 @@
mako
markdown
markupsafe
meson-python
meson-python>=0.15.0,<0.16.0
nanobind
numpy==1.26.4
42 changes: 22 additions & 20 deletions io.github.pemsley.coot.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,26 @@ cleanup:
- "*.a"

modules:
- name: openblas
buildsystem: cmake-ninja
builddir: true
config-opts:
- -DUSE_OPENMP=ON
- -DNUM_THREADS=64
- -DNO_SVE=ON
- -DBUILD_SHARED_LIBS=ON
- -DDYNAMIC_ARCH=ON
build-options:
cflags: "-fPIC -O3"
post-install:
- ln -s /app/lib/libopenblas.so /app/lib/libblas.so
- ln -s /app/lib/libopenblas.so /app/lib/liblapack.so
sources:
- type: git
url: https://github.com/OpenMathLib/OpenBLAS.git
tag: v0.3.28

# markupsafe, meson-python, nanobind, numpy
- deps/pypi-dependencies.json

- name: gemmi
Expand Down Expand Up @@ -184,25 +204,6 @@ modules:
url: https://github.com/g-truc/glm/archive/refs/tags/1.0.1.tar.gz
sha256: 9f3174561fd26904b23f0db5e560971cbf9b3cbda0b280f04d5c379d03bf234c

- name: openblas
buildsystem: cmake-ninja
builddir: true
config-opts:
- -DUSE_OPENMP=ON
- -DNUM_THREADS=64
- -DNO_SVE=ON
- -DBUILD_SHARED_LIBS=ON
- -DDYNAMIC_ARCH=ON
build-options:
cflags: "-fPIC -O3"
post-install:
- ln -s /app/lib/libopenblas.so /app/lib/libblas.so
- ln -s /app/lib/libopenblas.so /app/lib/liblapack.so
sources:
- type: archive
url: https://github.com/OpenMathLib/OpenBLAS/archive/refs/tags/v0.3.28.tar.gz
sha256: f1003466ad074e9b0c8d421a204121100b0751c96fc6fcf3d1456bd12f8a00a1

- name: bdw-gc
buildsystem: autotools
config-opts:
Expand Down Expand Up @@ -353,4 +354,5 @@ modules:
sources:
- type: git
url: https://github.com/pemsley/coot.git
tag: Release-1.1.17-v2
commit: a1e8ef5b22fcd6348807923943bd984494e594bf