Skip to content

Commit

Permalink
Merge pull request #144 from h-vetinari/meson
Browse files Browse the repository at this point in the history
correctly set meson_release_flag
  • Loading branch information
h-vetinari authored Oct 10, 2024
2 parents 47960cc + a34a64d commit 9986a8a
Show file tree
Hide file tree
Showing 6 changed files with 36 additions and 14 deletions.
2 changes: 1 addition & 1 deletion .azure-pipelines/azure-pipelines-osx.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions README.md

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

32 changes: 29 additions & 3 deletions azure-pipelines.yml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion recipe/activate-clang.sh
Original file line number Diff line number Diff line change
Expand Up @@ -138,7 +138,7 @@ if [ "${MACOSX_DEPLOYMENT_TARGET:-0}" != "0" ]; then
fi
_CMAKE_ARGS="${_CMAKE_ARGS} -DCMAKE_BUILD_TYPE=Release -DCMAKE_OSX_SYSROOT=${CONDA_BUILD_SYSROOT_TEMP}"

_MESON_ARGS="@MESON_RELEASE_FLAG@"
_MESON_ARGS="-Dbuildtype=release"

if [ "${CONDA_BUILD:-0}" = "1" ]; then
_CMAKE_ARGS="${_CMAKE_ARGS} -DCMAKE_FIND_FRAMEWORK=LAST -DCMAKE_FIND_APPBUNDLE=LAST"
Expand Down
1 change: 0 additions & 1 deletion recipe/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,6 @@ find . -name "*activate*.sh" -exec sed -i.bak "s|@CONDA_BUILD_CROSS_COMPILATION@
find . -name "*activate*.sh" -exec sed -i.bak "s|@_PYTHON_SYSCONFIGDATA_NAME@|${FINAL_PYTHON_SYSCONFIGDATA_NAME}|g" "{}" \;
find . -name "*activate*.sh" -exec sed -i.bak "s|@UNAME_MACHINE@|${uname_machine}|g" "{}" \;
find . -name "*activate*.sh" -exec sed -i.bak "s|@MESON_CPU_FAMILY@|${meson_cpu_family}|g" "{}" \;
find . -name "*activate*.sh" -exec sed -i.bak "s|@MESON_RELEASE_FLAG@|${meson_release_flag}|g" "{}" \;
find . -name "*activate*.sh" -exec sed -i.bak "s|@UNAME_KERNEL_RELEASE@|${uname_kernel_release}|g" "{}" \;
find . -name "*activate*.sh" -exec sed -i.bak "s|@TARGET_PLATFORM@|${cross_target_platform}|g" "{}" \;
find . -name "*activate*.sh.bak" -exec rm "{}" \;
5 changes: 1 addition & 4 deletions recipe/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,7 @@
# of the C++ stdlib; keep the variable in case this happens again
{% set libcxx_major = major_ver %}

{% set build_number = 20 %}

# pretend this variable is used, so that smithy populates the variant configs
# [meson_release_flag]
{% set build_number = 21 %}

package:
name: clang-compiler-activation
Expand Down

0 comments on commit 9986a8a

Please sign in to comment.