1
0
mirror of https://github.com/termux/termux-packages synced 2024-06-26 22:58:05 +00:00
termux-packages/packages/clpeak/build.sh
Jia Yuan Lo d7b5ee4f07
chore(main, x11): cleanup clvk, clpeak, gl4es build.sh (#12094)
* drop git submodule deinit usage

* drop termux_step_post_get_source for clpeak
  Should be no longer after bumped to 1.1.2 as that was used when
  clpeak was built using git commit.

* drop git reset --hard in favour of git checkout
  Suppose if we want to include patches before termux_step_post_get_source,
  git reset --hard will drop the patches and reset the whole tree.
  Use git checkout instead.
2022-09-25 16:57:49 +08:00

11 lines
457 B
Bash

TERMUX_PKG_HOMEPAGE=https://github.com/krrishnarraj/clpeak
TERMUX_PKG_DESCRIPTION="A tool which profiles OpenCL devices to find their peak capacities"
TERMUX_PKG_LICENSE="Unlicense"
TERMUX_PKG_MAINTAINER="@termux"
TERMUX_PKG_VERSION=1.1.2
TERMUX_PKG_REVISION=3
TERMUX_PKG_GIT_BRANCH=$TERMUX_PKG_VERSION
TERMUX_PKG_SRCURL=https://github.com/krrishnarraj/clpeak.git
TERMUX_PKG_BUILD_DEPENDS="opencl-headers, opencl-clhpp"
TERMUX_PKG_DEPENDS="libc++, ocl-icd"