Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
  • This project
    • Loading...
  • Sign in / Register
S
swiftshader
  • Project
    • Overview
    • Details
    • Activity
    • Cycle Analytics
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
    • Charts
  • Issues 0
    • Issues 0
    • List
    • Board
    • Labels
    • Milestones
  • Merge Requests 0
    • Merge Requests 0
  • CI / CD
    • CI / CD
    • Pipelines
    • Jobs
    • Schedules
    • Charts
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Members
    • Members
  • Collapse sidebar
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • Chen Yisong
  • swiftshader
  • Repository

Switch branch/tag
  • swiftshader
  • src
  • Vulkan
  • CMakeLists.txt
Find file
BlameHistoryPermalink
  • Nicolas Capens's avatar
    Automate installing the API library for testing · 4c0f888d
    Nicolas Capens authored Mar 18, 2021
    To run dEQP tests we previously either had to install the Vulkan Loader
    and configure it to find the SwiftShader Vulkan ICD, or manually copy
    over the library.
    
    This change introduces the SWIFTSHADER_VULKAN_API_LIBRARY_INSTALL_PATH
    environment variable, which can be set to a path where the API library
    should be copied to. When used with dEQP it ensures we always test with
    the last build, instead of the path provided in the JSON file used by
    the Vulkan loader.
    
    Note this is only meant as a convenience for SwiftShader development.
    It shouldn't be used as a substitute for installing the ICD for
    system-wide usage. The latter should probably use CMAKE_INSTALL_PREFIX
    instead, but there are no known use cases yet for installing SwiftShader
    as the system-level driver, through the CMake build.
    
    Bug: b/149486511
    Change-Id: I5ec9d669967ba0c05a763263605ee0ad5cfd505e
    Reviewed-on: https://swiftshader-review.googlesource.com/c/SwiftShader/+/53768
    Presubmit-Ready: Nicolas Capens <nicolascapens@google.com>
    Tested-by: 's avatarNicolas Capens <nicolascapens@google.com>
    Kokoro-Result: kokoro <noreply+kokoro@google.com>
    Reviewed-by: 's avatarAlexis Hétu <sugoi@google.com>
    4c0f888d
CMakeLists.txt 7.43 KB
EditWeb IDE
×

Replace CMakeLists.txt

Attach a file by drag & drop or click to upload


Cancel
A new branch will be created in your fork and a new merge request will be started.