This commit is contained in:
Danila Fedorin 2020-05-04 03:29:48 -07:00
commit a80064f40a
4 changed files with 7 additions and 3 deletions

View File

@ -10,7 +10,7 @@ steps:
- name: test-compiler - name: test-compiler
image: archlinux image: archlinux
commands: commands:
- pacman -Sy cmake gcc make llvm bison flex gettext --noconfirm - pacman -Sy cmake gcc make llvm bison flex gettext libffi --noconfirm
- cd code/compiler - cd code/compiler
- ./test.sh - ./test.sh
- name: build-live - name: build-live

View File

@ -139,7 +139,7 @@ void output_llvm(llvm_context& ctx, const std::string& filename) {
if (ec) { if (ec) {
throw 0; throw 0;
} else { } else {
llvm::TargetMachine::CodeGenFileType type = llvm::TargetMachine::CGFT_ObjectFile; llvm::CodeGenFileType type = llvm::CGFT_ObjectFile;
llvm::legacy::PassManager pm; llvm::legacy::PassManager pm;
if (targetMachine->addPassesToEmitFile(pm, file, NULL, type)) { if (targetMachine->addPassesToEmitFile(pm, file, NULL, type)) {
throw 0; throw 0;

View File

@ -1,4 +1,4 @@
cd 10 cd 11
mkdir -p build && cd build mkdir -p build && cd build
cmake .. cmake ..
make -j8 make -j8

View File

@ -153,6 +153,10 @@ tr {
} }
} }
div.highlight tr {
display: revert;
}
td { td {
@include below-container-width { @include below-container-width {
overflow-x: auto; overflow-x: auto;