libastcenc/5.7.0

[brief]

ASTC texture compression C library

This is a build2 package for the ARM astc-encoder C library. It provides Adaptive Scalable Texture Compression (ASTC) encoding and decoding via the public C API in <astcenc.h>.

Usage

To start using libastcenc in your project, add the following depends value to your manifest, adjusting the version constraint as appropriate:

depends: libastcenc ^5.7.0

Then import the library in your buildfile:

import libs = libastcenc%lib{astcenc}

Include the public header as:

#include <astcenc.h>

Importable targets

This package provides the following importable targets:

lib{astcenc}

The core encoder/decoder library (static and shared variants). The astcenc command-line tool is a separate package.

Configuration variables

[string] config.libastcenc.isa ?= <target baseline>

SIMD backend. One of none, native, sse2, sse41, avx2, neon, sve128, sve256 (upstream ASTCENC_ISA_*).

The default is a portable production baseline for the target CPU: sse2 on x86_64, neon on little-endian aarch64 / arm64, none otherwise (including big-endian targets). Override with native for host-tuned codegen (-march=native on non-MSVC), or with a fixed ISA such as avx2.

Upstream SIMD backends are little-endian only. A big-endian build must use none (or native, which follows the compiler). Combining an explicit SIMD ISA with a big-endian target is rejected.

[bool] config.libastcenc.decompress_only ?= false

Build a decompress-only library (ASTCENC_DECOMPRESS_ONLY).

[bool] config.libastcenc.invariance ?= true

Floating-point invariance (upstream ASTCENC_INVARIANCE).

[bool] config.libastcenc.x86_gathers ?= true

Use native x86 gathers for the avx2 backend (upstream ASTCENC_X86_GATHERS). Ignored for every other ISA.

[uint64] config.libastcenc.block_max_texels ?= 0

Limit supported ASTC block sizes (ASTCENC_BLOCK_MAX_TEXELS). 0 keeps the header default of 216 (all 2D and 3D sizes). Use 144 to drop 3D 6x6x6 and shrink compressor tables.

[bool, null] config.libastcenc.big_endian ?= [null]

Big-endian target (ASTCENC_BIG_ENDIAN). The default is auto-detected from the compiler/target via the HAVE_BIGENDIAN autoconf check. Set true or false to override. The define is applied only for isa=none, matching upstream.

version 5.7.0
license Apache-2.0
repository https://pkg.cppget.org/1/testing
download libastcenc-5.7.0.tar.gz
sha256 4384279bf3bf989e1186ca2641b451eecfda737b60513b2041caa40fd67e1a6a
project astc-encoder
url github.com/ARM-software/astc-encoder
doc-url github.com/ARM-software/astc-encoder
src-url github.com/ARM-software/astc-encoder
package-url github.com/build2-packaging/astc-encoder
package-email packaging@build2.orgMailing list
topics graphicstexture compressionASTCimage

Tests

libastcenc-tests == 5.7.0

Reviews

fail 0
pass 0

Builds

