Skip to content

Commit

Permalink
BUILDBOT: Supply legacy library files for toolchains to make them work.
Browse files Browse the repository at this point in the history
This is a rather ugly workaround for toolchains built with older Debian
versions. Since bootstrapping some of these toolchains is either undocumented
or not trivial (i.e. newer PSP toolchains fail to produce working binaries) we
work around this by supplying old library versions manually.
  • Loading branch information
lordhoto committed Feb 14, 2016
1 parent e0f3f99 commit 2e7af08
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions config/master.cfg
Expand Up @@ -674,6 +674,10 @@ scumm_env_psp["CXX"] = "ccache psp-g++"
scumm_env_psp["CXXFLAGS"] = "-isystem %s/include" % scumm_root_psp
scumm_env_psp["LDFLAGS"] = "-L%s/lib" % scumm_root_psp
scumm_env_psp["PSPDEV"] = scumm_root_psp
# HACK: The toolchain was built using libraries not available in recent Debian
# releases. We keep a copy of the old libraries around and use LD_LIBRARY_PATH
# to have ld.so find them.
scumm_env_psp["LD_LIBRARY_PATH"] = "/opt/toolchains/legacy-shared-objects"

p_master = {
"configureargs": [
Expand Down Expand Up @@ -839,6 +843,10 @@ scumm_env_wince["PATH"] = "%s/bin:%s" % (scumm_root_wince, DEFAULT_PATH)
scumm_env_wince["CXX"] = "ccache arm-mingw32ce-g++"
scumm_env_wince["CXXFLAGS"] = "-isystem %s/arm-mingw32ce/include -I%s/libraries/include -I%s/libraries/include/SDL" % (scumm_root_wince, scumm_root_wince, scumm_root_wince)
scumm_env_wince["LDFLAGS"] = "-L%s/arm-mingw32ce/lib -L%s/libraries/lib" % (scumm_root_wince, scumm_root_wince)
# HACK: The toolchain was built using libraries not available in recent Debian
# releases. We keep a copy of the old libraries around and use LD_LIBRARY_PATH
# to have ld.so find them.
scumm_env_wince["LD_LIBRARY_PATH"] = "/opt/toolchains/legacy-shared-objects"

p = {
"configureargs": [
Expand Down Expand Up @@ -933,6 +941,10 @@ scumm_env_n64 = copy.deepcopy(scumm_env)
scumm_env_n64["PATH"] = "%s/bin:%s" % (scumm_root_n64, DEFAULT_PATH)
scumm_env_n64["CXX"] = "ccache mips64-g++"
scumm_env_n64["N64SDK"] = "/opt/toolchains/mips64-n64"
# HACK: The toolchain was built using libraries not available in recent Debian
# releases. We keep a copy of the old libraries around and use LD_LIBRARY_PATH
# to have ld.so find them.
scumm_env_n64["LD_LIBRARY_PATH"] = "/opt/toolchains/legacy-shared-objects"

p = {
"configureargs": [
Expand All @@ -955,6 +967,10 @@ scumm_root_dingux = "/opt/toolchains/dingux-mipsel"
scumm_env_dingux = copy.deepcopy(scumm_env)
scumm_env_dingux["PATH"] = "%s/usr/bin:%s" % (scumm_root_dingux, DEFAULT_PATH)
scumm_env_dingux["CXX"] = "ccache mipsel-linux-g++"
# HACK: The toolchain was built using libraries not available in recent Debian
# releases. We keep a copy of the old libraries around and use LD_LIBRARY_PATH
# to have ld.so find them.
scumm_env_dingux["LD_LIBRARY_PATH"] = "/opt/toolchains/legacy-shared-objects"

p = {
"configureargs": [
Expand All @@ -980,6 +996,10 @@ scumm_root_openpandora = "/opt/toolchains/arm-angstrom-openpandora"
scumm_env_openpandora = copy.deepcopy(scumm_env)
scumm_env_openpandora["PATH"] = "%s/bin:%s" % (scumm_root_openpandora, DEFAULT_PATH)
scumm_env_openpandora["CXX"] = "ccache arm-angstrom-linux-gnueabi-g++"
# HACK: The toolchain was built using libraries not available in recent Debian
# releases. We keep a copy of the old libraries around and use LD_LIBRARY_PATH
# to have ld.so find them.
scumm_env_openpandora["LD_LIBRARY_PATH"] = "/opt/toolchains/legacy-shared-objects"

p = {
"configureargs": [
Expand Down

0 comments on commit 2e7af08

Please sign in to comment.