• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

kivy / python-for-android / 18508674330

14 Oct 2025 08:05PM UTC coverage: 58.795% (-0.4%) from 59.205%
18508674330

push

github

web-flow
Merge pull request #3136 from T-Dynamos/scipy_update

scipy: update to v1.16.2

1075 of 2440 branches covered (44.06%)

Branch coverage included in aggregate %.

63 of 197 new or added lines in 4 files covered. (31.98%)

1 existing line in 1 file now uncovered.

5042 of 7964 relevant lines covered (63.31%)

5.05 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

53.85
/pythonforandroid/recipes/libopenblas/__init__.py
1
from pythonforandroid.recipe import Recipe
8✔
2
from pythonforandroid.logger import shprint
8✔
3
from pythonforandroid.util import current_directory, ensure_dir
8✔
4
from multiprocessing import cpu_count
8✔
5
from os.path import join
8✔
6
import sh
8✔
7
from pythonforandroid.util import rmdir
8✔
8

9

10
class LibOpenBlasRecipe(Recipe):
8✔
11

12
    version = "0.3.29"
8✔
13
    url = "https://github.com/OpenMathLib/OpenBLAS/archive/refs/tags/v{version}.tar.gz"
8✔
14
    built_libraries = {"libopenblas.so": "build/lib"}
8✔
15
    min_ndk_api_support = 24  # complex math functions support
8✔
16

17
    def build_arch(self, arch):
8✔
NEW
18
        source_dir = self.get_build_dir(arch.arch)
×
NEW
19
        build_target = join(source_dir, "build")
×
20

NEW
21
        ensure_dir(build_target)
×
NEW
22
        with current_directory(build_target):
×
NEW
23
            env = self.get_recipe_env(arch)
×
NEW
24
            rmdir("CMakeFiles")
×
NEW
25
            shprint(sh.rm, "-f", "CMakeCache.txt", _env=env)
×
26

NEW
27
            opts = [
×
28
                # default cmake options
29
                "-DCMAKE_SYSTEM_NAME=Android",
30
                "-DCMAKE_ANDROID_ARCH_ABI={arch}".format(arch=arch.arch),
31
                "-DCMAKE_ANDROID_NDK=" + self.ctx.ndk_dir,
32
                "-DCMAKE_ANDROID_API={api}".format(api=self.ctx.ndk_api),
33
                "-DCMAKE_BUILD_TYPE=Release",
34
                "-DBUILD_SHARED_LIBS=ON",
35
                "-DC_LAPACK=ON",
36
                "-DTARGET={target}".format(
37
                    target={
38
                        "arm64-v8a": "ARMV8",
39
                        "armeabi-v7a": "ARMV7",
40
                        "x86_64": "CORE2",
41
                        "x86": "CORE2",
42
                    }[arch.arch]
43
                ),
44
            ]
45

NEW
46
            shprint(sh.cmake, source_dir, *opts, _env=env)
×
NEW
47
            shprint(sh.make, "-j" + str(cpu_count()), _env=env)
×
48

49

50
recipe = LibOpenBlasRecipe()
8✔
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc