Skip to content

Commit

Permalink
Add vcpkg manifest
Browse files Browse the repository at this point in the history
  • Loading branch information
bernhardmgruber committed Feb 3, 2023
1 parent 52048b0 commit 151bc6a
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 21 deletions.
21 changes: 0 additions & 21 deletions .github/workflows/ci.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ concurrency:
env:
THREADS: 2
CONFIG: RelWithDebInfo
VCPKG_INSTALL: "vcpkg install alpaka fmt tinyobjloader boost-mp11 boost-atomic boost-smart-ptr boost-functional boost-container boost-iostreams[core] catch2 xsimd"

jobs:
clang-format:
Expand Down Expand Up @@ -49,9 +48,6 @@ jobs:
- name: install clang-15
run: |
sudo apt install clang-15 libomp-15-dev clang-tidy-15
- name: vcpkg install dependencies
run: |
eval $VCPKG_INSTALL
- name: cmake
run: |
mkdir build
Expand Down Expand Up @@ -83,9 +79,6 @@ jobs:
- name: install lcov
run: |
sudo apt install lcov
- name: vcpkg install dependencies
run: |
eval $VCPKG_INSTALL
- name: cmake
run: |
mkdir build
Expand Down Expand Up @@ -122,9 +115,6 @@ jobs:
- uses: actions/checkout@v3
- name: create llama.hpp
run: ./tools/create-single-header.sh
- name: vcpkg install dependencies
run: |
eval $VCPKG_INSTALL
- name: test llama.hpp
run: |
mkdir build
Expand Down Expand Up @@ -244,11 +234,6 @@ jobs:
if: ${{ matrix.install_extra }}
run: |
sudo apt install ${{ matrix.install_extra }}
- name: vcpkg install dependencies
run: |
# vcpkg fails to build with Intel or nvhpc compilers
if [ ${{ matrix.install_oneapi }} ] || [ ${{ matrix.add_nvcpp_repo }} ]; then unset CXX; fi
eval $VCPKG_INSTALL
- name: download CUDA
if: matrix.cuda_url
run: |
Expand Down Expand Up @@ -314,9 +299,6 @@ jobs:

steps:
- uses: actions/checkout@v3
- name: vcpkg install dependencies
run: |
eval $VCPKG_INSTALL
- name: cmake
run: |
mkdir build
Expand Down Expand Up @@ -347,9 +329,6 @@ jobs:
run: |
brew install llvm libomp
echo "CXX is here: $(brew --prefix llvm)/bin/clang++"
- name: vcpkg install dependencies
run: |
eval $VCPKG_INSTALL
- name: cmake
run: |
mkdir build
Expand Down
21 changes: 21 additions & 0 deletions vcpkg.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
{
"$schema": "https://raw.githubusercontent.com/microsoft/vcpkg/master/scripts/vcpkg.schema.json",
"name": "llama",
"version": "0.5.0",
"dependencies": [
"alpaka",
"boost-atomic",
"boost-core",
"boost-functional",
"boost-mp11",
"boost-smart-ptr",
{
"name": "boost-iostreams",
"default-features": false
},
"catch2",
"fmt",
"tinyobjloader",
"xsimd"
],
}

0 comments on commit 151bc6a

Please sign in to comment.