@@ -29,6 +29,15 @@ pkg-config target-selector --cflags --libs
29
29
</pre >
30
30
</td>
31
31
</tr>
32
+ <tr>
33
+ <td>
34
+ <b>Arch Linux AUR</b><br>
35
+ <img alt="AUR version" src="https://img.shields.io/aur/version/sycl-info-git?label=sycl-info-git&style=flat-square">
36
+ </td>
37
+ <td>
38
+ <pre>yay -S sycl-info-git</pre>
39
+ </td>
40
+ </tr>
32
41
</table >
33
42
34
43
### Using sycl-info
@@ -40,15 +49,15 @@ This is also generated as an HTML and additionally as a man page on Linux.
40
49
You can find the generated html document here:
41
50
42
51
```
43
- <sycl_info_install_dir>/package/ share/doc/sycl-info.1.html
52
+ <sycl_info_install_dir>/share/doc/sycl-info.1.html
44
53
```
45
54
46
55
#### Linux:
47
56
48
57
On Linux you can view the man page by doing:
49
58
50
59
```
51
- man <sycl_info_install_dir>/package/ share/man/man1/sycl-info.1
60
+ man <sycl_info_install_dir>/share/man/man1/sycl-info.1
52
61
```
53
62
54
63
## Building
@@ -78,7 +87,7 @@ conan package sycl-info -bf build/ -pf install/
78
87
79
88
### Plain CMake
80
89
81
- For an example of how a complete script looks like refer to the PKGBUILD.
90
+ For an example of how a complete script looks like refer to the [ PKGBUILD on the AUR ] ( https://aur.archlinux.org/cgit/aur.git/tree/PKGBUILD?h=sycl-info-git ) .
82
91
83
92
#### Dependencies
84
93
@@ -106,7 +115,7 @@ git clone https://github.com/bfgroup/Lyra Lyra
106
115
git clone https://github.com/onqtam/doctest doctest # Only needed for the tests
107
116
gem install ronn # Only needed to build the man page
108
117
cp -r OpenCL-Headers/CL install/include/
109
- cp -r Lyra/include/lyra install/include
118
+ cp -r Lyra/include/lyra install/include/
110
119
111
120
for dep in OpenCL-ICD-Loader json doctest; do
112
121
mkdir ${dep} -build
@@ -127,15 +136,6 @@ cmake -S sycl-info -B build \
127
136
cmake --build build/ --target install
128
137
```
129
138
130
- ### Arch Linux
131
-
132
- Note that this PKGBUILD serves a full example of how the project is supposed to
133
- be packaged for a Linux distribution and will be moved to the AUR in the future.
134
-
135
- ``` bash
136
- makepkg -si
137
- ```
138
-
139
139
## Packaging
140
140
141
141
After sycl-info is built it can be packaged into a ` .deb ` , ` .rpm ` , or a tarball using CPack:
0 commit comments