@@ -12,7 +12,6 @@ concurrency:
12
12
env :
13
13
THREADS : 2
14
14
CONFIG : RelWithDebInfo
15
- VCPKG_INSTALL : " vcpkg install alpaka fmt tinyobjloader boost-mp11 boost-atomic boost-smart-ptr boost-functional boost-container boost-iostreams[core] catch2 xsimd"
16
15
17
16
jobs :
18
17
clang-format :
49
48
- name : install clang-15
50
49
run : |
51
50
sudo apt install clang-15 libomp-15-dev clang-tidy-15
52
- - name : vcpkg install dependencies
53
- run : |
54
- eval $VCPKG_INSTALL
55
51
- name : cmake
56
52
run : |
57
53
mkdir build
83
79
- name : install lcov
84
80
run : |
85
81
sudo apt install lcov
86
- - name : vcpkg install dependencies
87
- run : |
88
- eval $VCPKG_INSTALL
89
82
- name : cmake
90
83
run : |
91
84
mkdir build
@@ -122,16 +115,14 @@ jobs:
122
115
- uses : actions/checkout@v3
123
116
- name : create llama.hpp
124
117
run : ./tools/create-single-header.sh
125
- - name : vcpkg install dependencies
126
- run : |
127
- eval $VCPKG_INSTALL
118
+ - run : vcpkg install # installs manifest in a folder called `vcpkg_installed` next to the manifest
128
119
- name : test llama.hpp
129
120
run : |
130
121
mkdir build
131
122
cd build
132
123
mkdir llama
133
124
cp -p ../single-header/llama.hpp llama
134
- $CXX -std=c++20 -I$VCPKG_INSTALLATION_ROOT/installed /x64-linux/include -I. ../examples/heatequation/heatequation.cpp
125
+ $CXX -std=c++20 -I../vcpkg_installed /x64-linux/include -I. ../examples/heatequation/heatequation.cpp
135
126
- name : upload llama.hpp
136
127
uses : actions/upload-artifact@v3
137
128
with :
@@ -244,11 +235,6 @@ jobs:
244
235
if : ${{ matrix.install_extra }}
245
236
run : |
246
237
sudo apt install ${{ matrix.install_extra }}
247
- - name : vcpkg install dependencies
248
- run : |
249
- # vcpkg fails to build with Intel or nvhpc compilers
250
- if [ ${{ matrix.install_oneapi }} ] || [ ${{ matrix.add_nvcpp_repo }} ]; then unset CXX; fi
251
- eval $VCPKG_INSTALL
252
238
- name : download CUDA
253
239
if : matrix.cuda_url
254
240
run : |
@@ -314,9 +300,6 @@ jobs:
314
300
315
301
steps :
316
302
- uses : actions/checkout@v3
317
- - name : vcpkg install dependencies
318
- run : |
319
- eval $VCPKG_INSTALL
320
303
- name : cmake
321
304
run : |
322
305
mkdir build
@@ -347,9 +330,6 @@ jobs:
347
330
run : |
348
331
brew install llvm libomp pkg-config
349
332
echo "CXX is here: $(brew --prefix llvm)/bin/clang++"
350
- - name : vcpkg install dependencies
351
- run : |
352
- eval $VCPKG_INSTALL
353
333
- name : cmake
354
334
run : |
355
335
mkdir build
0 commit comments