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

Use OpenSSL 1.0.2 for Connext on MacOS #436

Merged
merged 5 commits into from
Jun 17, 2020
Merged
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
8 changes: 8 additions & 0 deletions ros2_batch_job/osx_batch/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,14 @@ def pre(self):
warn('OSPL_HOME not set; using default value')
os.environ['OSPL_HOME'] = os.path.join(
os.environ['HOME'], 'opensplice', 'HDE', 'x86_64.darwin10_clang')
# TODO(nuclearsandwich) Connext 5.3.1 supports only OpenSSL 1.0.2
# remove this when upgrading to Connext 6 that supports OpenSSL 1.1.1
if 'RTI_OPENSSL_BIN' not in os.environ:
warn('RTI_OPENSSL_BIN unset; using default value')
os.environ['RTI_OPENSSL_BIN'] = '/Users/osrf/openssl-1.0.2n/x64Darwin17clang9.0/release/bin'
if 'RTI_OPENSSL_LIBS' not in os.environ:
warn('RTI_OPENSSL_LIBS unset; using default value')
os.environ['RTI_OPENSSL_LIBS'] = '/Users/osrf/openssl-1.0.2n/x64Darwin17clang9.0/release/lib'
# TODO(wjwwood): remove this when qt5 is linked on macOS by default
# See: https://github.com/Homebrew/homebrew-core/issues/8392#issuecomment-334328367
os.environ['CMAKE_PREFIX_PATH'] = os.environ.get('CMAKE_PREFIX_PATH', '') + os.pathsep + \
Expand Down