From 0fb315ec47a6eaa4ed318563e7a256ec846d240e Mon Sep 17 00:00:00 2001 From: Danila Fedorin Date: Sun, 26 Apr 2020 20:47:51 -0700 Subject: [PATCH 1/4] Prevent single-column tables in the case of highlighting --- themes/vanilla/assets/scss/style.scss | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/themes/vanilla/assets/scss/style.scss b/themes/vanilla/assets/scss/style.scss index d086c4b..7c5c430 100755 --- a/themes/vanilla/assets/scss/style.scss +++ b/themes/vanilla/assets/scss/style.scss @@ -143,6 +143,10 @@ tr { } } +div.highlight tr { + display: revert; +} + td { @include below-container-width { overflow-x: auto; From 144d5f3324657c631741add1cd1b0aab85d52bdf Mon Sep 17 00:00:00 2001 From: Danila Fedorin Date: Sun, 26 Apr 2020 21:05:28 -0700 Subject: [PATCH 2/4] Try to fix compiler build failure --- .drone.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 From 78563448fb18a51044a816ad214c28ff23f32d5f Mon Sep 17 00:00:00 2001 From: Danila Fedorin Date: Sun, 26 Apr 2020 21:24:24 -0700 Subject: [PATCH 3/4] Update to LLVM 10. --- code/compiler/11/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; From 18339d7e4da47b13f45d96dbfa2951e3ceeefb4e Mon Sep 17 00:00:00 2001 From: Danila Fedorin Date: Sun, 26 Apr 2020 21:28:34 -0700 Subject: [PATCH 4/4] Build and test version 11 of the compiler instead of 10. --- code/compiler/test.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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