Details
- Reviewers
mmokhi - Commits
- rP458940: misc/rumprun: Add port to the tree
Diff Detail
- Repository
- rP FreeBSD ports repository
- Lint
Lint Not Applicable - Unit
Tests Not Applicable
Event Timeline
Hi, thanks for your nice work, would be nice of you if you answer some questions I have. ๐
misc/rumprun/Makefile | ||
---|---|---|
16 โ | (On Diff #37878) | Can't we use USES=compiler options instead of USE_GCC ? |
25 โ | (On Diff #37878) | Why did you have to split your includes as .pre.mk and .post.mk? Anything I have missed about here? |
misc/rumprun/Makefile | ||
---|---|---|
16 โ | (On Diff #37878) | Why does it need gcc? What isn't working with clang? |
misc/rumprun/Makefile | ||
---|---|---|
5 โ | (On Diff #37880) | The version should be g20180105. |
misc/rumprun/Makefile | ||
---|---|---|
5 โ | (On Diff #37880) | And it should be DISTVERSION, not PORTVERSION. |
misc/rumprun/Makefile | ||
---|---|---|
5 โ | (On Diff #37880) | Ah, I hadn't seen Example 5.14. Makes sense, I'll update the patch. |
16 โ | (On Diff #37878) | See https://github.com/rumpkernel/rumprun/blob/master/build-rr.sh#L305: checktools () { # Check that a clang build is not attempted. [ -z "${BUILDRUMP_HAVE_LLVM}" ] \ || die rumprun does not yet support clang ${CC:+(\$CC: $CC)} delay=5 # check that gcc is modern enough vers=$(${CC:-cc} -E -dM - < /dev/null | LANG=C awk ' /__GNUC__/ {version += 100*$3} /__GNUC_MINOR__/ {version += $3} END { print version; if (version) exit 0; exit 1; }') \ || unable to probe cc version if [ ${vers} -lt 406 ]; then die gcc is too old, need 4.6 or later. ${CC:+(\$CC: $CC)} elif [ ${vers} -lt 408 ]; then echo '>>' echo ">> WARNING: gcc is old. ${CC:+(\$CC: $CC)}" echo '>> Version 4.8 or later is recommended.' |
Looks good to me.
If @yuri is also fine with it, I'll commit it.
About GCC i think it makes sense that it requires it since in netbsd the default is gcc AFAIK.
(however I'd go with fixing the build-with-Clang in long-term and upstream the fix).
head/misc/rumprun/Makefile | ||
---|---|---|
22 | This is wrong. man pages should be installed in PREFIX/man, so the build or install script should be patched to put them at the right place. |
@mat OH I see ๐ (I'm so sorry that I didn't noticed that before ๐
๐ )
We have another PR open, and in committing that I'll also fix this as well before committing.