Skip to content

Commit

Permalink
Update PhysX to 5.5.0 at e41b928f
Browse files Browse the repository at this point in the history
  • Loading branch information
ayoub-belarbi authored and preist-nvidia committed Dec 13, 2024
1 parent 6e8ce6b commit dd587fe
Show file tree
Hide file tree
Showing 736 changed files with 38,721 additions and 30,169 deletions.
24 changes: 24 additions & 0 deletions SECURITY.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,24 @@
## Security

NVIDIA is dedicated to the security and trust of our software products and services, including all source code repositories managed through our organization.

If you need to report a security issue, please use the appropriate contact points outlined below. **Please do not report security vulnerabilities through GitHub.**

## Reporting Potential Security Vulnerability in an NVIDIA Product

To report a potential security vulnerability in any NVIDIA product:
- Web: [Security Vulnerability Submission Form](https://www.nvidia.com/object/submit-security-vulnerability.html)
- E-Mail: psirt@nvidia.com
- We encourage you to use the following PGP key for secure email communication: [NVIDIA public PGP Key for communication](https://www.nvidia.com/en-us/security/pgp-key)
- Please include the following information:
- Product/Driver name and version/branch that contains the vulnerability
- Type of vulnerability (code execution, denial of service, buffer overflow, etc.)
- Instructions to reproduce the vulnerability
- Proof-of-concept or exploit code
- Potential impact of the vulnerability, including how an attacker could exploit the vulnerability

While NVIDIA currently does not have a bug bounty program, we do offer acknowledgement when an externally reported security issue is addressed under our coordinated vulnerability disclosure policy. Please visit our [Product Security Incident Response Team (PSIRT)](https://www.nvidia.com/en-us/security/psirt-policies/) policies page for more information.

## NVIDIA Product Security

For all security-related concerns, please visit NVIDIA's Product Security portal at https://www.nvidia.com/en-us/security
198 changes: 196 additions & 2 deletions physx/CHANGELOG.md

Large diffs are not rendered by default.

2 changes: 2 additions & 0 deletions physx/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,8 @@ Platform specific environment and build information can be found in [documentati

To begin, clone this repository onto your local drive. Then change directory to physx/, run ./generate_projects.[bat|sh] and follow on-screen prompts. This will let you select a platform specific solution to build. You can then build from the generated solution/make file in the platform- and configuration-specific folders in the ``compiler`` folder.

Note that the PhysX distribution downloads binary content, such as the PhysX GPU binaries, from Amazon CloudFront on demand, using the packman package manager.

## Acknowledgements

This depot references packages of third party open source software copyright their respective owners.
Expand Down
18 changes: 10 additions & 8 deletions physx/buildtools/cmake_generate_projects.py
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,6 @@
import xml.etree.ElementTree


def packmanExt():
if sys.platform == 'win32':
return 'cmd'
return 'sh'


def cmakeExt():
if sys.platform == 'win32':
return '.exe'
Expand All @@ -22,10 +16,10 @@ def cmakeExt():
def filterPreset(presetName):
winPresetFilter = ['win','switch','crosscompile']
if sys.platform == 'win32':
if any(presetName.find(elem) != -1 for elem in winPresetFilter):
if any((presetName.find(elem) != -1 and 'windows-crosscompile' not in presetName) for elem in winPresetFilter):
return True
else:
if all(presetName.find(elem) == -1 for elem in winPresetFilter):
if all((presetName.find(elem) == -1 or 'windows-crosscompile' in presetName) for elem in winPresetFilter):
return True
return False

Expand Down Expand Up @@ -119,6 +113,8 @@ def isMultiConfigPlatform(self):
return False
elif self.targetPlatform == 'linuxAarch64':
return False
elif self.compiler == 'x86_64-w64-mingw32-g++':
return False
return True

def getCMakeSwitches(self):
Expand Down Expand Up @@ -162,6 +158,9 @@ def getPlatformCMakeParams(self):
if self.compiler in vs_versions:
generator = '-G \"Ninja Multi-Config\"' if self.generator == 'ninja' else '-G ' + vs_versions[self.compiler]
outString += generator
# Windows crosscompile
elif self.compiler == 'x86_64-w64-mingw32-g++':
outString = outString + '-G \"Ninja\"'
# mac
elif self.compiler == 'xcode':
outString = outString + '-G Xcode'
Expand All @@ -178,6 +177,9 @@ def getPlatformCMakeParams(self):
outString = outString + ' -Ax64'
outString = outString + ' -DTARGET_BUILD_PLATFORM=windows'
outString = outString + ' -DPX_OUTPUT_ARCH=x86'
if self.compiler == 'x86_64-w64-mingw32-g++':
outString = outString + ' -DCMAKE_TOOLCHAIN_FILE=' + \
cmake_modules_root + '/linux/WindowsCrossToolchain.linux-unknown-x86_64.cmake'
return outString
elif self.targetPlatform == 'switch64':
outString = outString + ' -DTARGET_BUILD_PLATFORM=switch'
Expand Down
Empty file modified physx/buildtools/packman/packman
100755 → 100644
Empty file.
12 changes: 12 additions & 0 deletions physx/buildtools/presets/public/linux-aarch64-clang.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<?xml version="1.0" encoding="utf-8"?>
<preset name="linux-aarch64-clang" comment="Linux-aarch64 clang PhysX SDK general settings">
<platform targetPlatform="linuxAarch64" compiler="clang" />
<CMakeSwitches>
<cmakeSwitch name="PX_BUILDSNIPPETS" value="True" comment="Generate the snippets" />
<cmakeSwitch name="PX_BUILDPVDRUNTIME" value="True" comment="Generate the OmniPVD project" />
<cmakeSwitch name="PX_GENERATE_STATIC_LIBRARIES" value="True" comment="Generate static libs" />
</CMakeSwitches>
<CMakeParams>
<cmakeParam name="CMAKE_INSTALL_PREFIX" value="install/linux-aarch64/PhysX" comment="Install path relative to PhysX SDK root" />
</CMakeParams>
</preset>
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<preset name="linux-aarch64" comment="Linux-aarch64 gcc PhysX SDK general settings">
<preset name="linux-aarch64-gcc" comment="Linux-aarch64 gcc PhysX SDK general settings">
<platform targetPlatform="linuxAarch64" compiler="gcc" />
<CMakeSwitches>
<cmakeSwitch name="PX_BUILDSNIPPETS" value="True" comment="Generate the snippets" />
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="utf-8"?>
<preset name="linux" comment="Linux clang PhysX SDK general settings">
<preset name="linux-clang" comment="Linux clang PhysX SDK general settings">
<platform targetPlatform="linux" compiler="clang" />
<CMakeSwitches>
<cmakeSwitch name="PX_BUILDSNIPPETS" value="True" comment="Generate the snippets" />
Expand Down
12 changes: 12 additions & 0 deletions physx/buildtools/presets/public/linux-gcc.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<?xml version="1.0" encoding="utf-8"?>
<preset name="linux-gcc" comment="Linux gcc PhysX SDK general settings">
<platform targetPlatform="linux" compiler="gcc" />
<CMakeSwitches>
<cmakeSwitch name="PX_BUILDSNIPPETS" value="True" comment="Generate the snippets" />
<cmakeSwitch name="PX_BUILDPVDRUNTIME" value="True" comment="Generate the OmniPVD project" />
<cmakeSwitch name="PX_GENERATE_STATIC_LIBRARIES" value="True" comment="Generate static libs" />
</CMakeSwitches>
<CMakeParams>
<cmakeParam name="CMAKE_INSTALL_PREFIX" value="install/linux/PhysX" comment="Install path relative to PhysX SDK root" />
</CMakeParams>
</preset>
30 changes: 0 additions & 30 deletions physx/buildtools/steps/build_all_linux.sh

This file was deleted.

30 changes: 0 additions & 30 deletions physx/buildtools/steps/build_all_linux_aarch64.sh

This file was deleted.

77 changes: 0 additions & 77 deletions physx/buildtools/steps/build_all_win_x86_64_vc16.bat

This file was deleted.

77 changes: 0 additions & 77 deletions physx/buildtools/steps/build_all_win_x86_64_vc17.bat

This file was deleted.

Loading

0 comments on commit dd587fe

Please sign in to comment.