build: Fix build script to use correct cmake cmd
PATCH 1/1 build: Fix build script to use correct cmake cmd
The build script does not use the variable it sets up for cmake. Fix it so it does.
--- build.sh | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-)
build.sh +2 -2
@@ -23,9 +23,9 @@ fi cd "$BUILDDIR" if [ "x$NINJA" == "x" ]; then - cmake .. + $CMAKE .. make else - cmake -GNinja .. + $CMAKE -GNinja .. $NINJA fi
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
Quoted 2 lines · Dennis Dalessandro
The build script does not use the variable it sets up for cmake. Fix it so it does.
Yep, my bad. I put this with the other minor fixes that came by lately:
https://github.com/linux-rdma/rdma-core/pull/25
Jason
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
Quoted 7 lines · Jason Gunthorpe
Quoted 2 lines · Dennis Dalessandro
The build script does not use the variable it sets up for cmake. Fix it so it does.
Yep, my bad. I put this with the other minor fixes that came by lately:
Quoted 8 lines
https://github.com/linux-rdma/rdma-core/pull/25
Jason
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
According to github, this change broke the travis CI build on your pull request when the previous patches all worked. However, travis is down right now, so I suspect this didn't *actually* break it, that the travis CI was down anyway and github logged a failure.
Signature · 2 lines
Doug Ledford <[email protected]> GPG Key ID: 0E572FDD
Quoted 4 lines · Doug Ledford
According to github, this change broke the travis CI build on your pull request when the previous patches all worked. However, travis is down right now, so I suspect this didn't *actually* break it, that the travis CI was down anyway and github logged a failure.
Yes, travis does not use build.sh
Maybe this is a good time to ask if anyone is interested in the docker stuff I have - eg should I make it pushable? It is easy to use, but you need to have docker installed.
There are several other container/chroot/docker based toolkits out there for doing this sort of work, but I haven't studied that area in a while to see if there is something workable.
The docker script is able to run almost-travis locally, as well as do clean package builds for all distros.
Jason
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
Quoted 11 lines · Jason Gunthorpe
Quoted 4 lines · Doug Ledford
According to github, this change broke the travis CI build on your pull request when the previous patches all worked. However, travis is down right now, so I suspect this didn't *actually* break it, that the travis CI was down anyway and github logged a failure.
Yes, travis does not use
build.shMaybe this is a good time to ask if anyone is interested in the docker stuff I have - eg should I make it pushable? It is easy to use, but you need to have docker installed.
I would be happy to get it and be more confident in my local tests.
Quoted 7 lines
There are several other container/chroot/docker based toolkits out there for doing this sort of work, but I haven't studied that area in a while to see if there is something workable.
The docker script is able to run almost-travis locally, as well as do clean package builds for all distros.
It looks like it goes beyond rdma-core definition. Do we want to put it separately or anyway integrate into main library?
Quoted 6 lines
Jason
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
Quoted 5 lines · Leon Romanovsky
Quoted 3 lines
Maybe this is a good time to ask if anyone is interested in the docker stuff I have - eg should I make it pushable? It is easy to use, but you need to have docker installed.
I would be happy to get it and be more confident in my local tests.
Okay, let me look at it some more, I think it could be streamlined a bit.
Quoted 5 lines
Quoted 2 lines
The docker script is able to run almost-travis locally, as well as do clean package builds for all distros.
It looks like it goes beyond rdma-core definition. Do we want to put it separately or anyway integrate into main library?
It is a 500 line script, I'd keep it internal. The latest version has learned to use different spec files depend on the distro build too, so there is a bunch of subtle integration.
Jason
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
Quoted 4 lines · Leon Romanovsky
Quoted 2 lines
stuff I have - eg should I make it pushable? It is easy to use, but you need to have docker installed.
I would be happy to get it and be more confident in my local tests.
You can test it out with this commit:
https://github.com/jgunthorpe/rdma-plumbing/commit/ef24b991c949ad4f50614bf6bf549e1cdf841358
It will need some tidying before it can merged, but let me know if it is useful as-is.
Jason
--
To unsubscribe from this list: send the line "unsubscribe linux-rdma" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
Quoted 4 lines · Jason Gunthorpe
Quoted 3 lines · Leon Romanovsky
Quoted 2 lines
stuff I have - eg should I make it pushable? It is easy to use, but you need to have docker installed.
Quoted 8 lines
Quoted 1 line
I would be happy to get it and be more confident in my local tests.
You can test it out with this commit:
https://github.com/jgunthorpe/rdma-plumbing/commit/ef24b991c949ad4f50614bf6bf549e1cdf841358
It will need some tidying before it can merged, but let me know if it is useful as-is.
Thanks, I'll do my best to try it next week.
Quoted 2 lines
Jason