open-power-sdk / migration-advisor

The Migration Advisor helps on moving Linux applications to Power Systems servers. Its locates potential migration problems within a C/C++ project, such as source code that might produce different results when run on Power Systems servers.
Apache License 2.0
9 stars 2 forks source link

Build Status Codacy Badge

Project Description

The Migration Advisor helps on moving Linux applications to Power Systems servers. Its locates potential migration problems within a C/C++ project, such as source code that might produce different results when run on Power Systems servers.

The current version of Migration Advisor are able to detect the following migration problems:

Linux/x86-specific API

x86-specific assembly

x86-specific compiler built-in

Char usage

Long double usage

Hardware Transaction Memory

Performance degradation

Non-portable Pthreads implementation

Syscall not available for Linux on Power

For more information about MA usage, see ma --help

Contributing to the project

We welcome contributions to the Migration Advisor Project in many forms. There's always plenty to do! Full details of how to contribute to this project are documented in the CONTRIBUTING.md file.

Maintainers

The project's maintainers: are responsible for reviewing and merging all pull requests and they guide the over-all technical direction of the project.

Communication

We use Slack for communication.

Supported Architecture and Operating Systems

x86_64 and ppc64le: Ubuntu 16.04, CentOS7, RHEL 7.3, Fedora 25.

Installing

Requirements: python-pip, python-pylint, python-virtualenv, python-docsutil, clang

Testing: ./dev tests

Build: ./dev release

Build and install: ./dev install

Execution: ma --help

Documentation

usage: ma [-h] [-V] {run,info} ...

run analyze a given directory or file for possible C/C++ migration problems from x86_64 to Power see ma run --help

info show information about supported migration checkers see ma info --help

optional arguments: -h, --help show this help message and exit -V, --version show program's version number and exit

Still Have Questions?

For general purpose questions, please use StackOverflow.

License

The Migration Advisor Project uses the Apache License Version 2.0 software license.