Skip to content
Snippets Groups Projects
Commit d5217655 authored by Benedikt Steinbusch's avatar Benedikt Steinbusch
Browse files

add trisycl formula

parent f8966da9
No related branches found
No related tags found
No related merge requests found
# Documentation: https://docs.brew.sh/Formula-Cookbook
# https://rubydoc.brew.sh/Formula
# PLEASE REMOVE ALL GENERATED COMMENTS BEFORE SUBMITTING YOUR PULL REQUEST!
class Trisycl < Formula
desc "Generic system-wide modern C++ for heterogeneous platforms with SYCL from Khronos Group"
homepage "https://github.com/triSYCL/triSYCL"
license "NCSA"
head "https://github.com/triSYCL/triSYCL.git"
depends_on "cmake" => :build
depends_on "boost"
depends_on "llvm"
depends_on "range-v3"
def install
# ENV.deparallelize # if your formula fails when building in parallel
system "cmake", ".", *std_cmake_args
system "make", "install" # if this fails, try separate make/make install steps
end
test do
# `test do` will create, run in and delete a temporary directory.
#
# This test will fail and we won't accept that! For Homebrew/homebrew-core
# this will need to be a test that verifies the functionality of the
# software. Run the test with `brew test triSYCL`. Options passed
# to `brew install` such as `--HEAD` also need to be provided to `brew test`.
#
# The installed folder is not in the path, so use the entire path to any
# executables being tested: `system "#{bin}/program", "do", "something"`.
system "false"
end
end
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment