diff --git a/.drone.yml b/.drone.yml index 80ba8ad..0255d70 100644 --- a/.drone.yml +++ b/.drone.yml @@ -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 diff --git a/code/compiler/11/main.cpp b/code/compiler/11/main.cpp index 5cd3aa1..45a3e8b 100644 --- a/code/compiler/11/main.cpp +++ b/code/compiler/11/main.cpp @@ -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; diff --git a/code/compiler/test.sh b/code/compiler/test.sh index 0541f7a..dca252f 100755 --- a/code/compiler/test.sh +++ b/code/compiler/test.sh @@ -1,4 +1,4 @@ -cd 10 +cd 11 mkdir -p build && cd build cmake .. make -j8 diff --git a/themes/vanilla/assets/scss/style.scss b/themes/vanilla/assets/scss/style.scss index 7e38ccb..a0bbcae 100755 --- a/themes/vanilla/assets/scss/style.scss +++ b/themes/vanilla/assets/scss/style.scss @@ -153,6 +153,10 @@ tr { } } +div.highlight tr { + display: revert; +} + td { @include below-container-width { overflow-x: auto;