https://github.com/vertexwahn/rules_ispc
Bazel rules for Intel Implicit SPMD Program Compiler
https://github.com/vertexwahn/rules_ispc
bazel bazel-rules cpp ispc spmd
Last synced: about 2 months ago
JSON representation
Bazel rules for Intel Implicit SPMD Program Compiler
- Host: GitHub
- URL: https://github.com/vertexwahn/rules_ispc
- Owner: Vertexwahn
- License: apache-2.0
- Created: 2022-11-20T19:26:09.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-04-21T11:04:38.000Z (about 1 year ago)
- Last Synced: 2025-04-10T23:12:54.440Z (about 2 months ago)
- Topics: bazel, bazel-rules, cpp, ispc, spmd
- Language: Starlark
- Homepage: https://vertexwahn.de/page/open_source/
- Size: 53.7 KB
- Stars: 3
- Watchers: 2
- Forks: 2
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
[](https://opensource.fb.com/support-ukraine)
# Bazel rules for Intel Implicit SPMD Program Compiler (ISPC)
Bazel build rules for [ISPC](https://ispc.github.io/).
Tested on Windows, Linux and macOS.## Goal
The goal of these rules is to be able to use [ISPC](https://ispc.github.io/) using [Bazel](https://bazel.build/) 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](https://bazel.build/) as a build system.
The current used version of Bazel to test these rules is defined in [.bazelversion](tests/.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](https://git-scm.com/)
- [Bazel](https://bazel.build/install)
- A C++ compiler (GCC, Visual Studio, Clang, Apple Clang, etc.)**Checkout, build, and run:**
```shell
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.