Skip to content

Commit

Permalink
Update GW to v1.1.1 (#51426)
Browse files Browse the repository at this point in the history
* Update meta.yaml

* Update meta.yaml

* Update meta.yaml

* Update meta.yaml

* Update meta.yaml

* Update meta.yaml

* Update meta.yaml

* Update meta.yaml

* Update build.sh

* Update build.sh

* Update meta.yaml

* Update conda_build_config.yaml

* Update conda_build_config.yaml

* Update meta.yaml

* Update conda_build_config.yaml

* Update build.sh

* Update conda_build_config.yaml

* Does v1.1.0 build?

* Update meta.yaml

* Update meta.yaml

* Update meta.yaml

* Update conda_build_config.yaml

* Update conda_build_config.yaml
  • Loading branch information
kcleal authored Oct 22, 2024
1 parent 496918d commit 09c5347
Show file tree
Hide file tree
Showing 3 changed files with 25 additions and 10 deletions.
9 changes: 6 additions & 3 deletions recipes/gw/build.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,14 @@
set -e

# Get pre-compiled skia from jetbrains
USE_GL=1 make prep > /dev/null 2>&1
USE_GL=1 make prep 2> /dev/null

if [[ "$OSTYPE" != "darwin"* ]]; then
sed -i 's/-lEGL -lGLESv2/-lEGL -lGLESv2 -lGL -lGLX/' Makefile
sed -i 's/GLFW_EGL_CONTEXT_API/GLFW_NATIVE_CONTEXT_API/' src/plot_manager.cpp
sed -i.bak 's/-lEGL -lGLESv2/-lEGL -lGLESv2 -lGL -lGLX/' Makefile
sed -i.bak 's/GLFW_EGL_CONTEXT_API/GLFW_NATIVE_CONTEXT_API/' src/plot_manager.cpp
# Let conda set these
sed -i.bak 's/-mmacosx-version-min=10.15//g' Makefile
sed -i.bak 's/-mmacosx-version-min=11//g' Makefile
fi

# Set flags conditionally based on the OS type
Expand Down
16 changes: 12 additions & 4 deletions recipes/gw/conda_build_config.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,12 @@
MACOSX_DEPLOYMENT_TARGET: # [osx and x86_64]
- "10.15" # [osx and x86_64]
MACOSX_SDK_VERSION: # [osx and x86_64]
- "10.15" # [osx and x86_64]
#MACOSX_DEPLOYMENT_TARGET: # [osx and x86_64]
# - "10.15" # [osx and x86_64]

#MACOSX_SDK_VERSION: # [osx and x86_64]
# - "10.15" # [osx and x86_64]

#CFLAGS:
# - "-mmacosx-version-min=10.15" # [osx and x86_64]
#CXXFLAGS:
# - "-mmacosx-version-min=10.15" # [osx and x86_64]
#LDFLAGS:
# - "-mmacosx-version-min=10.15" # [osx and x86_64]
10 changes: 7 additions & 3 deletions recipes/gw/meta.yaml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{% set version = "1.1.0" %}
{% set sha256 = "dc96521b8252bde02d9cc68bb3cee156c0469889d2783ee72682338d10657892" %}
{% set version = "1.1.1" %}
{% set sha256 = "5ac0430d9179d1a48938f24011c329fe807e72aba0c20eb191c566d129115f86" %}

package:
name: gw
Expand Down Expand Up @@ -31,6 +31,7 @@ build:
- zlib # [osx]
- libuuid
- libdeflate
skip: true # [osx and x86_64]

requirements:
build:
Expand Down Expand Up @@ -72,7 +73,10 @@ requirements:

test:
commands:
- gw hg19 -b https://github.com/kcleal/gw/releases/download/v1.0.0/demo1.bam -r chr8:37047270-37055161 -n > test.png; ls -lh test.png
- which gw && ls -lh $(which gw)
- uname -a
- if [[ "$(uname)" == "Darwin" ]]; then file $(which gw); otool -L $(which gw); nm $(which gw); fi
- gw --version

about:
home: https://github.com/kcleal/gw
Expand Down

0 comments on commit 09c5347

Please sign in to comment.