Merge branch 'master' of https://dev.danilafe.com/Web-Projects/blog-static
This commit is contained in:
commit
a80064f40a
|
@ -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
|
||||||
|
|
|
@ -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;
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
cd 10
|
cd 11
|
||||||
mkdir -p build && cd build
|
mkdir -p build && cd build
|
||||||
cmake ..
|
cmake ..
|
||||||
make -j8
|
make -j8
|
||||||
|
|
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user