Github user jingyimei commented on a diff in the pull request:

    https://github.com/apache/madlib/pull/211#discussion_r155683583
  
    --- Diff: cmake/LinuxUtils.cmake ---
    @@ -9,3 +9,14 @@ macro(rh_version OUT_VERSION)
             set(${OUT_VERSION} "${OUT_VERSION}-NOTFOUND")
         endif(EXISTS "/etc/redhat-release")
     endmacro(rh_version)
    +
    --- End diff --
    
    yes, I can use a regex to grep RH_MAJOR_VERSION from RH_VERSION after 
running`rh_version(RH_VERSION)`.


---

Reply via email to