Skip to content

Latest commit

 

History

History
41 lines (28 loc) · 1.28 KB

README.md

File metadata and controls

41 lines (28 loc) · 1.28 KB

Support Ukraine

Bazel rules for Intel Implicit SPMD Program Compiler (ISPC)

Bazel build rules for ISPC. Tested on Windows, Linux and macOS.

Goal

The goal of these rules is to be able to use ISPC using Bazel on Windows, Linux and macOS without the need to preinstall ISPC. All the magic to set up ISPC should be done by Bazel with as little effort as possible.

Quick start

This project uses Bazel as a build system. The current used version of Bazel to test these rules is defined in .bazelversion. It is very likely that these rules work also with other Bazel versions, since only very basic features are used.

Prerequisites:

The following tools should be installed:

  • Git
  • Bazel
  • A C++ compiler (GCC, Visual Studio, Clang, Apple Clang, etc.)

Checkout, build, and run:

git clone https://github.com/Vertexwahn/rules_ispc.git
cd rules_ispc
cd tests
bazel build //square:main
bazel run //square:main

License

This work is published under Apache 2.0 License.