Skip to content
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
10 changes: 4 additions & 6 deletions cscs-checks/libraries/io/netcdf_compile_run.py
Original file line number Diff line number Diff line change
Expand Up @@ -66,11 +66,9 @@ def setup(self, partition, environ, **job_opts):
self.build_system.ldflags = ['-B' + self.linkage]
else:
self.build_system.ldflags = ['-%s' % self.linkage]
if (environ.name == 'PrgEnv-pgi' and
# NOTE: Workaround to fix static linking for C++ with
# PrgEnv-pgi
self.lang == 'cpp' and
self.linkage == 'static'):
self.build_system.ldflags += ['-lstdc++']
if environ.name == 'PrgEnv-pgi' and self.lang == 'cpp':
# FIXME: Workaround to fix compilation for PrgEnv-pgi
# Cray Case: #243751
self.build_system.cppflags = ['-D_GLIBCXX_USE_CXX11_ABI=0']

super().setup(partition, environ, **job_opts)