jotai-benchmarks
termux-ndk
jotai-benchmarks | termux-ndk | |
---|---|---|
2 | 12 | |
31 | 465 | |
- | - | |
6.1 | 3.5 | |
5 months ago | 4 months ago | |
C | C | |
GNU General Public License v3.0 only | GNU General Public License v3.0 or later |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
jotai-benchmarks
-
Tips Performance benchmarks for a custom compiler?
But let me suggest Jotai to you. That's a collection with about 30K C programs. They all run without undefined behavior (as per kcc or frama-C). Each program is self-contained. But each program also runs for a very short time. So, I recommend you use CFGGrind to count the number of instructions executed. CFGGrind can separate instructions per function, and each Jotai benchmark consists of a single function. For instance, to count the total number of instructions executed by function foo, you can do (assuming that profile data was saved into a file called `test.cfg`):
-
The Jotai Benchmark Collection
We, at UFMG, have been working on a methodology to generate benchmarks in C. We have a working collection of benchmarks here with a bit more than 30K executable programs. Benchmarks are single functions mined from open-source repositories. We have designed a domain-specific language to generate inputs for them. We use psyche-c to infer missing types and declarations. We use kcc and AddressSanitizier to filter out as much undefined behavior as possible. We use CFGGrind to check input coverage and to count the number of instructions executed. These benchmarks can be used in many ways: to stress test compilers; to autotune predictive compilation tasks; to analyze the dynamic behavior of programs; to improve compiler optimizations; etc. We have a technical report here.
termux-ndk
-
Hosting Your Own AI Chatbot on Android Devices
Next, we need to set up the Android NDK (Native Development Kit) to compile the llama.cpp project. Visit the Termux-NDK repository and download the latest NDK release. Extract the ZIP file, then set the NDK path in Termux:
-
How install Koboldcpp via Termux (Guide)
10 - Install the Android SDK by copying and pasting the following command in the console: wget https://github.com/lzhiyong/termux-ndk/releases/download/ndk-r23/android-ndk-r23c-aarch64.zip unzip android-ndk-r23c-aarch64.zip export NDK=~/android-ndk-r23c-aarch64
-
Pain
You can use termux. r/termux. For ndk you can use https://github.com/Lzhiyong/termux-ndk for cmake below 3.14 (I think) you have to use a prooted distro. For build-tools you cant use sdkmanager unless you use android studio in GUI mode . you have to download manually . there is a website for that . and that's how you build android apps in Android.
- I need a help 🙏
- basic xfce session
-
Android Studio ARM build
And for ndk I guess you can use this if there is no arm official build. https://github.com/Lzhiyong/termux-ndk
-
Documentation of building Android apps in termux.
And the docs : https://github.com/Lzhiyong/termux-ndk/tree/master/build-app
-
Static binaries clang termux .
Found this https://github.com/Lzhiyong/termux-ndk/blob/master/patches/align_fix.py to patch the binary. But why do I need to patch it?
-
Terminal emulator for X
Did you install ndk from here? https://github.com/Lzhiyong/termux-ndk
-
Flutter with code-server, looking for aarch64 based Android SDK.
You can check out this repo
What are some alternatives?
psychec - A compiler frontend for the C programming language
android-iperf - Pre-compiled iperf/iperf3 binaries for Android + Dockerfile with SDK and NDK for manual build
dstep - A tool for converting C and Objective-C headers to D modules
llvm-project - The LLVM Project is a collection of modular and reusable compiler and toolchain technologies. Note: the repository does not accept github pull requests at this moment. Please submit your patches at http://reviews.llvm.org.
checkedc - Checked C is an extension to C that lets programmers write C code that is guaranteed by the compiler to be type-safe. The goal is to let people easily make their existing C code type-safe and eliminate entire classes of errors. Checked C does not address use-after-free errors. This repo has a wiki for Checked C, sample code, the specification, and test code.
cling - The cling C++ interpreter
llvmbox - Self contained, fully static llvm tools & libs
play-audio - Command-line tool to play audio using OpenSL ES.
CSpydr - A static typed low-level compiled programming language inspired by Rust and C
zapcc - zapcc is a caching C++ compiler based on clang, designed to perform faster compilations
CFGgrind - A dynamic control flow graph (CFG) reconstruction plugin for valgrind.
Termux-Java - Install Java (Open-JDK-8) in Termux without root!