-
-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
Add ign-rendering to feedstock #13677
Merged
wolfv
merged 11 commits into
conda-forge:master
from
JShep1:libignition-rendering-feedstock
Jan 23, 2021
Merged
Changes from all commits
Commits
Show all changes
11 commits
Select commit
Hold shift + click to select a range
09ba4fc
add ign-rendering to feedstock
e42bce2
add build scripts
f63d1f2
add freeglut
4ab628d
add glew to deps
0c2cee4
Add opengl
b9b7e8c
Add macOS req + exclude windows test
9cf35d6
add mac req
efebcd1
Add glx flags
f7ba530
add libglu
75eb24b
disable renderingiface for unix
5df9a9f
Add maintainers, update glx flag
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
mkdir build | ||
cd build | ||
|
||
cmake ^ | ||
-G "NMake Makefiles" ^ | ||
-DCMAKE_INSTALL_PREFIX=%LIBRARY_PREFIX% ^ | ||
-DCMAKE_BUILD_TYPE=Release ^ | ||
-DCMAKE_INSTALL_SYSTEM_RUNTIME_LIBS_SKIP=True ^ | ||
%SRC_DIR% | ||
if errorlevel 1 exit 1 | ||
|
||
:: Build. | ||
cmake --build . --config Release | ||
if errorlevel 1 exit 1 | ||
|
||
:: Install. | ||
cmake --build . --config Release --target install | ||
if errorlevel 1 exit 1 | ||
|
||
:: Test. | ||
ctest -C Release -E "INTEGRATION|PERFORMANCE|REGRESSION|UNIT_RenderingIface_TEST" | ||
if errorlevel 1 exit 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
#!/bin/sh | ||
|
||
mkdir build | ||
cd build | ||
|
||
export CFLAGS="${CFLAGS} -DGLX_GLXEXT_LEGACY" | ||
export CXXFLAGS="${CXXFLAGS} -DGLX_GLXEXT_LEGACY" | ||
|
||
cmake .. \ | ||
-DCMAKE_BUILD_TYPE=Release \ | ||
-DCMAKE_PREFIX_PATH=$PREFIX -DCMAKE_INSTALL_PREFIX=$PREFIX \ | ||
-DCMAKE_INSTALL_LIBDIR=lib \ | ||
-DCMAKE_INSTALL_SYSTEM_RUNTIME_LIBS_SKIP=True | ||
|
||
cmake --build . --config Release | ||
cmake --build . --config Release --target install | ||
ctest -C Release -E "INTEGRATION|PERFORMANCE|REGRESSION|UNIT_RenderingIface_TEST|check_UNIT_RenderingIface_TEST" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
macos_min_version: # [osx] | ||
- 10.14 # [osx] | ||
MACOSX_DEPLOYMENT_TARGET: # [osx] | ||
- 10.14 # [osx] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,74 @@ | ||
{% set base_name = "libignition-rendering" %} | ||
{% set version = "4.1.0" %} | ||
{% set name = base_name + version.split('.')[0] %} | ||
|
||
package: | ||
name: {{ name }} | ||
version: {{ version }} | ||
|
||
source: | ||
url: https://github.com/ignitionrobotics/ign-rendering/archive/ignition-rendering{{ version.split('.')[0] }}_{{ version }}.tar.gz | ||
sha256: 465e858332d5b0e608888e9d62d08f779c7d99d0a51f2de7ba23ba640cdd4be4 | ||
|
||
build: | ||
number: 0 | ||
run_exports: | ||
- {{ pin_subpackage(name, max_pin='x') }} | ||
|
||
requirements: | ||
build: | ||
- {{ compiler('cxx') }} | ||
- {{ compiler('c') }} | ||
- cmake | ||
- make # [not win] | ||
- pkg-config # [not win] | ||
|
||
# x11 | ||
- {{ cdt('mesa-libgl-devel') }} # [unix] | ||
- {{ cdt('mesa-dri-drivers') }} # [unix] | ||
- {{ cdt('libselinux') }} # [linux] | ||
- {{ cdt('libxdamage') }} # [linux] | ||
- {{ cdt('libxxf86vm') }} # [linux] | ||
- {{ cdt('libxfixes') }} # [linux] | ||
- {{ cdt('libxext') }} # [linux] | ||
- {{ cdt('libxau') }} # [linux] | ||
host: | ||
- xorg-libx11 # [unix] | ||
- xorg-libxext # [unix] | ||
- libglu # [linux] | ||
- libignition-math6 >=6.6 | ||
- libignition-common3 | ||
- libignition-plugin1 | ||
- ogre | ||
run: | ||
- xorg-libx11 # [unix] | ||
- xorg-libxext # [unix] | ||
- libglu # [linux] | ||
- libignition-math6 >=6.6 | ||
- libignition-common3 | ||
- libignition-plugin1 | ||
- ogre | ||
- __osx >={{ MACOSX_DEPLOYMENT_TARGET|default("10.9") }} # [osx and x86_64] | ||
|
||
test: | ||
commands: | ||
- test -f ${PREFIX}/include/ignition/rendering{{ version.split('.')[0] }}/ignition/rendering.hh # [not win] | ||
- test -f ${PREFIX}/lib/libignition-rendering{{ version.split('.')[0] }}.so # [linux] | ||
- test -f ${PREFIX}/lib/libignition-rendering{{ version.split('.')[0] }}.dylib # [osx] | ||
- test -f ${PREFIX}/lib/cmake/ignition-rendering{{ version.split('.')[0] }}/ignition-rendering{{ version.split('.')[0] }}-config.cmake # [not win] | ||
- if exist %PREFIX%\\Library\\include\\ignition\\rendering{{ version.split('.')[0] }}\\ignition\\rendering.hh (exit 0) else (exit 1) # [win] | ||
- if exist $PREFIX$\\Library\\lib\\ignition-rendering{{ version.split('.')[0] }}.lib (exit 0) else (exit 1) # [win] | ||
- if exist $PREFIX$\\Library\\bin\\ignition-rendering{{ version.split('.')[0] }}.dll (exit 0) else (exit 1) # [win] | ||
- if exist %PREFIX%\\Library\\lib\\cmake\\ignition-rendering{{ version.split('.')[0] }}\\ignition-rendering{{ version.split('.')[0] }}-config.cmake (exit 0) else (exit 1) # [win] | ||
|
||
about: | ||
home: https://github.com/ignitionrobotics/ign-rendering | ||
license: Apache-2.0 | ||
license_file: LICENSE | ||
summary: Ignition Rendering | ||
|
||
extra: | ||
recipe-maintainers: | ||
- JShep1 | ||
JShep1 marked this conversation as resolved.
Show resolved
Hide resolved
|
||
- wolfv | ||
- traversaro |
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am going to ask on the conda-forge gitter if we can merge with the failing build or if we need to skip OS X first.