Compare commits
4 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 1ab1ebbdbd | |||
| 636f2c9ed2 | |||
| c137cfc867 | |||
| c1008e6864 |
5
.github/workflows/build-physx.yml
vendored
5
.github/workflows/build-physx.yml
vendored
@ -4,13 +4,14 @@ on:
|
||||
|
||||
jobs:
|
||||
Build-PhysX-MacOS-Checked:
|
||||
runs-on: macos-10.15
|
||||
runs-on: macos-12
|
||||
steps:
|
||||
|
||||
- name: Clone PhysX 4.1
|
||||
run: git clone -b 4.1 https://github.com/NVIDIAGameWorks/PhysX
|
||||
|
||||
# Added: -Wno-alloca and -Wno-anon-enum-enum-conversion
|
||||
# Added: '-Wno-alloca', '-Wno-anon-enum-enum-conversion', '-Wno-inconsistent-missing-override'
|
||||
# Removed: '-Werror' because it crashes on macos-12
|
||||
- name: Copy fixed CMakeLists
|
||||
run: git clone https://github.com/bloeys/physx-builder && cp ./physx-builder/macCMakeLists.txt ./PhysX/physx/source/compiler/cmake/mac/CMakeLists.txt
|
||||
|
||||
|
||||
@ -1 +1,3 @@
|
||||
# physx-builder
|
||||
|
||||
[](https://github.com/bloeys/physx-builder/actions/workflows/build-physx.yml)
|
||||
|
||||
@ -28,7 +28,7 @@
|
||||
SET(OSX_BITNESS "-arch x86_64")
|
||||
SET(CMAKE_OSX_ARCHITECTURES "x86_64")
|
||||
|
||||
SET(PHYSX_CXX_FLAGS "${OSX_BITNESS} -msse2 -std=c++11 -fno-rtti -fno-exceptions -ffunction-sections -fdata-sections -Wno-anon-enum-enum-conversion -Wno-alloca -Werror -ferror-limit=0 -Wall -Wextra -fstrict-aliasing -Wstrict-aliasing=2 -Weverything -Wno-unknown-warning-option -Wno-documentation-deprecated-sync -Wno-documentation-unknown-command -Wno-float-equal -Wno-padded -Wno-weak-vtables -Wno-cast-align -Wno-conversion -Wno-missing-noreturn -Wno-missing-variable-declarations -Wno-shift-sign-overflow -Wno-covered-switch-default -Wno-exit-time-destructors -Wno-global-constructors -Wno-missing-prototypes -Wno-unreachable-code -Wno-unused-macros -Wno-unused-member-function -Wno-used-but-marked-unused -Wno-weak-template-vtables -Wno-deprecated -Wno-non-virtual-dtor -Wno-invalid-noreturn -Wno-return-type-c-linkage -Wno-reserved-id-macro -Wno-c++98-compat-pedantic -Wno-unused-local-typedef -Wno-old-style-cast -Wno-newline-eof -Wno-unused-private-field -Wno-undefined-reinterpret-cast -Wno-invalid-offsetof -Wno-zero-as-null-pointer-constant -Wno-atomic-implicit-seq-cst -gdwarf-2" CACHE INTERNAL "PhysX CXX")
|
||||
SET(PHYSX_CXX_FLAGS "${OSX_BITNESS} -msse2 -std=c++11 -fno-rtti -fno-exceptions -ffunction-sections -fdata-sections -Wno-anon-enum-enum-conversion -Wno-alloca -Wno-inconsistent-missing-override -ferror-limit=0 -Wall -Wextra -fstrict-aliasing -Wstrict-aliasing=2 -Weverything -Wno-unknown-warning-option -Wno-documentation-deprecated-sync -Wno-documentation-unknown-command -Wno-float-equal -Wno-padded -Wno-weak-vtables -Wno-cast-align -Wno-conversion -Wno-missing-noreturn -Wno-missing-variable-declarations -Wno-shift-sign-overflow -Wno-covered-switch-default -Wno-exit-time-destructors -Wno-global-constructors -Wno-missing-prototypes -Wno-unreachable-code -Wno-unused-macros -Wno-unused-member-function -Wno-used-but-marked-unused -Wno-weak-template-vtables -Wno-deprecated -Wno-non-virtual-dtor -Wno-invalid-noreturn -Wno-return-type-c-linkage -Wno-reserved-id-macro -Wno-c++98-compat-pedantic -Wno-unused-local-typedef -Wno-old-style-cast -Wno-newline-eof -Wno-unused-private-field -Wno-undefined-reinterpret-cast -Wno-invalid-offsetof -Wno-zero-as-null-pointer-constant -Wno-atomic-implicit-seq-cst -gdwarf-2" CACHE INTERNAL "PhysX CXX")
|
||||
|
||||
SET(CMAKE_SHARED_LINKER_FLAGS_CHECKED "")
|
||||
SET(CMAKE_SHARED_LINKER_FLAGS_PROFILE "")
|
||||
|
||||
Reference in New Issue
Block a user