Skip to content

Commit

Permalink
Update piscem to 0.10.4 (#51799)
Browse files Browse the repository at this point in the history
* Update piscem to 0.10.4

* Update build.sh

* Update build.sh

try to fix too-old SDK on OSX x86

---------

Co-authored-by: Björn Grüning <[email protected]>
Co-authored-by: Rob Patro <[email protected]>
  • Loading branch information
3 people authored Oct 30, 2024
1 parent 8cc8796 commit 5f76a44
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
6 changes: 6 additions & 0 deletions recipes/piscem/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,13 @@ unamestr=`uname`

if [ "$unamestr" == 'Darwin' ];
then
if [[ $(uname -m) == 'x86_64' ]]; then
echo "OSX x86-64: attempting to fix broken (old) SDK behavior"
export CFLAGS="${CFLAGS} -D_LIBCPP_HAS_NO_C11_ALIGNED_ALLOC"
export CXXFLAGS="${CXXFLAGS} -D_LIBCPP_HAS_NO_C11_ALIGNED_ALLOC"
fi
export MACOSX_DEPLOYMENT_TARGET=10.15
export MACOSX_SDK_VERSION=10.15
export CFLAGS="${CFLAGS} -fcommon -D_LIBCPP_DISABLE_AVAILABILITY"
export CXXFLAGS="${CXXFLAGS} -fcommon -D_LIBCPP_DISABLE_AVAILABILITY"
else
Expand Down
4 changes: 2 additions & 2 deletions recipes/piscem/meta.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{% set version = "0.10.3" %}
{% set version = "0.10.4" %}
{% set name = "piscem" %}
{% set sha256 = "5bb7d856e28f7090456bbc9aa81120169cff76b66c47a642916d8d53e35bec8a" %}
{% set sha256 = "665d3dc54bf4b9c50c02d190112177e270c1b992e61608f34c3e95b0e4a5b5d6" %}

package:
name: {{ name }}
Expand Down

0 comments on commit 5f76a44

Please sign in to comment.