File: README.Windows

package info (click to toggle)
pocl 1.2-5
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 18,364 kB
  • sloc: lisp: 161,362; cpp: 61,359; ansic: 58,804; python: 696; sh: 162; makefile: 148; pascal: 147; java: 72; xml: 49
file content (36 lines) | stat: -rw-r--r-- 1,169 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# Compiling pocl on Windows

## Dependencies:

- Visual Studio 2013
- Git and Git bash http://git-scm.com/downloads
- CMake 2.8 or newer http://www.cmake.org/download/
- Python 2.7 for LLVM
- Pthreads-win32 binary distribution https://www.sourceware.org/pthreads-win32/
- Hwloc for Windows x64 binary distribution http://www.open-mpi.org/software/hwloc/v1.10/ 
- LLVM + Clang latest release sources

## Support:

- Only 64bit compiling for now
- No ICD compiling
- No VML (no stdcxxlib finding done for windows)
- Static compilation

## Building

There is shell script in `pocl/windows/setup_and_build_win64.sh`

Shell script may be ran in `Git Bash` and it downloads and installs pocl and all the
library dependencies and builds them to `/c/pocl-playground`.

To download and build everything without first fetching pocl repository one can do simply:

    curl https://raw.githubusercontent.com/pocl/master/windows/setup_and_build_win64.sh | sh

Script requires following software installed on Windows 7 or later (64bit only):

- Visual Studio 2013 (e.g. community edition)
- Cmake 2.8 or later (must be added to PATH)
- Git + Git Bash
- Python 2.7 for compiling LLVM