-
Notifications
You must be signed in to change notification settings - Fork 34
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
Add more circleci build for testing in x86_64 env #43
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Assuming the native builds compile and run (which I haven't tested), this is a great improvement, thanks!
See my comment for some minor changes.
.circleci/config.yml
Outdated
- run: ln -s `pwd`/build/libVC4CC.so.0.4 /usr/lib/libVC4CC.so.1.2 | ||
- run: ln -s `pwd`/build/cpptest-lite/src/cpptest-lite-project-build/libcpptest-lite.so.0.9 /usr/lib/libcpptest-lite.so.1.1.2 | ||
- run: ldconfig | ||
- run: build/test/TestVC4C |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
TestVC4C runs about 15 mins (on my desktop PC), so running it twice on every build is not an option.
I selected a few test-cases which run quite fast (and am working on adding some more):
build/test/TestVC4C --output=plain --mode=verbose --test-instructions --test-operators
Same for the test beneath
7ef4a2f
to
deec6dc
Compare
Fixed. BTW: Compiling with SPIRV-LLVM is a little bit longer than llvm's. |
SPIRV-Tools takes a long time to compile (a few minutes). While compiling OpenCL-kernels, using the SPIRV-LLVM is faster than using default clang, at least in my experience. Or do you have other measurements? Edit: |
Related: #39
This pullreq add more circleci build specially for building x86_64 versions of the compiler for testing.
This pullreq MUST accept after this pullreq:
doe300/VC4CLStdLib#4
I added two jobs:
VC4C
usingSPIRV-LLVM
VC4C
using llvm-libThe purpose of this pullreq is comparison between one of
SPIRV-LLVM
andLLVM-LIB
with ease.