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

Add OpenCASCADE #6588

Closed
wants to merge 5 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
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
20 changes: 20 additions & 0 deletions recipes/OpenCASCADE/build.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
#!/bin/sh
# see http://conda.pydata.org/docs/build.html for hacking instructions.

# unpack.
mkdir build
cd build

# build.
cmake \
-DCMAKE_INSTALL_PREFIX=$PREFIX \
-DCMAKE_BUILD_TYPE=Release \
-DBUILD_MODULE_Draw=0 \
-DBUILD_MODULE_Visualization=0 \
-DBUILD_MODULE_ApplicationFramework=0 \
.. | tee cmake.log 2>&1

make -j${CPU_COUNT} | tee make.log 2>&1
make install | tee install.log 2>&1

# vim: set ai et nu:
42 changes: 42 additions & 0 deletions recipes/OpenCASCADE/meta.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,42 @@
{% set name = "OpenCASCADE" %}
{% set version = "7.2.0" %}
{% set md5 = "34fd3038227c29c81161cf2fd76892c3" %}

package:
name: {{ name|lower }}
version: {{ version }}

source:
fn: occt.tgz
url: http://git.dev.opencascade.org/gitweb/?p=occt.git;a=snapshot;h=refs/tags/V7_2_0;sf=tgz
md5: {{ md5 }}

build:
number: 0

requirements:
build:
- cmake
- freetype
- {{ compiler('c') }}
- {{ compiler('cxx') }}
- {{ compiler('fortran') }}

test:
commands:
# pass

about:
home: https://www.opencascade.com
license: LGPL
license_file: '{{ environ["RECIPE_DIR"] }}/LICENSE.txt'
summary: An object-oriented C++ class library for CAD/CAM/CAE applications
description: |
Open CASCADE Technology (OCCT) is an object-oriented C++ class library
designed for rapid production of sophisticated domain-specific
CAD/CAM/CAE applications.

extra:
recipe-maintainers:
- guyer