[MacPorts] #54215: gcc7: broken on powerpc

MacPorts noreply at macports.org
Sat Sep 9 18:13:13 UTC 2017


#54215: gcc7: broken on powerpc
---------------------+----------------------
  Reporter:  mojca   |      Owner:
      Type:  defect  |     Status:  new
  Priority:  Normal  |  Milestone:
 Component:  ports   |    Version:
Resolution:          |   Keywords:  haspatch
      Port:  gcc7    |
---------------------+----------------------

Comment (by kencu):

 There is a testsuite for gcc7 <https://gcc.gnu.org/install/test.html>, and
 all the prerequisites for it are available in MacPorts (minor tweak needed
 to install port:expect prior to buiding port:dejagnu).

 The test command from that website is `cd objdir; make -k check` which
 perhaps could be part of the gcc7 Portfile.

 I haven't added a test suite to a Port before, certainly not somthing as
 complicated as gcc7. Here is a block from git that is probably pretty
 close to what gcc7 would need, I would think:
 {{{
 test.run            yes
 test.cmd            make
 test.target         test
 test.dir            ${worksrcpath}
 pre-test {
     eval test.args  ${build.args}
 }
 }}}

 I wonder if could it be as easy as adding this block, then changing the
 test.cmd to `make -k`,  the test.target to `check`, and setting the
 test.dir to `${workpath}/build`

--
Ticket URL: <https://trac.macports.org/ticket/54215#comment:16>
MacPorts <https://www.macports.org/>
Ports system for macOS


More information about the macports-tickets mailing list