Skip to content

profiles: Dev dependencies#915

Open
christophe-lunarg wants to merge 15 commits into
mainfrom
dev
Open

profiles: Dev dependencies#915
christophe-lunarg wants to merge 15 commits into
mainfrom
dev

Conversation

@christophe-lunarg

Copy link
Copy Markdown
Collaborator
  • Improve profiles schema to support capabilities dynamic structures
  • Optimize profiles schema to avoid duplicated values
  • Add vkprofiles standalone executable to replace python scripts

christophe-lunarg and others added 12 commits July 21, 2026 16:05
The Vulkan-Profiles build requires unusual Python modules jsonschema and
pyinstaller to be installed in whatever Python is used to build the
standalone executables.

Rather than rely on the system Python including these modules, this code
change causes the build to create its on Python virtual environment,
and install the necessary Python modules in the virtual environment, before
using it to build the executables.

CMakeLists.txt:
-   require Python 3.10, to insure pyinstaller 6 can be installed
-   create a Python virtual environment using requirements.txt
-   use the Python virtual environment to make FINAL_EXECUTABLE

requirements.txt: new file
-   include all the Python modules that aren't part of the Python Standard Library
The Python script needs to access the Vulkan-Headers version of vulkan_object.py.
It doesn't need the vulkan_object module.
Or they end up complaining about missing "pyparsing" modules

We also need a python_venv dependency so a subdirectory can reference it
@ci-tester-lunarg

Copy link
Copy Markdown
Collaborator

CI VulkanProfiles build queued with queue ID 49562.

1 similar comment
@ci-tester-lunarg

Copy link
Copy Markdown
Collaborator

CI VulkanProfiles build queued with queue ID 49562.

@ci-tester-lunarg

Copy link
Copy Markdown
Collaborator

CI VulkanProfiles build # 4026 running.

@ci-tester-lunarg

Copy link
Copy Markdown
Collaborator

CI VulkanProfiles build # 4026 failed.

@christophe-lunarg christophe-lunarg changed the title profiles: A dependencies pulling from vk.xml profiles: Dev Jul 21, 2026
@christophe-lunarg christophe-lunarg changed the title profiles: Dev profiles: Dev dependencies Jul 21, 2026
@ci-tester-lunarg

Copy link
Copy Markdown
Collaborator

CI VulkanProfiles build queued with queue ID 49814.

@ci-tester-lunarg

Copy link
Copy Markdown
Collaborator

CI VulkanProfiles build # 4036 running.

@ci-tester-lunarg

Copy link
Copy Markdown
Collaborator

CI VulkanProfiles build # 4036 passed.

@ci-tester-lunarg

Copy link
Copy Markdown
Collaborator

CI VulkanProfiles build queued with queue ID 50787.

@ci-tester-lunarg

Copy link
Copy Markdown
Collaborator

CI VulkanProfiles build queued with queue ID 50799.

@ci-tester-lunarg

Copy link
Copy Markdown
Collaborator

CI VulkanProfiles build # 4047 running.

@ci-tester-lunarg

Copy link
Copy Markdown
Collaborator

CI VulkanProfiles build # 4047 passed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants