Alibek Omarov
dc186c3cba
github: build android with NDK compiler
2021-12-14 23:03:31 +03:00
Alibek Omarov
a99e1ca509
Merge master into vulkan
2021-12-10 01:12:04 +03:00
Alibek Omarov
3a8a7f290d
ref_vk: wscript: split rtx shaders into new build target for specific glslc flags
2021-12-10 01:01:28 +03:00
Alibek Omarov
29bc0392ee
scripts: compiler_optimizations: disable clang thread-safe statics
2021-12-07 09:03:51 +03:00
Alibek Omarov
054765232e
waifulib: xcompile: add NDK 23 support
2021-12-07 09:03:20 +03:00
Alibek Omarov
28b49e00e5
scripts: continious_upload: remove unused Travis CI support
2021-11-27 06:34:22 +03:00
Alibek Omarov
1e6be598e9
TravisCI is dead too\!
2021-11-27 06:27:52 +03:00
Alibek Omarov
155e15939b
scripts: continious_upload: remove unused Artifactory support (JFrog is dead\!)
2021-11-27 06:25:35 +03:00
Alibek Omarov
3f014fde73
scripts: continious_upload: upload to original transfer.sh
2021-11-27 06:24:13 +03:00
Alibek Omarov
66db69862f
cirrus: build all renderers available, remove unsupported -W flag for waf configure
2021-11-27 06:23:07 +03:00
Alibek Omarov
fc665527ae
wscript: try to fix install on windows
2021-11-27 06:04:26 +03:00
Alibek Omarov
576f0a72c5
scripts: install with destdir option on CI
2021-11-25 16:57:02 +03:00
Ivan Avdeev
ec7f65462f
add the same timeouts to transfersh
2021-10-31 17:27:22 -07:00
Ivan Avdeev
b7529fecdd
try to address frequent CI timeouts
...
#169
- Set the total curl upload timeout to one minute. If we're uploading
for longer than one minute, something is really broken.
- Retry 5 times.
- Max wait 10 seconds for connection to be established.
- If transfer speed is lower than 16KiB/s for longer than 10 seconds,
abort (this is the most frequent reason for CI stall, xfer speed drops
to zero and stays that way for hours)
2021-10-31 17:27:22 -07:00
Ivan Avdeev
03a7c00f06
do not upload vulkan_sdk.exe in CI builds
2021-10-14 10:17:05 -07:00
Ivan Avdeev
69cddf1767
Merge remote-tracking branch 'upstream/master' into vulkan
2021-10-13 12:36:11 -07:00
Alibek Omarov
8bbd0d5119
ci: let's have a copy of original uploadtool instead of unsafe curl | sh
2021-10-03 03:53:06 +03:00
Alibek Omarov
ade0fd4afa
ci: stop generating vc2008 project files
...
If somebody needs them, they can revert this comment and send a PR
Or better use official msvs.py tool
2021-10-02 04:05:52 +03:00
Alibek Omarov
f5ccf093d6
scripts: waifulib: fix build with sanitizers on
2021-09-30 15:58:50 +03:00
Ivan Avdeev
316e77df78
rtx: add alpha mask transparency
2021-07-14 11:54:21 -07:00
Ivan Avdeev
d1fe897966
Merge remote-tracking branch 'origin/vulkan' into amd_ray_tracing_fixes
2021-07-12 09:45:26 -07:00
Ivan Avdeev
300bd1795c
add vulkan-sdk to gha deps
2021-07-11 10:52:14 -07:00
Ivan Avdeev
552e902a03
Merge remote-tracking branch 'upstream/master' into merge-master
2021-07-11 10:33:23 -07:00
Ivan Avdeev
c51d593679
rtx: get ray tracing pipeline to draw at least something
...
on amd gpus it won't draw anything at all unless you have the entire ray tracing pipeline set up fully and correctly:
- have at least rgen, rmiss and rchit shaders
- set up shader groups to reference them
- set up sbt to reference shader groups
it is not enough to just have a single rgen shader operating like a compute shader. amd will have a shader preamble that checks for something and exit early w/o actually running any shader code you wrote
meh
2021-07-06 11:28:24 -07:00
Ivan Avdeev
364b46ea87
[WIP] rtx: first build with ray tracing pipeline and black screen
2021-07-05 13:24:57 -07:00
Alibek Omarov
affc64c6da
gha: don't install unneeded multilib packages for amd64
2021-07-03 23:18:14 +03:00
Alibek Omarov #SupportRMS
21a31ec81d
ci: migrate to GitHub Actions
...
* travis: disable build, disable deploy, add free aarch64/ppc64le/s390x builds
* scripts: cleanup of old CI scripts
* scripts: now port to GitHub Actions
* actions: fix extras checkout
* github: remove codeql action, turned out not to be very useful
* github: remove quiet flag on wget
* github: are we allowed to use envvars?
* github: add needed dependencies for linux
* github: install wget for windows
* scripts: convert our CPU architecture naming into what AppImage uses
* github: run scripts with bash explicitly
* github: first try to upload to GitHub Releases, enable amd64 win32 builds
* Use our uploadtool fork
* ci: include android, motomagx build for gha, refactor cirrus and travis ci scripts
* gha: try to fix build
* travis: try to fix build
* gha: try to fix upload, fix win32 build
* gha: use curl instead of wget, as it's preinstalled for windows. Fix Android build
* gha: add llvm repository, install clang-12 for android
* gha: motomagx: fail fast
* gha: android: explicitly set clang-12 as compiler and llvm-strip-12 as strip
* waifulib: xcompile: respect environment variables when using host compiler for Android
* waifulib: xcompile: use correct environ dict
* gha: try to fix -fuse-ld=lld with clang-12
* waifulib: xcompile: fix typo
* scripts: xcompile: fix motomagx build
* mainui: upgrade
* gha: fix android build, last time
* engine: wscript: disable crashhandler for magx
2021-07-03 20:21:09 +03:00
Ivan Avdeev
a004656b57
ref_vk: remove verbose ci info; fix win23 func ptr
2021-06-07 12:05:47 -07:00
Ivan Avdeev
333d7b6825
7z ftw
2021-06-07 11:20:02 -07:00
Ivan Avdeev
87d9b2ed0e
--//--
2021-06-07 10:57:29 -07:00
Ivan Avdeev
1b3b4e51cd
... why
2021-06-07 10:42:41 -07:00
Ivan Avdeev
1437f6bb35
ref_vk: ci/win32: debug-print vulkan sdk install dir
2021-06-07 10:25:46 -07:00
Ivan Avdeev
fd11b00469
ref_vk: add more debug around VULKAN_SDK for CI
2021-06-07 10:14:04 -07:00
Ivan Avdeev
cb7fb0a1c5
ref_vk: attempt to fix win32 glslc path
2021-06-07 09:55:33 -07:00
Ivan Avdeev
762a29c535
ref_vk: use more official method of geting vulkan sdk on windows
2021-06-07 00:15:40 -07:00
Ivan Avdeev
931de39f23
ref_vk: try to add vulkan sdk installation on windows
2021-06-06 23:56:24 -07:00
Ivan Avdeev
f61fbe7d8b
Merge branch 'master' into linux-and-other-fixes
2021-06-06 23:48:50 -07:00
Ivan Avdeev
f66ad420eb
travis: update to 18.04, as it is the earliest supportef by vulkan sdk
2021-06-06 21:40:18 -07:00
Ivan Avdeev
04732eeb59
travis: remove libvulkan-dev, fix arch
2021-06-06 21:15:57 -07:00
Ivan Avdeev
844eedba93
attempt to add vulkan linux deps for travis
2021-06-06 21:00:24 -07:00
Alibek Omarov #SupportRMS
163225e180
travis: android: switch to mobile_hacks hlsdk
2021-05-26 18:18:22 +03:00
SNMetamorph
1a5b2576f7
wscript: added support for "Edit and Continue" MSVC feature
2021-04-30 16:12:08 +03:00
Alibek Omarov #SupportRMS
9ea45a71f5
scripts: rename win32 build to xash3d-win32-vc.7z
2021-03-26 17:57:51 +03:00
Alibek Omarov
accacd54f5
waifulib: set debug builds to be built with -O0, gcc -Od is broken
2021-03-11 20:17:39 +03:00
Alibek Omarov
c0db39594b
scripts: enable building utils for PC platforms
2021-03-05 16:04:20 +03:00
Ivan Avdeev
9b8af6d28b
shaders: add compute shaders; fix shaders install dir
2021-03-01 23:34:20 -08:00
Ivan Avdeev
dc71afd08a
Merge remote-tracking branch 'upstream/vulkan' into vulkan-glslc
2021-03-01 23:22:40 -08:00
Alibek Omarov
b278751834
waf: upgrade to waifu 1.1.0
2021-02-28 15:39:22 +03:00
SNMetamorph
932fc8e3c7
wscript: fixed MSVC optimization flag in debug mode
2021-02-20 14:22:20 +03:00
Alibek Omarov
074e4fd540
glslc: rework tool, support dependency scan, preliminary work on making tool dependless from compiler(like ccroot)
2021-02-10 03:51:11 +03:00
Alibek Omarov
8ee87d441c
waf: glslc: remove useless shebang
2021-02-10 03:50:55 +03:00
Alibek Omarov
c1ef953672
waf: add glslc module
2021-02-10 03:50:55 +03:00
Alibek Omarov
d6d90f03a0
wscript: refactoring, split optimization flags selection and fpic control into standalone modules
2021-01-29 03:33:14 +03:00
Gleb Mazovetskiy
23998ef720
makepak.py: Skip all filenames starting with .
...
This makes it much simpler to define a buildroot package for xash-extras
buildroot places various buildroot-internal dot files in the package build directory
2020-12-30 14:40:32 +03:00
Gleb Mazovetskiy
b40344f1f0
travis: unzip quietly
...
Helps avoid the following error message:
> The job exceeded the maximum log length, and has been terminated.
(e.g. https://travis-ci.org/github/FWGS/xash3d-fwgs/jobs/751744736 )
2020-12-28 13:09:01 +03:00
Alibek Omarov
9acedb3408
travis: restore unzipping file
2020-11-29 19:45:05 +03:00
Alibek Omarov
ede9e5095d
travis: fix getting android deps
2020-11-28 23:22:57 +03:00
Alibek Omarov
f2120672d0
travis: update android sdk level
2020-11-28 01:30:55 +03:00
Alibek Omarov
d3ab2023ae
travis: combine downloading zip file and unpacking it
2020-11-28 01:30:55 +03:00
mittorn
f60c398f32
scripts/xcompile/android: add ability to specify HOST_TOOLCHAIN and override hard-coded one
2020-11-18 12:34:38 +03:00
Alexey
fff71e449e
Fix android travis build again
2020-08-24 19:08:38 +03:00
mittorn
a5e3a74e93
waf/xcompile: gnu hash on android confuses old linkers
2020-07-08 02:40:43 +07:00
Alibek Omarov
17cf4bf402
scripts: travis: we're NOT moved to GitHub Releases
2020-02-28 09:13:33 +03:00
Aimless Wanderer
e3d9ac4840
scripts/xshlib: line endings fix
2020-02-25 13:35:55 +02:00
mittorn
0ee5ff3aad
waifulib/owcc: add -xx to ignore default includes
2020-02-12 17:39:42 +07:00
mittorn
a0d09c9954
lib_static: fix warnings
2020-02-08 23:39:35 +07:00
mittorn
828def3b25
waifulib: owcc tool
2020-02-08 23:15:40 +07:00
mittorn
97228a4249
lib_static: use functions for exports instead of globals
2020-02-08 23:15:40 +07:00
mittorn
22dc5b7416
Merge branch 'lib' of https://github.com/FWGS/xash3d-fwgs
2020-01-18 07:15:45 +07:00
Alibek Omarov
7dde4c03a7
scripts: enable mobile_hacks HLSDK branch for MotoMAGX
2019-12-03 03:49:47 +03:00
Alibek Omarov
dd3fcb6461
scripts: fix android travis build
2019-12-03 02:58:03 +03:00
Alibek Omarov
2ee7367567
scripts: don't symlink engine and hlsdk sources on Android as -sl
2019-12-02 02:15:25 +03:00
mittorn
6f58ef2394
scripts/xshlib: code clean
2019-11-18 21:08:03 +07:00
mittorn
177f8ed653
platform: introduce lib backends, add static linking, wscript: add optional projects support, add static linking support, scripts: add xshlib for advanced linking options
2019-11-18 03:31:55 +07:00
Alibek Omarov
611ee64cd9
scripts: build_motomagx_engine: use waf install now, as HLSDK now supports library naming scheme
2019-11-11 04:14:18 +03:00
Alibek Omarov
f09682131f
travis: fix magx deploy
2019-11-07 08:41:10 +03:00
Alibek Omarov
32ddc2a47f
waifulib: xcompile: we need to disable builtins even on armeabi with host compiler and NDK r10e
2019-11-07 07:30:41 +03:00
Alibek Omarov
5bae732818
scripts: build ref_soft for magx
2019-11-07 05:15:45 +03:00
Alibek Omarov
08b3de08e7
wscript: use SINGLE_BINARY on motomagx
2019-11-07 05:07:28 +03:00
Alibek Omarov
d68823708f
scripts: include run.sh script for magx
2019-11-07 05:01:16 +03:00
Alibek Omarov
94c42160b7
travis: enable CI for motomagx
2019-11-07 02:46:04 +03:00
Alibek Omarov
6bc6f0dd70
scripts: run windows builds verbose
2019-11-05 09:41:58 +03:00
Alibek Omarov
94dc801150
scripts: remove single-binary for xashds, as it already set implicitly.
2019-10-18 07:45:05 +03:00
Alibek Omarov
cf35943f51
scripts: build_freebsd_engine: remove building SDL2, as it will be installed from ports, use /bin/sh as interpreter
2019-10-18 07:13:48 +03:00
Alibek Omarov
cd715178d2
scripts: set executable flags when needed
2019-10-18 07:05:16 +03:00
Alibek Omarov
e0e9942bd5
waifulib: remove modules that now part of waifu distribution
2019-10-18 05:14:01 +03:00
Alibek Omarov
a38f561d7c
ci: use SDL2 zip source archive
2019-10-16 02:18:12 +03:00
Alibek Omarov
83d3c02e53
ci: add Cirrus CI support with FreeBSD
2019-10-16 02:09:47 +03:00
Alibek Omarov
ee363ebb74
waifulib: fix including system includes
2019-10-11 10:04:32 +03:00
Alibek Omarov
2183240221
waifulib: xcompile: fix aarch64 binary installation
2019-10-09 05:52:43 +03:00
Alibek Omarov
9fd7e333df
travis: another blind try to fix r10e unpack
2019-10-09 04:37:38 +03:00
Alibek Omarov
f33de46508
travis: verbose 7z x for r10e ndk
2019-10-09 04:08:34 +03:00
Alibek Omarov
9ea973dad6
waifulib: xcompile: fix C++ with host toolchain
2019-10-09 03:48:51 +03:00
Alibek Omarov
53d2d10932
travis: add Android 64 and Android hardfp experimental builds
2019-10-09 02:34:30 +03:00
Alibek Omarov
02e111c5e1
waifulib: xcompile: fix clang detection
2019-10-05 03:35:11 +03:00
Alibek Omarov
5a8de90918
waifulib: xcompile: light refactoring
2019-10-05 01:16:20 +03:00
Alibek Omarov
2d6b770e7c
waifulib: xcompile: allow building with host Clang and NDK r10e sysroot
2019-10-04 22:21:11 +03:00
Alibek Omarov
b777ba9549
scripts: comment out github releases deployment until github fixes itself
2019-09-29 18:39:33 +03:00
Alibek Omarov
bc39b707d4
Revert github repository deploy removal
2019-09-29 18:38:31 +03:00
mittorn
fd8c1becec
waifulib: gcc-6 support for android
2019-09-28 04:26:19 +07:00
Alibek Omarov
8f47596ad0
waifulib: xcompile: append SONAME to shared libraries, experimental support for host compiling with NDK r10e(don't work), replace exceptions with fatal messages
2019-09-21 03:52:47 +03:00
Alibek Omarov
4f4c63b1dd
waifulib: xcompile: enhance compiling using host clang, refactoring
2019-09-20 18:49:37 +03:00
Alibek Omarov
66323fe9ca
waifulib: xcompile: preserve order of MACROS_TO_DESTOS, add -stdlib=libstdc++ to use system provided C++ standard library
2019-09-20 16:30:17 +03:00
Alibek Omarov
16e60bbb5f
waifulib: xcompile: use llvm-strip on host
2019-09-19 18:18:42 +03:00
Alibek Omarov
0389d2495f
waifulib: strip_on_install: add changed bytes counter
2019-09-19 18:18:25 +03:00
Alibek Omarov
cd0f7af38a
waifulib: xcompile: get rid of DEST_OS2
2019-09-19 17:09:18 +03:00
Alibek Omarov
ac1bf4a9f8
waifulib: strip_on_install: fix typo
2019-09-12 17:00:08 +03:00
Alibek Omarov
af0046f401
waifulib: strip_on_install: don't strip on PE and unknown binaries [ci skip]
2019-09-11 20:37:47 +03:00
Alibek Omarov
43575b485d
wscript: add an option to not strip binaries
2019-09-11 20:26:34 +03:00
Alibek Omarov
67c6cfce71
waf: strip installed binaries to reduce size
2019-09-11 18:47:44 +03:00
Alibek Omarov
d1ac48b2a1
waifulib: allow compiling using host clang and NDK sysroots, thus enabling building engine from any environment that has clang(termux as example)
2019-09-10 11:24:11 +06:00
Alibek Omarov
143310bdb7
travis: android: make it more quiet
2019-07-29 08:31:38 +03:00
Alibek Omarov
dc8b8ccab3
travis: android: accept all licenses
2019-07-29 08:27:11 +03:00
Alibek Omarov
e3c095a3fa
travis: specify android version
2019-07-29 08:20:05 +03:00
Alibek Omarov
61f49938e5
travis: build for android, not publish until touch controls are not done
2019-07-29 08:10:04 +03:00
Alibek Omarov
d697421d81
scripts: waifulib: add ndk r20 support
2019-07-29 06:54:05 +03:00
Alibek Omarov
53eb569216
scripts: fix linux build again
2019-07-27 15:33:03 +03:00
Alibek Omarov
7c8105247c
scripts: allow building dedicated, rename appimage to lower-case, fix warnings found by shellcheck
2019-07-27 14:49:01 +03:00
Alibek Omarov
e3e161f281
scripts: explicitly name appimage
2019-07-27 13:49:37 +03:00
Alibek Omarov
a5593963c5
scripts: fix amd64 build
2019-07-26 17:25:46 +03:00
Alibek Omarov
1636d36dc2
travis: try to fix linux builds #2
2019-07-25 04:56:59 +03:00
Alibek Omarov
9bb2870e38
travis: try to fix travis
2019-07-21 12:40:47 +03:00
Alibek Omarov
827105405f
travis: enable building and publishing for AMD64. Use at your own risk!
2019-07-20 05:07:22 +03:00
Alibek Omarov
baefab7e3d
travis: remove repository deployment
2019-07-09 15:43:30 +03:00
Alibek Omarov
8b94443ba2
scripts: travis: make PRs succeed, add a note about moving to GitHub Releases
2019-07-08 19:10:49 +03:00
Alibek Omarov
0366035237
travis: add github releases uploader ( #47 )
2019-07-01 00:40:52 +03:00
Alibek Omarov
b1406e8ecd
waf: fix multiprocess compilation with msvc
2019-06-26 16:41:58 +03:00
Alibek Omarov
7484c51490
appimage: fix packaging
2019-06-17 18:29:31 +03:00
Alibek Omarov
96c4044a6c
appimage: use APPDIR enviroment variable to determine application directory
2019-06-17 15:45:28 +03:00
Alibek Omarov
014a09e222
appimage: fix AppRun shell-script POSIX compatibility
2019-06-12 22:14:12 +03:00
mittorn
497ae6d269
Remove optimizations on mingw until game exports is marked
2019-06-08 20:36:29 +07:00
Alibek Omarov
a8cc5b7cef
waf: update to 2.0.17, rename module dir to waifulib, remove some modules, as they moved to waf binary itself(see waifu project)
2019-06-06 03:26:45 +03:00
Andrey Akhmichin
37181e410f
waflib: fix wrong identation.
2019-06-01 18:59:24 +03:00
Alibek Omarov
4a1f441151
waflib: xcompile: Android NDK r19c support
2019-05-28 04:13:19 +03:00
Alibek Omarov
82697ca2a9
waflib: force_32bit: fix wrong DEST_SIZEOF_VOID_P when 64-bit build is allowed
2019-05-28 03:44:46 +03:00
Alibek Omarov
9145589414
waflib: xcompile: fix hardfp linking
2019-05-28 00:29:26 +03:00
Alibek Omarov
67ce4cfbef
travis: windows: die if waf has failed
2019-05-23 22:13:00 +03:00
Alibek Omarov
dec1b8dfb4
waflib: xcompile: even if hardfloat ABI is selected, force architecture name as armeabi-v7a, as armeabi-v7a-hard is completely virtual. Move options defines to main wscript
2019-05-06 04:11:12 +03:00
Alibek Omarov
c9b5332d16
waflib: subproject: preserve IGNORED_SUBDIRS between contexts, fix broken logic
2019-05-05 00:22:03 +03:00
Alibek Omarov
3fef353291
android: initial port
2019-05-02 18:07:03 +03:00
Alibek Omarov
87f380b90c
waflib: xcompile: define both __ANDROID__ and ANDROID for compatibility
2019-05-01 19:03:23 +03:00
Alibek Omarov
3ebb4d0ea3
waflib: xcompile: check arch, configure 'M' uselib to m_hard on hardfp, remove linker select
2019-05-01 01:58:27 +03:00
Alibek Omarov
d4b4a4a864
waflib: xcompile: add support for ANDROID_NDK environment variable, as well as ANDROID_NDK_HOME. Fix help message.
2019-04-27 13:01:05 +03:00
mittorn
d5911b33b1
msvc8 support
2019-04-12 14:33:57 +07:00
mittorn
f1638b09c5
waf: implement 'reconfigure' module
2019-04-12 02:45:23 +07:00
mittorn
54d54b1457
waf: fix python3
2019-04-12 00:19:12 +07:00
Alibek Omarov
b2038e76d3
waflib: subproject: carefully restore previous enviroment in configuration context
2019-04-11 01:38:00 +03:00
Alibek Omarov
eb650b71ad
waflib: subproject: restore environment in build context
2019-04-11 01:32:19 +03:00
Alibek Omarov
459f4a9788
scripts: waflib: introduce new waf plugin -- subproject, which makes easier use of standalone envs for each subdirectory
2019-04-11 00:15:48 +03:00
Alibek Omarov
d17fdea884
waflib: remove get_subproject_name function
2019-04-11 00:13:59 +03:00