-
Notifications
You must be signed in to change notification settings - Fork 564
Update LLVM to 6.0.1 and WebAssembly target refactoring #1788
Conversation
konan/konan.properties
Outdated
@@ -54,7 +54,7 @@ osVersionMin.macos_x64 = 10.11 | |||
entrySelector.macos_x64 = -alias _Konan_main _main | |||
dependencies.macos_x64 = \ | |||
libffi-3.2.1-2-darwin-macos \ | |||
clang-llvm-5.0.0-darwin-macos | |||
clang-llvm-6.0.0-darwin-macos |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
6.0.1?
konan/platforms/zephyr/stm32f4_disco
Outdated
target-sysroot-2-wasm | ||
|
||
targetToolchain.mingw_x64-zephyr_stm32f4_disco = gcc-arm-none-eabi-7-2017-q4-major-win32/arm-none-eabi | ||
dependencies.mingw_x64-zephyr_stm32f4_disco = \ | ||
msys2-mingw-w64-x86_64-gcc-7.2.0-clang-llvm-5.0.0-windows-x86-64 \ | ||
mingw64 \ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not a very good name.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Execution failed for task ':dependencies:gcc-arm-none-eabi-7-2017-q4-major-win32'.
> org.jetbrains.kotlin.konan.util.DependencyDownloader$HTTPResponseException: Server returned HTTP response code: 403 for URL: https://cache-redirector.jetbrains.com/download.jetbrains.com/kotlin/native/mingw64.zip
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@msink, it's not ready for use yet :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Will it fix #1734 ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, it should.
runtime/src/main/cpp/math/fmodf.cpp
Outdated
@@ -1,6 +1,10 @@ | |||
#include <math.h> | |||
#include <stdint.h> | |||
|
|||
#ifdef KONAN_WASM | |||
#include "../Common.h" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please don't use includes by relative paths.
Also add RUNTIME_USED in separate ifdef, code is unreadable this way.
d30a0b3
to
7ecdc2b
Compare
edbd0bd
to
84d1b5a
Compare
@viteinfinite this PR has nothing to do with bitcode embedding. |
WebAssembly improvements: