Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update tttrlib to 0.25.1 #52127

Merged
merged 4 commits into from
Nov 15, 2024
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
sync cmake build commands with those specified in the documentation
  • Loading branch information
mencian authored Nov 15, 2024
commit 0bf48a103a10ae7ab9727941faa23906ba033260
5 changes: 4 additions & 1 deletion recipes/tttrlib/build.sh
Original file line number Diff line number Diff line change
@@ -4,7 +4,7 @@ mkdir b2 && cd b2

if [[ "${target_platform}" == osx-* ]]; then
# See https://conda-forge.org/docs/maintainer/knowledge_base.html#newer-c-features-with-old-sdk
CXXFLAGS="${CXXFLAGS} -D_LIBCPP_DISABLE_AVAILABILITY"
export CXXFLAGS="${CXXFLAGS} -D_LIBCPP_DISABLE_AVAILABILITY"
export CONFIG_ARGS="-DCMAKE_FIND_FRAMEWORK=NEVER -DCMAKE_FIND_APPBUNDLE=NEVER"
else
export CONFIG_ARGS=""
@@ -18,6 +18,9 @@ cmake -S .. -B . \
-DBUILD_LIBRARY=ON \
-DPYTHON_VERSION=$(python -c 'import platform; print(platform.python_version())') \
-DPython_ROOT_DIR="${PREFIX}/bin" \
-DBUILD_PYTHON_DOCS=ON \
-DBoost_USE_STATIC_LIBS=OFF \
-DWITH_AVX=OFF \
-G Ninja \
"${CONFIG_ARGS}"