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

kivy / python-for-android / 26682386815

30 May 2026 11:14AM UTC coverage: 62.67% (-1.2%) from 63.887%
26682386815

Pull #3278

github

web-flow
Merge 77aee3d95 into 74b559a3c
Pull Request #3278: Handling system bars and Edge-to-Edge enforcement (android 15+)

1832 of 3194 branches covered (57.36%)

Branch coverage included in aggregate %.

5407 of 8357 relevant lines covered (64.7%)

3.88 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
6✔
2
from pythonforandroid.logger import shprint
6✔
3
from pythonforandroid.util import current_directory, ensure_dir
6✔
4
from multiprocessing import cpu_count
6✔
5
from os.path import join
6✔
6
import sh
6✔
7
from pythonforandroid.util import rmdir
6✔
8

9

10
class LibOpenBlasRecipe(Recipe):
6✔
11

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

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

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

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
                "-DDYNAMIC_ARCH=0",
37
                "-DTARGET={target}".format(
38
                    target={
39
                        "arm64-v8a": "ARMV8",
40
                        "armeabi-v7a": "ARMV7",
41
                        "x86_64": "CORE2",
42
                        "x86": "CORE2",
43
                    }[arch.arch]
44
                ),
45
            ]
46

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

50

51
recipe = LibOpenBlasRecipe()
6✔
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