view ci/build-snd-dummy.sh @ 30691:024e1c1da31f v9.0.0680

patch 9.0.0680: tests failing with 'breakindent', 'number' and "n" in 'cpo' Commit: https://github.com/vim/vim/commit/3725116f6ec3b5c01e456b151a60c0690e04f76c Author: Bram Moolenaar <Bram@vim.org> Date: Thu Oct 6 20:48:00 2022 +0100 patch 9.0.0680: tests failing with 'breakindent', 'number' and "n" in 'cpo' Problem: Tests failing with 'breakindent', 'number' and "n" in 'cpo'. Solution: Do count the number column in topline if 'breakindent' is set.
author Bram Moolenaar <Bram@vim.org>
date Thu, 06 Oct 2022 22:00:05 +0200
parents 1984a3fcc953
children
line wrap: on
line source

#!/bin/bash
set -eu

LINUX_VERSION=$(uname -r | cut -d. -f1-2)
LINUX_ARCHIVE_FILE=v${LINUX_VERSION}.tar.gz
LINUX_SOURCE_DIR=linux-${LINUX_VERSION}

mkdir -p "${TMPDIR}"
cd "${TMPDIR}"

wget -q "https://github.com/torvalds/linux/archive/${LINUX_ARCHIVE_FILE}"

tar -xf "${LINUX_ARCHIVE_FILE}" "${LINUX_SOURCE_DIR}/sound"
cd "${LINUX_SOURCE_DIR}/sound"

CC=gcc make -C "/lib/modules/$(uname -r)/build" M="${PWD}" CONFIG_SOUND=m CONFIG_SND=m CONFIG_SND_PCM=m CONFIG_SND_DUMMY=m modules

mkdir -p "${SND_DUMMY_DIR}"
cp soundcore.ko core/snd.ko core/snd-pcm.ko drivers/snd-dummy.ko "${SND_DUMMY_DIR}"