Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign updependencies required for mozjs #20888
Comments
|
|
|
actually it isn't 100% true, I got some other failures in mozjs still. need dig bit more. |
|
d0cc9d2 did add lib in script. I don't know why it doesn't work. |
|
@tigercosmos actually that reveals reason why for me on windows, d0cc9d2#diff-e6bf833f91496efdbd7e4e9ecfc7a4cdR7 points deps to llvm 4 while mozjs requires 6. I tried manually handcraft script to point local installation to llvm 6, and was able to get build working. Guess resolution'll be update deps to 6, while |
|
@kwonoj sounds reasonable. What do you think @asajeffrey? |
|
@jdm Could we put the file |
|
Hmm, mozjs requires llvm 6? I thought it only needed llvm 4. We could upload llvm6 to aws, but I'm a bit concerned this might break anything that depends on old versions of clang (I seem to remember osmesa being picky?) |
|
@asajeffrey could let both llvm 4 and llvm 6 on the cloud. Servo read the version in |
readme add llvm clang <!-- Please describe your changes on the following line: --> update readme, since recent commit required the dependencies. part of #20888 --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: --> - [ ] `./mach build -d` does not report any errors - [ ] `./mach test-tidy` does not report any errors - [ ] These changes fix #__ (github issue number if applicable). <!-- Either: --> - [ ] There are tests for these changes OR - [ ] These changes do not require tests because _____ <!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.--> <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. --> <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/20894) <!-- Reviewable:end -->
|
Could do but I'm a bit surprised llvm 6 is needed, llvm 4 works for me on my local machine, and also on the build machines. |
|
may be related to msvc version? this is message I got on local machines for reference.
|
|
Ah, this is a check MS introduced to ensure that the toolchain is at least as recent as the stl. https://blogs.msdn.microsoft.com/vcblog/2017/12/19/c17-progress-in-vs-2017-15-5-and-15-6/ Sigh, seems like we need to use clang 6 if we want to support VS 2017. I'll upload llvm-6.0.0.zip then we can experiment with using it. |
|
OK, I uploaded https://servo-deps.s3.amazonaws.com/msvc-deps/llvm-6.0.0.zip |
|
Created one-liner change #20895 to bump. (mostly to see if CI passes other than windows) |
build(servo): bump up llvm to 6.0.0 <!-- Please describe your changes on the following line: --> This PR bumps up llvm to 6.0.0 to allow vs2017 build works on windows. --- <!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: --> - [ ] `./mach build -d` does not report any errors - [ ] `./mach test-tidy` does not report any errors - [x] These changes fix #20888 (github issue number if applicable). <!-- Either: --> - [ ] There are tests for these changes OR - [ ] These changes do not require tests because _____ <!-- Also, please make sure that "Allow edits from maintainers" checkbox is checked, so that we can help you if you get stuck somewhere along the way.--> <!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. --> <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/20895) <!-- Reviewable:end -->
|
OK, lets see if that works on CI. |
|
Sorry. My fault. |
since recent commits, the build will fail with C++ errors. Either in Win10, or Ubuntu 16.04, as far as I know.
I add
apt install clangand fix the Ubuntu. But I don't know how to fix Windows.