-
Notifications
You must be signed in to change notification settings - Fork 5
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
135 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
c_stdlib: | ||
- sysroot | ||
c_stdlib_version: | ||
- '2.17' | ||
cdt_name: | ||
- cos7 | ||
channel_sources: | ||
- conda-forge | ||
channel_targets: | ||
- conda-forge main | ||
cxx_compiler: | ||
- gxx | ||
cxx_compiler_version: | ||
- '12' | ||
docker_image: | ||
- quay.io/condaforge/linux-anvil-cos7-x86_64 | ||
target_platform: | ||
- linux-64 | ||
zip_keys: | ||
- - c_stdlib_version | ||
- cdt_name |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
MACOSX_DEPLOYMENT_TARGET: | ||
- '10.13' | ||
MACOSX_SDK_VERSION: | ||
- '10.13' | ||
c_stdlib: | ||
- macosx_deployment_target | ||
c_stdlib_version: | ||
- '10.13' | ||
channel_sources: | ||
- conda-forge | ||
channel_targets: | ||
- conda-forge main | ||
cxx_compiler: | ||
- clangxx | ||
cxx_compiler_version: | ||
- '16' | ||
macos_machine: | ||
- x86_64-apple-darwin13.4.0 | ||
target_platform: | ||
- osx-64 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
c_stdlib: | ||
- vs | ||
channel_sources: | ||
- conda-forge | ||
channel_targets: | ||
- conda-forge main | ||
cxx_compiler: | ||
- vs2019 | ||
target_platform: | ||
- win-64 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,63 @@ | ||
context: | ||
version: 5.1.0 | ||
|
||
package: | ||
name: jolt-physics | ||
version: ${{ version }} | ||
|
||
source: | ||
url: https://github.com/jrouwe/JoltPhysics/archive/refs/tags/v${{ version }}.zip | ||
sha256: 10fcc863ae2b9d48c2f22d8b0204034820e57a55f858b7c388ac9579d8cf4095 | ||
|
||
requirements: | ||
build: | ||
- ${{ compiler("cxx") }} | ||
- ${{ stdlib("c") }} | ||
- cmake | ||
- ninja | ||
|
||
build: | ||
number: 0 | ||
script: | ||
- if: win | ||
then: | | ||
cmake -GNinja ^ | ||
%CMAKE_ARGS% ^ | ||
-DCMAKE_INSTALL_PREFIX=%LIBRARY_PREFIX% ^ | ||
-DBUILD_SHARED_LIBS=ON ^ | ||
-DCMAKE_BUILD_TYPE=Distribution ^ | ||
-DCROSS_PLATFORM_DETERMINISTIC=ON ^ | ||
-DTARGET_VIEWER=OFF ^ | ||
-DTARGET_SAMPLES=OFF ^ | ||
-DTARGET_HELLO_WORLD=OFF ^ | ||
-DTARGET_UNIT_TESTS=OFF ^ | ||
-DTARGET_PERFORMANCE_TEST=OFF ^ | ||
-S %SRC_DIR%\Build | ||
cmake --build . --target install | ||
else: | | ||
cmake -GNinja \ | ||
$CMAKE_ARGS \ | ||
-DCMAKE_INSTALL_PREFIX=$PREFIX \ | ||
-DBUILD_SHARED_LIBS=ON \ | ||
-DCMAKE_BUILD_TYPE=Distribution \ | ||
-DCROSS_PLATFORM_DETERMINISTIC=ON \ | ||
-DTARGET_VIEWER=OFF \ | ||
-DTARGET_SAMPLES=OFF \ | ||
-DTARGET_HELLO_WORLD=OFF \ | ||
-DTARGET_UNIT_TESTS=OFF \ | ||
-DTARGET_PERFORMANCE_TEST=OFF \ | ||
-S $SRC_DIR/Build | ||
cmake --build . --target install | ||
about: | ||
homepage: https://github.com/jrouwe/JoltPhysics | ||
license: MIT | ||
license_file: LICENSE | ||
summary: A multi core friendly rigid body physics and collision detection library. | ||
description: A multi core friendly rigid body physics and collision detection library. Written in C++. Suitable for games and VR applications. Used by Horizon Forbidden West. | ||
documentation: https://jrouwe.github.io/JoltPhysics/ | ||
repository: https://github.com/jrouwe/JoltPhysics | ||
|
||
extra: | ||
recipe-maintainers: | ||
- baszalmstra |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
package: | ||
name: jolt-physics | ||
version: 0.0.1 | ||
|
||
source: | ||
- if: target_platform == "linux-64" | ||
then: | ||
url: https://foo.com | ||
sha256: 679d42a76b82a6dc20ffd9048ab45fb2e5557a526113aaedc7419e12f3cfab38 | ||
- if: target_platform == "win-64" | ||
then: | ||
url: https://win.com | ||
sha256: xxx | ||
- if: target_platform == "osx-64" or target_platform == "win-64" | ||
then: | ||
url: https://osx.com/${{ target_platform }}/foo.zip | ||
sha256: zzz | ||
- url: https://all.com | ||
sha256: yyy | ||
- url: ["https://foo.com/${{ target_platform }}/zip.zip", "https://mirror.com/${{ target_platform }}/zip.zip"] | ||
sha256: ${{ "xxx" if win else "yyy" }} |