toolchain public-0.18.1
target aarch64-linux-gnu
tgt config linux_debian_12-gcc_14-static_O3
timestamp 2026-10-11 19:55:51 UTC (04 00:49:26 days ago)
result success | log | rebuild
toolchain public-0.18.1
target aarch64-linux-gnu
tgt config linux_debian_12-gcc_14-ndebug_O3
timestamp 2026-10-11 19:55:23 UTC (04 00:49:55 days ago)
result success | log | rebuild
toolchain public-0.18.1
target aarch64-linux-gnu
tgt config linux_debian_12-gcc_14-O3
timestamp 2026-10-11 19:55:16 UTC (04 00:50:01 days ago)
result success | log | rebuild
toolchain public-0.18.1
target aarch64-linux-gnu
tgt config linux_debian_12-gcc_14
timestamp 2026-10-11 19:54:46 UTC (04 00:50:32 days ago)
result success | log | rebuild
toolchain public-0.18.1
target x86_64-apple-darwin23.5.0
tgt config macos_14-gcc_14_homebrew-static_O3
timestamp 2026-10-11 17:10:36 UTC (04 03:34:41 days ago)
result success | log | rebuild
toolchain public-0.18.1
target x86_64-apple-darwin23.5.0
tgt config macos_14-gcc_14_homebrew-O3
timestamp 2026-10-11 17:09:22 UTC (04 03:35:55 days ago)
result success | log | rebuild
toolchain public-0.18.1
target x86_64-apple-darwin23.5.0
tgt config macos_14-gcc_14_homebrew
timestamp 2026-10-11 16:01:00 UTC (04 04:44:18 days ago)
result success | log | rebuild
toolchain public-0.18.1
target x86_64-linux-gnu
tgt config linux_fedora_43-gcc_15-bindist
timestamp 2026-10-11 15:29:05 UTC (04 05:16:13 days ago)
result success | log | rebuild
toolchain public-0.18.1
target aarch64-linux-gnu
tgt config linux_debian_12-clang_18_libc++-static_O3
timestamp 2026-10-11 14:45:34 UTC (04 05:59:43 days ago)
result success | log | rebuild
toolchain public-0.18.1
target aarch64-linux-gnu
tgt config linux_debian_12-clang_18_libc++-O3
timestamp 2026-10-11 14:45:20 UTC (04 05:59:58 days ago)
result success | log | rebuild
toolchain public-0.18.1
target aarch64-linux-gnu
tgt config linux_debian_12-clang_18_libc++
timestamp 2026-10-11 14:44:58 UTC (04 06:00:20 days ago)
result success | log | rebuild
toolchain public-0.18.1
target aarch64-linux-gnu
tgt config linux_debian_12-clang_18-static_O3
timestamp 2026-10-11 14:44:43 UTC (04 06:00:34 days ago)
result success | log | rebuild
toolchain public-0.18.1
target aarch64-linux-gnu
tgt config linux_debian_12-clang_18-O3
timestamp 2026-10-11 14:44:21 UTC (04 06:00:56 days ago)
result success | log | rebuild
toolchain public-0.18.1
target aarch64-linux-gnu
tgt config linux_debian_12-clang_18
timestamp 2026-10-11 14:44:05 UTC (04 06:01:13 days ago)
result success | log | rebuild
toolchain public-0.18.1
target x86_64-linux-gnu
tgt config linux_debian_13-gcc_16-static_O3
timestamp 2026-10-11 14:37:59 UTC (04 06:07:18 days ago)
result success | log | rebuild
toolchain public-0.18.1
target x86_64-linux-gnu
tgt config linux_debian_13-gcc_16-O3
timestamp 2026-10-11 14:37:38 UTC (04 06:07:39 days ago)
result success | log | rebuild
toolchain public-0.18.1
target x86_64-linux-gnu
tgt config linux_debian_13-gcc_16-ndebug_O3
timestamp 2026-10-11 14:37:00 UTC (04 06:08:18 days ago)
result success | log | rebuild
toolchain public-0.18.1
target x86_64-linux-gnu
tgt config linux_debian_13-gcc_16
timestamp 2026-10-11 14:36:37 UTC (04 06:08:41 days ago)
result success | log | rebuild
toolchain public-0.18.1
target x86_64-apple-darwin23.5.0
tgt config macos_14-clang_15.0-static_O3
timestamp 2026-10-11 14:35:07 UTC (04 06:10:11 days ago)
result success | log | rebuild
toolchain public-0.18.1
target x86_64-apple-darwin22.5.0
tgt config macos_13-clang_15.0
timestamp 2026-10-11 14:34:19 UTC (04 06:10:58 days ago)
result success | log | rebuild
toolchain public-0.18.1
target x86_64-apple-darwin23.5.0
tgt config macos_14-clang_15.0-O3
timestamp 2026-10-11 14:33:39 UTC (04 06:11:38 days ago)
result success | log | rebuild
toolchain public-0.18.1
target x86_64-apple-darwin23.5.0
tgt config macos_14-clang_15.0
timestamp 2026-10-11 14:32:14 UTC (04 06:13:04 days ago)
result success | log | rebuild
toolchain public-0.18.1
target x86_64-w64-mingw32
tgt config windows_10-gcc_15.2_mingw_w64-static_O2
timestamp 2026-10-11 14:16:26 UTC (04 06:28:52 days ago)
result success | log | rebuild
toolchain public-0.18.1
target x86_64-w64-mingw32
tgt config windows_10-gcc_15.2_mingw_w64-O2
timestamp 2026-10-11 14:16:20 UTC (04 06:28:57 days ago)
result success | log | rebuild
toolchain public-0.18.1
target x86_64-microsoft-win32-msvc14.5
tgt config windows_10-msvc_18-static_O2
timestamp 2026-10-11 14:16:20 UTC (04 06:28:58 days ago)
result success | log | rebuild
toolchain public-0.18.1
target x86_64-linux-gnu
tgt config linux_ubuntu_24.04-gcc_13-bindist
timestamp 2026-10-11 14:15:57 UTC (04 06:29:21 days ago)
result success | log | rebuild
toolchain public-0.18.1
target x86_64-linux-gnu
tgt config linux_debian_13-gcc_14-bindist
timestamp 2026-10-11 14:15:44 UTC (04 06:29:34 days ago)
result success | log | rebuild
toolchain public-0.18.1
target x86_64-microsoft-win32-msvc14.5
tgt config windows_10-msvc_18-O2
timestamp 2026-10-11 14:15:28 UTC (04 06:29:49 days ago)
result success | log | rebuild
toolchain public-0.18.1
target x86_64-w64-mingw32
tgt config windows_10-gcc_15.2_mingw_w64
timestamp 2026-10-11 14:14:59 UTC (04 06:30:18 days ago)
result success | log | rebuild
toolchain public-0.18.1
target x86_64-microsoft-win32-msvc14.5
tgt config windows_10-msvc_18
timestamp 2026-10-11 14:14:57 UTC (04 06:30:20 days ago)
result success | log | rebuild
toolchain public-0.18.1
target x86_64-microsoft-win32-msvc14.3
tgt config windows_10-msvc_17
timestamp 2026-10-11 14:14:20 UTC (04 06:30:57 days ago)
result success | log | rebuild
toolchain public-0.18.1
target x86_64-linux-gnu
tgt config linux_fedora_44-gcc_16-bindist
timestamp 2026-10-11 14:13:37 UTC (04 06:31:40 days ago)
result success | log | rebuild
toolchain public-0.18.1
target x86_64-linux-gnu
tgt config linux_debian_13-gcc_15-O3
timestamp 2026-10-11 14:12:45 UTC (04 06:32:33 days ago)
result success | log | rebuild
toolchain public-0.18.1
target x86_64-freebsd15.0
tgt config freebsd_15-clang_19-static_O3
timestamp 2026-10-11 14:12:40 UTC (04 06:32:37 days ago)
result success | log | rebuild
toolchain public-0.18.1
target x86_64-freebsd15.0
tgt config freebsd_15-clang_19-O3
timestamp 2026-10-11 14:12:09 UTC (04 06:33:08 days ago)
result success | log | rebuild
toolchain public-0.18.1
target x86_64-linux-gnu
tgt config linux_debian_13-gcc_15
timestamp 2026-10-11 14:11:35 UTC (04 06:33:42 days ago)
result success | log | rebuild
toolchain public-0.18.1
target x86_64-freebsd15.0
tgt config freebsd_15-clang_19
timestamp 2026-10-11 14:11:23 UTC (04 06:33:54 days ago)
result success | log | rebuild
toolchain public-0.18.1
target x86_64-freebsd14.1
tgt config freebsd_14-clang_18
timestamp 2026-10-11 14:10:55 UTC (04 06:34:22 days ago)
result success | log | rebuild
toolchain public-0.18.1
target x86_64-linux-gnu
tgt config linux_debian_13-clang_22_libc++-static_O3
timestamp 2026-10-11 13:19:31 UTC (04 07:25:47 days ago)
result warning (test) | warning (test-installed) | log | rebuild
toolchain public-0.18.1
target x86_64-linux-gnu
tgt config linux_debian_13-clang_22-static_O3
timestamp 2026-10-11 13:16:42 UTC (04 07:28:35 days ago)
result warning (test) | warning (test-installed) | log | rebuild
toolchain public-0.18.1
target x86_64-linux-gnu
tgt config linux_debian_13-clang_22_libc++-O3
timestamp 2026-10-11 13:16:29 UTC (04 07:28:48 days ago)
result warning (test) | warning (test-installed) | log | rebuild
toolchain public-0.18.1
target x86_64-linux-gnu
tgt config linux_debian_13-clang_22_libc++
timestamp 2026-10-11 13:16:15 UTC (04 07:29:03 days ago)
result warning (test) | warning (test-installed) | log | rebuild
toolchain public-0.18.1
target x86_64-linux-gnu
tgt config linux_debian_13-clang_22
timestamp 2026-10-11 13:15:55 UTC (04 07:29:22 days ago)
result warning (test) | warning (test-installed) | log | rebuild
toolchain public-0.18.1
target x86_64-linux-gnu
tgt config linux_debian_13-clang_22-O3
timestamp 2026-10-11 13:15:33 UTC (04 07:29:45 days ago)
result warning (test) | warning (test-installed) | log | rebuild
toolchain public-0.18.1
target x86_64-linux-gnu
tgt config linux_debian_13-clang_21
timestamp 2026-10-11 11:42:47 UTC (04 09:02:30 days ago)
result warning (test) | warning (test-installed) | log | rebuild
toolchain public-0.18.1
target x86_64-linux-gnu
tgt config linux_debian_13-clang_21_libc++
timestamp 2026-10-11 11:42:21 UTC (04 09:02:56 days ago)
result warning (test) | warning (test-installed) | log | rebuild
toolchain public-0.18.1
target x86_64-microsoft-win32-msvc14.5
tgt config windows_10-clang_21_msvc_18-static_O2
timestamp 2026-10-11 11:37:39 UTC (04 09:07:38 days ago)
result warning (test) | warning (test-installed) | log | rebuild
toolchain public-0.18.1
target x86_64-microsoft-win32-msvc14.5
tgt config windows_10-clang_21_msvc_18-O2
timestamp 2026-10-11 11:37:17 UTC (04 09:08:00 days ago)
result warning (test) | warning (test-installed) | log | rebuild
toolchain public-0.18.1
target x86_64-microsoft-win32-msvc14.5
tgt config windows_10-clang_21_msvc_18
timestamp 2026-10-11 11:35:57 UTC (04 09:09:21 days ago)
result warning (test) | warning (test-installed) | log | rebuild
toolchain public-0.18.1
target x86_64-linux-gnu
tgt config linux_ubuntu_26.04-gcc_15-bindist
timestamp 2026-10-11 10:05:11 UTC (04 10:40:07 days ago)
result success | log | rebuild
toolchain public-0.18.1
target aarch64-linux-gnu
tgt config linux_debian_12-gcc_13
timestamp 2026-10-11 10:03:33 UTC (04 10:41:45 days ago)
result success | log | rebuild

