Skip to content

Commit

Permalink
Merge branches 'nchaimov-fix-forced-makefiles' and 'fix-build-markdow…
Browse files Browse the repository at this point in the history
…n' of github.com:ParaToolsInc/taucmdr into unstable
  • Loading branch information
zbeekman committed Sep 10, 2021
3 parents 39526fa + 31d4703 + 2db5e2c commit 28a994d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion packages/taucmdr/cf/software/tau_installation.py
Original file line number Diff line number Diff line change
Expand Up @@ -447,7 +447,7 @@ def __init__(self, sources, target_arch, target_os, compilers,
for met in self.metrics:
mets.extend(met.split(','))
self.metrics = mets
uses = lambda pkg: sources[pkg] if forced_makefile else getattr(self, 'uses_'+pkg)
uses = lambda pkg: sources.get(pkg, False) if forced_makefile else getattr(self, 'uses_'+pkg)
for pkg in 'binutils', 'libunwind', 'libelf', 'libdwarf', 'papi', 'pdt', 'ompt', 'libotf2', 'sqlite3':
if uses(pkg):
self.add_dependency(pkg, sources)
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -550,7 +550,7 @@ def run(self):
cmd_obj.usage]
filename = os.path.join(self.dest, cmd_name.replace('.', '_')+'.md')
with open(filename, 'w') as fout:
fout.write(unidecode('\n'.join(parts).decode('utf-8')))
fout.write(unidecode('\n'.join(parts)))
print('wrote %s' % filename)
indentspace = ''

Expand Down

0 comments on commit 28a994d

Please sign in to comment.