[GitHub] madlib issue #314: Ubuntu support: Enable creation of gppkg on Ubuntu
Github user fmcquillan99 commented on the issue: https://github.com/apache/madlib/pull/314 Thanks @njayaram2 for the clarification. ---
[GitHub] madlib issue #314: Ubuntu support: Enable creation of gppkg on Ubuntu
Github user fmcquillan99 commented on the issue: https://github.com/apache/madlib/pull/314 So this requires Alien, but we do not automatically download or bundle Alien, correct? ---
[GitHub] madlib pull request #314: Ubuntu support: Enable creation of gppkg on Ubuntu
Github user asfgit closed the pull request at: https://github.com/apache/madlib/pull/314 ---
[GitHub] madlib issue #314: Ubuntu support: Enable creation of gppkg on Ubuntu
Github user njayaram2 commented on the issue: https://github.com/apache/madlib/pull/314 Thank you for the comments @reductionista , I have updated the comment. Please do have a look at it. ---
[GitHub] madlib pull request #314: Ubuntu support: Enable creation of gppkg on Ubuntu
Github user reductionista commented on a diff in the pull request: https://github.com/apache/madlib/pull/314#discussion_r213069972 --- Diff: deploy/CMakeLists.txt --- @@ -27,9 +26,21 @@ elseif(UNIX) ) elseif(IS_DEBIAN) message(STATUS "Detected Debian version ${DEB_VERSION}") -list(APPEND CPACK_GENERATOR -DEB -) +# -- If cmake flag -DCREATE_RPM_FOR_UBUNTU is set to some +# value, then we will create an RPM on Ubuntu. If that +# flag is not set to any value in cmake, then we create +# only .deb artifact on Ubuntu. +# Note that package alien must already be installed for --- End diff -- The comment makes it sound as if setting -DCREATE_RPM_FOR_UBUNTU would build both .rpm and .deb while not setting it "only" builds .deb. But looking at the code itself, only one or the other is built but never both. Assuming this is intentional, I would suggest removing "only" from the comment for clarity. ---
[GitHub] madlib pull request #314: Ubuntu support: Enable creation of gppkg on Ubuntu
Github user reductionista commented on a diff in the pull request: https://github.com/apache/madlib/pull/314#discussion_r213063053 --- Diff: deploy/CMakeLists.txt --- @@ -27,9 +26,21 @@ elseif(UNIX) ) elseif(IS_DEBIAN) message(STATUS "Detected Debian version ${DEB_VERSION}") -list(APPEND CPACK_GENERATOR -DEB -) +# -- If cmake flag -DCREATE_RPM_FOR_UBUNTU is set to some +# value, then we will create an RPM on Ubuntu. If that +# flag is not set to any value in cmake, then we create +# only .deb artifact on Ubuntu. +# Note that package alien must already be installed for +# building an RPM on Ubuntu. +if(CREATE_RPM_FOR_UBUNTU) --- End diff -- The comment makes it sound as if setting -DCREATE_RPM_FOR_UBUNTU would build both .rpm and .deb while not setting it "only" builds .deb. But looking at the code itself, only one or the other is built but never both. Assuming this is intentional, I would suggest removing "only" from the comment for clarity. ---