From 1f3abf1a74a3caf0dd584be8584e48541a059035 Mon Sep 17 00:00:00 2001 From: Relintai Date: Fri, 3 Jan 2020 17:07:54 +0100 Subject: [PATCH] Experimental build scripts for the shared modules style workflow. --- HEADS | 2 +- build_ess.sh | 7 +++++++ build_linux_shared.sh | 10 ++++++++++ editor_shared.sh | 10 ++++++++++ 4 files changed, 28 insertions(+), 1 deletion(-) create mode 100755 build_ess.sh create mode 100755 build_linux_shared.sh create mode 100755 editor_shared.sh diff --git a/HEADS b/HEADS index aeee0c07..58188017 100644 --- a/HEADS +++ b/HEADS @@ -1 +1 @@ -{"engine": "71d372a8ab1ee972326f8bd333f510330b7b7204", "world_generator": "63da1cc4a2084d1c2eb9430e436be22711e964f2", "entity_spell_system": "6aa2df4647a4a221ab7e1c1735c55ef22f7e98f5", "ui_extensions": "8a81cc53100c5a138fbaf927080410025c64c88e", "voxelman": "9d48a0758df7ef8913ef98ed2e37f3b6dba424da", "texture_packer": "fbf5d0d634ab04db049099b814d2d58e2743f5b2", "fastnoise": "41b7ea05a1f7aa2b8ecddaa1fd739e64d6970f7e", "entity-spell-system-addons": "d60e746b158d3ebf9d2ea306af1dd24bcae49be5", "mesh_data_resource": "3fedb4c8534af36d89a1a1a34a6b5ed4d333927a", "ess_data": "3bd637fdd3304b64a18287a49a6b7387acf2f5de", "prop_tool": "df438053ebc900966f8f842fc65f0264f1271d49"} \ No newline at end of file +{"engine": "d711c57d767734887fbf0955a7b9902c54498a0d", "world_generator": "63da1cc4a2084d1c2eb9430e436be22711e964f2", "entity_spell_system": "d008221f8db541924060a7412b891f3e9d69a680", "ui_extensions": "8a81cc53100c5a138fbaf927080410025c64c88e", "voxelman": "a449a410372b4e79328b73dbfa5e7152d47f2a28", "texture_packer": "fbf5d0d634ab04db049099b814d2d58e2743f5b2", "fastnoise": "41b7ea05a1f7aa2b8ecddaa1fd739e64d6970f7e", "entity-spell-system-addons": "d60e746b158d3ebf9d2ea306af1dd24bcae49be5", "mesh_data_resource": "3fedb4c8534af36d89a1a1a34a6b5ed4d333927a", "ess_data": "3bd637fdd3304b64a18287a49a6b7387acf2f5de", "prop_tool": "df438053ebc900966f8f842fc65f0264f1271d49"} \ No newline at end of file diff --git a/build_ess.sh b/build_ess.sh new file mode 100755 index 00000000..db2245c3 --- /dev/null +++ b/build_ess.sh @@ -0,0 +1,7 @@ +export SCONS_CACHE=~/.scons_cache +export SCONS_CACHE_LIMIT=5000 + +cd engine + +scons -j2 platform=x11 target=release_debug custom_modules_shared=yes bin/libess.x11.opt.tools.64.so + diff --git a/build_linux_shared.sh b/build_linux_shared.sh new file mode 100755 index 00000000..92929e7f --- /dev/null +++ b/build_linux_shared.sh @@ -0,0 +1,10 @@ + +export SCONS_CACHE=~/.scons_cache +export SCONS_CACHE_LIMIT=5000 + +cd engine +scons -j2 platform=x11 target=release_debug custom_modules_shared=yes + +# use_llvm=yes + + diff --git a/editor_shared.sh b/editor_shared.sh new file mode 100755 index 00000000..0f184a7f --- /dev/null +++ b/editor_shared.sh @@ -0,0 +1,10 @@ +#!/bin/bash + +cp -u ./engine/bin/godot.x11.opt.tools.64 ./engine/bin/run.godot.x11.opt.tools.64 + + +#export LD_LIBRARY_PATH=./engine/bin +cd ./engine/bin + +export LD_LIBRARY_PATH=. +./run.godot.x11.opt.tools.64 -v