Skip to content

Commit

Permalink
Update linux-x86_64.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
kaizhangNV committed Feb 8, 2024
1 parent 8861fc9 commit 8c47ab6
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,11 @@ jobs:

steps:
- uses: actions/checkout@v3
- name: Install prerequisite
run: sudo apt-get install ninja-build
- name: configure
run: cmake --preset linux-gcc
- name: make
run: cmake --build build/linux-gcc
- name: run test
run: _GL_SHADER_DISK_CACHE=0 ./build/linux-gcc/bin/Debug/falcor_perftest
run: __GL_SHADER_DISK_CACHE=0 ./build/linux-gcc/bin/Debug/falcor_perftest
4 changes: 4 additions & 0 deletions dependencies.xml
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,8 @@
<package name="slang" version="2024.0.0" remotes="github-slang-windows" platforms="windows-x86_64"/>
<package name="slang" version="2024.0.0" remotes="github-slang-linux" platforms="linux-x86_64" />
</dependency>
<dependency name="slang" linkPath="external/packman/vulkansdk">
<package name="vulkansdk" version="1.1.73.0-win" platforms="windows-x86_64" />
<package name="vulkansdk" version="1.1.73.0-linux-x86_64" platforms="linux-x86_64" />
</dependency>
</project>
4 changes: 3 additions & 1 deletion external/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
# external_includes
add_library(external_includes INTERFACE)
target_include_directories(external_includes INTERFACE include)

# -----------------------------------------------------------------------------
# Dependencies in packman
# -----------------------------------------------------------------------------
Expand Down Expand Up @@ -50,3 +49,6 @@ elseif(FALCOR_LINUX)
IMPORTED_LOCATION ${SLANG_DIR}/bin/linux-x64/${FALCOR_SLANG_CONFIG}/libgfx.so
)
endif()

set(VULKAN_DIR ${PACKMAN_DIR}/vulkansdk)
target_include_directories(external_includes INTERFACE ${VULKAN_DIR}/include)

0 comments on commit 8c47ab6

Please sign in to comment.