File: build.sh

package info (click to toggle)
ispc 1.26.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 95,356 kB
  • sloc: cpp: 55,778; python: 6,681; yacc: 3,074; lex: 1,095; ansic: 714; sh: 283; makefile: 16
file content (20 lines) | stat: -rwxr-xr-x 670 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/bin/bash

rst2html=rst2html

exit_status=0
for i in ispc ispc_for_xe perfguide faq design/invoke_sycl; do
    $rst2html --template=template.txt --link-stylesheet \
        --stylesheet-path=css/style.css --exit-status=2 $i.rst > $i.html
    (( exit_status = exit_status || $? ))
done

$rst2html --template=template-perf.txt --link-stylesheet \
        --stylesheet-path=css/style.css --exit-status=2 perf.rst > perf.html
(( exit_status = exit_status || $? ))

#rst2latex --section-numbering --documentclass=article --documentoptions=DIV=9,10pt,letterpaper ispc.rst > ispc.tex
#pdflatex ispc.tex
#/bin/rm -f ispc.aux ispc.log ispc.out ispc.tex

[ $exit_status -eq 0 ]