Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.
Sign upGCC gfortran recipe #927
GCC gfortran recipe #927
Conversation
|
Could you make this change on the current gcc recipe (instead of a new one)? This makes things easier. |
|
|
||
| SOURCE_URI="https://ftp.gnu.org/gnu/gcc/gcc-5.4.0/gcc-5.4.0.tar.bz2" | ||
| CHECKSUM_SHA256="608df76dec2d34de6558249d8af4cbee21eceddbcb580d666f7a5a583ca3303a" | ||
| REVISION="4" |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
extrowerk
Dec 13, 2016
Author
Member
Anything for love
Oh, I would do anything for love
I would do anything for love, but I won't do that
No, I won't do that
| # ----- gfortran_devel package ----------------------------------------------- | ||
|
|
||
| SUMMARY_gfortran_devel="C/C++-runtime static libraries and C++ headers, needed for gfortran" | ||
| DESCRIPTION_syslibs_devel="This package is not of general interest - it \ |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
| contains the set of gcc's C/C++-runtime libraries and headers that is \ | ||
| required by gfortran to build fortran source code." | ||
|
|
||
| PROVIDES_gfortran_devel=" |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
|
korli, do you mean, that i should base my changes onto the top of the last 5.4.0 recipe to get a better view what did i changed or do you want it on the top of the gcc6 or 7 recipe? If you want that, i can do it, but please, explain it a bit better. Thanks for your time! |
|
Yeah please apply your changes to the current gcc5 recipe, bumping revision. |
| required by gfortran to build fortran source code." | ||
|
|
||
| PROVIDES_gfortran=" | ||
| gcc${secondaryArchSuffix}_gfortran_devel = $portVersion compat >= 5 |
This comment has been minimized.
This comment has been minimized.
fbrosson
Dec 13, 2016
Member
Shouldn't this be changed to:
gcc${secondaryArchSuffix}_gfortran = $portVersion compat >= 5
(i.e. without the _devel suffix) since we' re not defining PROVIDES_gfortran_devel but PROVIDES_gfortran ?
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
korli
Dec 24, 2016
Contributor
though while at it, could this be named "fortran" instead of "gfortran"? there is already gcc_ als prefix...
|
Any update? |
|
Travelling right now, please be paitent. |
|
Theoretically it is ok now, i'm doing a clean build right now. |
|
I got this output, have you got any idea, what am i doing wrong?
|
|
Have you tested gfortran? |
|
|
||
| packageEntries "gfortran_devel" \ | ||
| $relativeBinDir/gfortran \ | ||
| $relativeBinDir/x86_64-unknown-haiku-gfortran \ # does it required? what with the "-" symbols? should it be $relativeBinDir/*gfortran |
This comment has been minimized.
This comment has been minimized.
| $relativeLibDir/f951 \ | ||
| $relativeLibDir/finclude \ | ||
| $relativeLibDir/libcaf_single.a # is it $installDir/$gccLibDir or $developLibDir \ | ||
| $relativeLibDir/libgfortran.a \ |
This comment has been minimized.
This comment has been minimized.
| required by gfortran to build fortran source code." | ||
|
|
||
| PROVIDES_gfortran=" | ||
| gcc${secondaryArchSuffix}_gfortran_devel = $portVersion compat >= 5 |
This comment has been minimized.
This comment has been minimized.
| required by gfortran to build fortran source code." | ||
|
|
||
| PROVIDES_gfortran=" | ||
| gcc${secondaryArchSuffix}_gfortran_devel = $portVersion compat >= 5 |
This comment has been minimized.
This comment has been minimized.
korli
Dec 24, 2016
Contributor
though while at it, could this be named "fortran" instead of "gfortran"? there is already gcc_ als prefix...
| @@ -301,6 +315,18 @@ INSTALL() | |||
| $relativeLibDir/libstdc++.so.$libstdcxxLibVersion \ | |||
| $relativeLibDir/libsupc++.so | |||
|
|
|||
| packageEntries "gfortran" \ | |||
This comment has been minimized.
This comment has been minimized.
|
|
||
| SUMMARY_gfortran="C/C++-runtime static libraries and C++ headers, needed for gfortran" | ||
| DESCRIPTION_gfortran="This package is not of general interest - it \ | ||
| contains the set of gcc's C/C++-runtime libraries and headers that is \ |
This comment has been minimized.
This comment has been minimized.
| devel:libcaf_single$secondaryArchSuffix = $libgfortranLibVersion compat >= $libgfortranSoVersion | ||
| devel:libgfortranbegin$secondaryArchSuffix = $libgfortranLibVersion compat >= $libgfortranSoVersion | ||
| " | ||
| REQUIRES_gfortran=" |
This comment has been minimized.
This comment has been minimized.
| $relativeLibDir/libgfortran.spec # ? Does it required? \ | ||
| $relativeLibDir/libgfortranbegin.a | ||
|
|
||
| rm -rf $installDir/$gccLibDir/{f951, finclude, libcaf_single*, libgfortran*} # we don't want to include them into other packages |
This comment has been minimized.
This comment has been minimized.
| devel:libgfortranbegin$secondaryArchSuffix = $libgfortranLibVersion compat >= $libgfortranSoVersion | ||
| " | ||
| REQUIRES_fortran=" | ||
| #gcc${secondaryArchSuffix}_syslibs = $portVersion compat >= 4 |
This comment has been minimized.
This comment has been minimized.
|
Doing a build right now, i'll report back later. |
|
The last change made it possible to get the lapack test 100% passed. I think it should be OK now. |
|
Please restore the build section. You know you just need to touch the build flag to avoid a rebuild, right ? |
|
Thanks for the tip! |
libquadmath.so and .a should go into syslibs and syslibs_devel
9c08181
into
haikuports:master



extrowerk commentedDec 13, 2016
•
edited
Work in progress, Any idea or help really appreciated. See my comments in the recipe.
Thanks!