# Analysis: Build PBS using CMake

**URL:** <https://community.openpbs.org/t/analysis-build-pbs-using-cmake/2348>\
**Category:** Developers\
**Created:** [November 5, 2020, 1:20am UTC](https://community.openpbs.org/t/analysis-build-pbs-using-cmake/2348 "2020-11-05T01:20:13Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![mliu](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.openpbs.org/mliu/32/352_2.png) [@mliu](https://community.openpbs.org/u/mliu)\
**Post date:** [November 5, 2020, 1:20am UTC](https://community.openpbs.org/t/analysis-build-pbs-using-cmake/2348/1 "2020-11-05T01:20:13Z")

</div>

Hi All,

I have posted my analysis on [building PBS using CMake](https://openpbs.atlassian.net/wiki/spaces/PD/pages/2193195065/Analysis+Build+PBS+using+CMake).

The analysis gives a brief introduction to CMake, followed by a comparison between CMake and Autotools, and finally explains the changes made to build PBS with CMake.

Please let me know if you have any questions or feedbacks.

Thanks,  
Minghui

---

<div class="post-metadata">

**Author:** ![mkaro](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.openpbs.org/mkaro/32/85_2.png) [@mkaro](https://community.openpbs.org/u/mkaro)\
**Post date:** [November 5, 2020, 3:46pm UTC](https://community.openpbs.org/t/analysis-build-pbs-using-cmake/2348/2 "2020-11-05T15:46:42Z")

</div>

Have you looked into using ctest and cdash? Using community tools might be less costly to maintain in the long term.

The OpenHPC project allows the use of cmake to build and package components. There will be some integration work needed once the conversion to Cmake is complete. We currently maintain a spec file for OpenHPC here: [https://github.com/openhpc/ohpc/tree/2.x/components/rms/openpbs/SPECS](https://github.com/openhpc/ohpc/tree/2.x/components/rms/openpbs/SPECS)

---

<div class="post-metadata">

**Author:** ![mliu](https://yyz2.discourse-cdn.com/flex030/user_avatar/community.openpbs.org/mliu/32/352_2.png) [@mliu](https://community.openpbs.org/u/mliu)\
**Post date:** [November 12, 2020, 3:09am UTC](https://community.openpbs.org/t/analysis-build-pbs-using-cmake/2348/3 "2020-11-12T03:09:11Z")

</div>

Thanks for the comment, Mike. I’ve looked at ctest but not cdash yet. Will look into it.