Changes

5.x series change log

This page summarizes the major functional and performance changes in each release of the 5.x series.

All performance data on this page is measured on an Intel Core i5-9600K clocked at 4.2 GHz, running astcenc using AVX2 and 6 threads.

5.7.0

Status: Released August 2026.

The 5.7.0 release is a minor maintenance release.

5.6.0

Status: Released July 2026

The 5.6.0 release is a minor maintenance release.

5.5.0

Status: Released June 2026

The 5.5.0 release is a minor maintenance release, fixing minor functional issues and improving robustness when processing invalid images.

5.4.0

Status: Released May 2026

The 5.4.0 release is a minor feature release.

This release includes changes to the public interface in the astcenc.h header. We always recommend rebuilding your client-side code using the header from the same release to avoid compatibility issues.

5.3.0

Status: Released March 2025

The 5.3.0 release is a minor maintenance release.

5.2.0

Status: Released February 2025

The 5.2.0 release is a minor maintenance release.

This release includes changes to the public interface in the astcenc.h header. We always recommend rebuilding your client-side code using the header from the same release to avoid compatibility issues.

5.1.0

Status: Released November 2024

The 5.1.0 release is an optimization release, giving moderate performance improvements on all platforms. There are no image quality differences.

5.0.0

Status: Released November 2024

The 5.0.0 release is the first stable release in the 5.x series. The main new feature is support for the Arm Scalable Vector Extensions (SVE) SIMD instruction set.


Copyright © 2022-2026, Arm Limited and contributors.