-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Get boost.thread
building
#3
Get boost.thread
building
#3
Conversation
…Also remove extra build option that causes failure (and we don't need)
the tests might not have a cmake file, but there's a jamfile. Even just having 1 test running would be really helpful. Doesn't have to be all of them. |
I can merge without the test though. I'll probably add it after when I do some testing. |
Oh Ill add tests. I wasn't sure if I should since there was nothing to go on but I can do it. So hold off on merging. |
Thanks! Make sure there's a separate module for the test. Its a great way to test how people will experience the module downstream and useful for separating test dependencies. |
Gotcha. I have the tests all rounded up but the build is failing because |
merged! should be available in the registry as version |
btw even if |
I added tests and it now requires that |
Need a test module so the test dependencies don't get added to the main module. Please add |
added some github actions that I have on other boost module repo |
Ok I got it to this point. Chrono needs to be updated. Do you want me to do that first then this one?
|
if boost.thread requires boost.chrono then doing that one first is probably a good idea. If it's optional though, then we could configure it to not use it (or exclude the tests the require it). Either way we should make sure the CI is passing before merging. |
Okay Ill go do chrono and get back to this later! |
Hey quick question. Each boost test defines its own main method so I cannot glob them into one |
… add in assert.hpp to see if that fixes the Ubuntu build
…ich does't build and add a separate target to the main module for mac so that posix can actually build and mac can still work. Also split out the test cases run on different platforms since some don't run everywhere
Okay so sad news. I tried and did |
wow yeah that is a real bummer. I'm not sure how they're getting that to work 🤔 |
@andrewkatson it might be this: Lines 279 to 280 in f339fa2
defining |
I have been trying for the last 2 hours to in place modify a file with bazel genrules and/or custom rules and as far as I can tell it cannot be done. There is a hard limit on making a src == to an output and there is a cycle created if you do something like move a fileA > fileB then modify fileB and move it back to where fileA was with two or more genrules. So even if I generate a new boost header file I would need to include it in existing files afaik I cannot do that. The only other option I see is to modify a series of files so that all the includes are changed. So instead of |
Okay I managed to get bazel to answer and they said to ask boost to modify the files if we want things to work. How realistic is that? |
Outside of adding |
@zaucy I tried defining |
I'll be able to look into this in the next few days. Will post back then! |
No problem! :) I get so eager |
Hey any update on what we do with this? |
Ill take a look today! Thanks for the reminder. |
I think we have no choice but to modify the the source. I added a PR upstream to make the change more official though boostorg#401 |
Thank you for making the change to boost! Yeah its an odd situation but at least its only an added header not major structural changes. |
@andrewkatson should be available as version |
AWESOME! thank you!! |
boost.thread
builds now. Thetest
directory has noCMakeLists.txt
file so I don't know how to setup the tests so I didn't bother. Also the top level.txt
file says this should be fine since it has an if clause looking for the subdirectory.txt
file and does nothing with tests if it does not exist.