Skip to content

Commit

Permalink
Install ms-gsl from pix for mac-arm
Browse files Browse the repository at this point in the history
Summary: Pixi package `ms-gsl` is not available on mac-arm as well by conda-forge/ms-gsl-feedstock#1

Differential Revision: D58748282
  • Loading branch information
jeongseok-meta authored and facebook-github-bot committed Jun 18, 2024
1 parent 044d754 commit 93b20de
Showing 1 changed file with 1 addition and 8 deletions.
9 changes: 1 addition & 8 deletions pixi.toml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ ezc3d = "1.5.9.*"
fmt = "10.2.1.*"
libdeflate = ">=1.19,<2"
librerun-sdk = ">=0.16,<0.17"
ms-gsl = ">=4.0.0,<4.1"
nlohmann_json = "3.11.*"
openssl = ">=3.2.1,<3.3"
re2 = "2023.9.1.*"
Expand Down Expand Up @@ -65,11 +66,6 @@ install_sophus = { cmd = "git clone https://github.com/strasdat/Sophus.git -b '1
], outputs = [
"$CONDA_PREFIX/share/sophus/cmake/SophusConfig.cmake",
] }
install_ms_gsl = { cmd = "git clone https://github.com/microsoft/GSL.git -b 'v4.0.0' --single-branch --depth 1 && cmake GSL -B GSL/build -DCMAKE_INSTALL_PREFIX=$CONDA_PREFIX -DCMAKE_BUILD_TYPE=Release -DGSL_TEST=OFF && cmake --build GSL/build --target install --parallel && rm -rf GSL", cwd = ".deps", depends_on = [
"create_deps_dir",
], outputs = [
"$CONDA_PREFIX/share/cmake/Microsoft.GSL/Microsoft.GSLConfig.cmake",
] }
install_deps = { depends_on = [
"install_drjit",
"install_dispenso",
Expand Down Expand Up @@ -108,7 +104,6 @@ install = { cmd = "cmake --build build -j --target install", depends_on = [
clang-format-18 = ">=18.1.2,<19"

[target.linux-64.dependencies]
ms-gsl = ">=4.0.0,<4.1"
pytorch = ">=2.1.2,<2.2"
sophus = ">=22.10,<23"
sysroot_linux-64 = ">=2.28"
Expand Down Expand Up @@ -141,7 +136,6 @@ install_deps = { depends_on = [
"install_OpenFBX",
"install_fx_gltf",
"install_sophus",
"install_ms_gsl",
"remove_deps_dir",
] }
lint = { cmd = "clang-format-18 -i axel/**/*.h axel/**/*.cpp momentum/**/*.h momentum/**/*.cpp pymomentum/**/*.h pymomentum/**/*.cpp" }
Expand All @@ -155,7 +149,6 @@ build_pymomentum = { cmd = "pip install -e .", depends_on = ["install_deps"] }
#=========

[target.win-64.dependencies]
ms-gsl = ">=4.0.0,<4.1"
pytorch-cuda = ">=12.1,<13"

[target.win-64.tasks]
Expand Down

0 comments on commit 93b20de

Please sign in to comment.