Alexander Gorshenev
dc9a1ac76c
Renamed objc klib in the sample to objective_c to eliminate naming
...
conflict woth objc platform lib.
Made objc sample compile with the platform libs.
2017-10-13 23:13:37 +03:00
alexander-gorshenev
c4e45baa61
The time.h header belongs to posix.def, rather than linux.def
2017-10-13 23:10:38 +03:00
Alexander Gorshenev
1fe308370c
Moved gitchurn to platform libs.
2017-10-13 23:10:38 +03:00
Alexander Gorshenev
28b748f382
Moved Tetris to platform libs.
2017-10-13 23:09:33 +03:00
Mike Sinkovsky
f4c90e1a86
fix gradle 4.2 warning on windows ( #937 )
2017-10-13 12:54:22 +03:00
Mike Sinkovsky
83f798d5c4
win32 sample uses platform.windows ( #940 )
2017-10-13 12:51:48 +03:00
Vasily Levchenko
a4d1be443d
[samples][cmd][build] fix for command line build (build.sh): csvparser, socket, nonBlockingEchoServer
2017-10-12 15:23:53 +03:00
Vasily Levchenko
1109163fd8
[samples] feedback review
2017-10-12 15:17:06 +03:00
Vasily Levchenko
fbb0c35d08
[samples][androidNativeActivity] drop usage internal pointerSize
2017-10-12 15:17:06 +03:00
Vasily Levchenko
43f351d3e3
[sample][polyhedron] use platform libs
2017-10-12 15:17:06 +03:00
Vasily Levchenko
3cdb101df6
[sample][polyhedron][doc] prerequisites
2017-10-12 15:17:06 +03:00
Vasily Levchenko
6457e97364
[kotlin compiler][update] 1.1-20171004.235336-906
...
kotlin-script-runtime: 1.1-20171004.235353-597
kotlin-stdlib: 1.1-20171004.235357-905
kotlin-reflect: 1.1-20171004.235348-905
kotlin-stlib-jdk8: 1.1-20171004.235402-815
kotlin-gradle-plugin: 1.1-20171004.235345-884
2017-10-12 15:16:30 +03:00
Vasily Levchenko
596c8c086c
[build] projet-report plugin added
...
for maintenence needs e.g.
./gradlew htmlDependencyReport
gitves nice reports of dependencies and helps in compiler update
2017-10-12 15:16:30 +03:00
Alexander Gorshenev
17ae2343d4
There is not platform.posix for wasm32.
2017-10-12 10:56:21 +03:00
Alexander Gorshenev
85abe28267
Added math.h into posix platform lib on Windows.
2017-10-12 03:00:18 +03:00
alexander-gorshenev
a47c2dff41
Allow all cross platform libs to be built within the bundle target.
2017-10-12 03:00:18 +03:00
alexander-gorshenev
f75adb30a3
Temporarily disable zlib.klib on raspberrypi and mipses.
2017-10-12 03:00:18 +03:00
alexander-gorshenev
989d9efab9
A little more tweaks for linux.def to work on MIPS and RaspberryPi.
2017-10-12 03:00:18 +03:00
Vasily Levchenko
abf30a45b9
Revert "[platformlibs][build] bundle build does cross build of platform libraries"
...
This reverts commit ba28e98eca .
2017-10-11 23:53:01 +03:00
Vasily Levchenko
ba28e98eca
[platformlibs][build] bundle build does cross build of platform libraries
2017-10-11 23:52:21 +03:00
Nikolay Igotti
e714b4e134
Fix Linux platform dependencies
2017-10-11 18:17:08 +03:00
Alexander Gorshenev
2445357166
A test to check we don't throw away a library dependency only because it
...
it a default lib not needed in the main program.
2017-10-11 17:05:12 +03:00
Alexander Gorshenev
e7286998aa
If we get a defaultly linked library again from a library dependency
...
it should not be purged anymore for the final binary.
2017-10-11 17:05:12 +03:00
Svyatoslav Scherbina
ea802dfcdf
Don't touch dependencies when serializing the module
...
Otherwise dependencies would seem as needed.
2017-10-11 16:48:33 +03:00
Svyatoslav Scherbina
081b990863
Don't mark library needed if it was touched while looking for cnames.*
...
Also do minor refactoring.
2017-10-11 16:48:33 +03:00
Nikolay Igotti
de2cfce12f
utsname.h to iOS as well.
2017-10-11 10:19:17 +03:00
Nikolay Igotti
2343eafd5e
Add utsname.h to POSIX on OSX
2017-10-11 09:08:59 +03:00
Vasily Levchenko
0f2c81f71a
[klib] fix reading -target option
2017-10-11 05:55:03 +03:00
Vasily Levchenko
de524c38a3
[platform libs][build] pass platform to klib utility
2017-10-11 05:55:03 +03:00
Vasily Levchenko
aba8abcebd
[build] crossDistPlatformLibs
2017-10-11 05:54:11 +03:00
Nikolay Igotti
f50c9c3ae3
Couple missing bits in POSIX libs
2017-10-10 22:24:06 +03:00
Aleksey Kladov
424a330f7e
Custom progress reporting for dependency downloader
2017-10-10 15:37:41 +03:00
Nikolay Igotti
f33df4c75e
Add Gradle task to build cross-target platform libs ( #927 )
2017-10-10 14:56:35 +03:00
SvyatoslavScherbina
faa5ba0e7c
Move platform libs to dist/klib/$target ( #926 )
2017-10-10 14:48:42 +03:00
Igor Chevdar
7b4b857e2b
Added utsname to posix.def
2017-10-10 12:42:16 +03:00
SvyatoslavScherbina
8bc552632d
Platform lib fixes and improvements ( #925 )
...
* Build platform klibs with `-nodefaultlibs`
* Improve android platform libs:
* Add dependencies
* Add header filters
* Add glescommon
* Do minor cleanup
* Add minor code improvements
2017-10-10 11:41:52 +03:00
Ilya Matveev
5eed839f91
samples: Blacklist some xcode environment variables
...
This patch unsets some Xcode environment variables in gradle
plugin and command line runner.
2017-10-10 11:38:06 +03:00
Svyatoslav Scherbina
e7cea96692
Add .def files for iOS platform libs
2017-10-09 17:24:47 +03:00
Svyatoslav Scherbina
c7588d7928
Use packages specified in .def files for platform libs
2017-10-09 17:24:47 +03:00
Svyatoslav Scherbina
3523a71058
Do not ignore package name from .def file in Gradle plugin
2017-10-09 17:24:47 +03:00
Svyatoslav Scherbina
509604618c
Add .def file depends to dependencies of platform klibs
...
Also disable inconsistent dependencies.
2017-10-09 17:24:47 +03:00
Svyatoslav Scherbina
99c3c392c7
fixup! Support -nodefaultlibs flag in the interop tool
2017-10-09 17:24:47 +03:00
Ilya Matveev
bf08359f0d
unit-tests: Report error on test functions with incorrect signature
2017-10-09 11:38:32 +03:00
Alexander Gorshenev
3abd8e4851
Renamed x86-64 suffix to x64.
...
RaspberryPi was mistakenly attributed to its own architecture,
whereas it should be just ARM32.
2017-10-06 15:41:07 +03:00
Alexander Gorshenev
174e440d9d
Extracted Konan dependent pieces of Stub Generator to separate components
...
and ported them from string manipolations to KonanTarget + KonanProperties.
2017-10-06 15:41:07 +03:00
Ilya Matveev
43a88dbcb6
Support -nodefaultlibs flag in the interop tool
2017-10-06 14:36:09 +03:00
Ilya Matveev
e245a23c34
Minor improvements in recursive klib dependency support
...
* Support -r option in the cinterop tool.
* Move klib resolve into separate methods.
* Don't treat directory as a library if it doesn't contain a manifest.
* Rework recursive library search + duplicate removal.
* Support recursive klib processing in the cinterop tool.
2017-10-06 14:36:09 +03:00
Alexander Gorshenev
a94448ba5f
Specify /klib explicitly for klib install to dist/klib.
2017-10-06 13:34:19 +03:00
Alexander Gorshenev
d48066bbec
Updated html5 sample for the new library reality.
2017-10-06 13:34:19 +03:00
Alexander Gorshenev
a4f8333c94
Klib path component is not required anymore.
2017-10-06 13:34:19 +03:00