Skip to content

[physx] Add patch for NVIDIAGameWorks/PhysX#322.#12413

Merged
strega-nil merged 4 commits intomicrosoft:masterfrom
Hoikas:physx
Jul 31, 2020
Merged

[physx] Add patch for NVIDIAGameWorks/PhysX#322.#12413
strega-nil merged 4 commits intomicrosoft:masterfrom
Hoikas:physx

Conversation

@Hoikas
Copy link
Copy Markdown
Contributor

@Hoikas Hoikas commented Jul 13, 2020

This pull request allows applications to link with a statically built PhysX SDK and the Autodesk 3ds Max SDK by hiding certain internal PhysX symbols in an internal namespace (the specific conflicting symbol in this case is the class BitArray). This patch was submitted to NVIDIA, however, the PhysX repository is not actively matained. Even accepted pull requests are not actually merged and are instead included as patches in vcpkg.

@NancyLi1013 NancyLi1013 added the category:port-feature The issue is with a library, which is requesting new capabilities that didn’t exist label Jul 14, 2020
Copy link
Copy Markdown
Contributor

@NancyLi1013 NancyLi1013 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Could you please remove include(vcpkg_common_functions)? Since it is not needed here.

Also please use VCPKG_TARGET_IS_WINDOW, VCPKG_TARGET_IS_UWP to judge the platforms instead of using VCPKG_CMAKE_SYSTEM_NAME.

@Hoikas
Copy link
Copy Markdown
Contributor Author

Hoikas commented Jul 14, 2020

I have fixed the platform logic to no longer check VCPKG_CMAKE_SYSTEM_NAME. Please let me know if you have any other concerns.

Comment thread ports/physx/portfile.cmake Outdated
@Hoikas
Copy link
Copy Markdown
Contributor Author

Hoikas commented Jul 15, 2020

Updated to convert all space-based indentation to tabs.

Comment thread ports/physx/portfile.cmake Outdated
@Hoikas
Copy link
Copy Markdown
Contributor Author

Hoikas commented Jul 15, 2020

More indentation adjustments have been pushed.

@NancyLi1013
Copy link
Copy Markdown
Contributor

/azp run

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 1 pipeline(s).

@NancyLi1013 NancyLi1013 added the info:needs-maintainer-attention Lets the current 'on rotation' vcpkg maintainer know they need to look at this. label Jul 23, 2020
@Hoikas Hoikas mentioned this pull request Jul 25, 2020
@strega-nil
Copy link
Copy Markdown
Contributor

/azp run

@azure-pipelines
Copy link
Copy Markdown

Azure Pipelines successfully started running 1 pipeline(s).

@strega-nil strega-nil merged commit 092267f into microsoft:master Jul 31, 2020
@Hoikas Hoikas deleted the physx branch August 3, 2020 10:28
hellozee pushed a commit to hellozee/vcpkg that referenced this pull request Sep 11, 2020
* [physx] Add patch for NVIDIAGameWorks/PhysX#322.

* [physx] Cleanup usage of `VCPKG_CMAKE_SYSTEM_NAME`.

* [physx] Convert portfile space indentation to tabs.

* Update portfile.cmake

Co-authored-by: NancyLi1013 <46708020+NancyLi1013@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

category:port-feature The issue is with a library, which is requesting new capabilities that didn’t exist info:needs-maintainer-attention Lets the current 'on rotation' vcpkg maintainer know they need to look at this.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants