Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add option to enable mkvk targets (VkFormat-related file generation). #840

Merged
merged 32 commits into from
Jan 19, 2024

Conversation

MarkCallow
Copy link
Collaborator

The option defaults to OFF. Only project developers need to regenerate these files.

Fixes #834.

Other included related fixes:

  • Modify mkvkformatfiles to write CRLF on Windows.
  • Stop using unix2dos in mkvk custom commands and remove near
    duplicate WIN32 custom commands. Developers must ensure they
    use a Windows native Perl to get the correct line endings when
    generating dfdutils' *.inl files.
  • Generate dfdutils .inl files from vulkan_core not vkformat_enum
    to remove dependency on the latter's generation.
  • Add CI jobs to test generation on all platforms since main builds
    will no longer be building those targets.

Unrelated fixes:

  • Set HOMEBREW_NO_AUTO_UPDATE for macOS Travis CI jobs
    to finally stop the auto update and shave more than 1 hour off the
    total build time.
  • Bracket the whole script section of .travis.yml with set -e and set +e
    instead of piecemeal in various if clauses.

* Modify mkvkformatfiles to write CRLF on Windows.
* Stop using unix2dos in mkvk custom commands.
* Generate dfdutils .inl files from vulkan_core not vkformat_enum
  to remove dependency on the latter's generation.
re clean side-effects and requiring packages.
@MarkCallow MarkCallow merged commit e77a531 into main Jan 19, 2024
29 checks passed
@MarkCallow MarkCallow deleted the issue834 branch January 19, 2024 01:22
KaperD pushed a commit to KaperD/KTX-Software that referenced this pull request Feb 21, 2024
…KhronosGroup#840)

The option defaults to OFF. Only project developers need to regenerate
these files.

Fixes KhronosGroup#834.

Other included related fixes:
* Modify mkvkformatfiles to write CRLF on Windows.
* Stop using unix2dos in mkvk custom commands and remove near
  duplicate WIN32 custom commands. Developers must ensure they
  use a Windows native Perl to get the correct line endings when
  generating dfdutils' `*.inl` files.
* Generate dfdutils .inl files from vulkan_core not vkformat_enum
  to remove dependency on the latter's generation.
* Add CI jobs to test generation on all platforms since main builds
  will no longer be building those targets.

Unrelated fixes:
* Set `HOMEBREW_NO_AUTO_UPDATE` for macOS Travis CI jobs
  to finally stop the auto update and shave more than 1 hour off the
  total build time.
* Bracket the whole `script` section of `.travis.yml` with `set -e` and
`set +e`
  instead of piecemeal in various `if` clauses.
KaperD pushed a commit to KaperD/KTX-Software that referenced this pull request Feb 22, 2024
…KhronosGroup#840)

The option defaults to OFF. Only project developers need to regenerate
these files.

Fixes KhronosGroup#834.

Other included related fixes:
* Modify mkvkformatfiles to write CRLF on Windows.
* Stop using unix2dos in mkvk custom commands and remove near
  duplicate WIN32 custom commands. Developers must ensure they
  use a Windows native Perl to get the correct line endings when
  generating dfdutils' `*.inl` files.
* Generate dfdutils .inl files from vulkan_core not vkformat_enum
  to remove dependency on the latter's generation.
* Add CI jobs to test generation on all platforms since main builds
  will no longer be building those targets.

Unrelated fixes:
* Set `HOMEBREW_NO_AUTO_UPDATE` for macOS Travis CI jobs
  to finally stop the auto update and shave more than 1 hour off the
  total build time.
* Bracket the whole `script` section of `.travis.yml` with `set -e` and
`set +e`
  instead of piecemeal in various `if` clauses.
KaperD pushed a commit to KaperD/KTX-Software that referenced this pull request Feb 22, 2024
…KhronosGroup#840)

The option defaults to OFF. Only project developers need to regenerate
these files.

Fixes KhronosGroup#834.

Other included related fixes:
* Modify mkvkformatfiles to write CRLF on Windows.
* Stop using unix2dos in mkvk custom commands and remove near
  duplicate WIN32 custom commands. Developers must ensure they
  use a Windows native Perl to get the correct line endings when
  generating dfdutils' `*.inl` files.
* Generate dfdutils .inl files from vulkan_core not vkformat_enum
  to remove dependency on the latter's generation.
* Add CI jobs to test generation on all platforms since main builds
  will no longer be building those targets.

Unrelated fixes:
* Set `HOMEBREW_NO_AUTO_UPDATE` for macOS Travis CI jobs
  to finally stop the auto update and shave more than 1 hour off the
  total build time.
* Bracket the whole `script` section of `.travis.yml` with `set -e` and
`set +e`
  instead of piecemeal in various `if` clauses.
KaperD pushed a commit to KaperD/KTX-Software that referenced this pull request Feb 22, 2024
…KhronosGroup#840)

The option defaults to OFF. Only project developers need to regenerate
these files.

Fixes KhronosGroup#834.

Other included related fixes:
* Modify mkvkformatfiles to write CRLF on Windows.
* Stop using unix2dos in mkvk custom commands and remove near
  duplicate WIN32 custom commands. Developers must ensure they
  use a Windows native Perl to get the correct line endings when
  generating dfdutils' `*.inl` files.
* Generate dfdutils .inl files from vulkan_core not vkformat_enum
  to remove dependency on the latter's generation.
* Add CI jobs to test generation on all platforms since main builds
  will no longer be building those targets.

Unrelated fixes:
* Set `HOMEBREW_NO_AUTO_UPDATE` for macOS Travis CI jobs
  to finally stop the auto update and shave more than 1 hour off the
  total build time.
* Bracket the whole `script` section of `.travis.yml` with `set -e` and
`set +e`
  instead of piecemeal in various `if` clauses.
KaperD pushed a commit to KaperD/KTX-Software that referenced this pull request Feb 22, 2024
…KhronosGroup#840)

The option defaults to OFF. Only project developers need to regenerate
these files.

Fixes KhronosGroup#834.

Other included related fixes:
* Modify mkvkformatfiles to write CRLF on Windows.
* Stop using unix2dos in mkvk custom commands and remove near
  duplicate WIN32 custom commands. Developers must ensure they
  use a Windows native Perl to get the correct line endings when
  generating dfdutils' `*.inl` files.
* Generate dfdutils .inl files from vulkan_core not vkformat_enum
  to remove dependency on the latter's generation.
* Add CI jobs to test generation on all platforms since main builds
  will no longer be building those targets.

Unrelated fixes:
* Set `HOMEBREW_NO_AUTO_UPDATE` for macOS Travis CI jobs
  to finally stop the auto update and shave more than 1 hour off the
  total build time.
* Bracket the whole `script` section of `.travis.yml` with `set -e` and
`set +e`
  instead of piecemeal in various `if` clauses.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

When compiling under Windows, it prompts unix2dos: command not found.
1 participant