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
image: archlinux
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
- ./test.sh
- name: build-live

View File

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

View File

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

View File

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