Skip to content

Commit

Permalink
Update for GNAT FSF 14.1
Browse files Browse the repository at this point in the history
  • Loading branch information
Fabien-Chouteau committed May 22, 2024
1 parent 57ff878 commit af62146
Show file tree
Hide file tree
Showing 6 changed files with 22 additions and 10 deletions.
2 changes: 1 addition & 1 deletion specs/binutils.anod
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ from e3.anod.loader import spec
class Binutils(spec("common")):
@property
def version(self):
return "2.40"
return "2.42"

@property
def tarball(self):
Expand Down
9 changes: 9 additions & 0 deletions specs/common.anod
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,15 @@ class Common(Anod):
)
env_modified = True

if os.path.isdir(os.path.join(prefix, "include")):
self.env.add_search_path(
"C_INCLUDE_PATH", os.path.join(prefix, "include")
)
self.env.add_search_path(
"CPLUS_INCLUDE_PATH", os.path.join(prefix, "include")
)
env_modified = True

if not env_modified:
if os.path.exists(prefix) and os.path.isdir(prefix) and os.listdir(prefix):
raise AnodError(
Expand Down
5 changes: 3 additions & 2 deletions specs/embedded-runtimes.anod
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,11 @@ import sys
class EmbeddedRuntimes(spec("common")):
@property
def version(self):
return "13.1"
return "14.1"

@property
def commit_id(self):
return "1cdb8f472d4af20a14e42230fb28837777a42fa6"
return "0d5e0999c7bf5e8f29aeb69b9cb3d0b687c6d373"

@property
def tarball(self):
Expand Down Expand Up @@ -70,6 +70,7 @@ class EmbeddedRuntimes(spec("common")):
"microbit",
"feather_stm32f405",
"nrf52832",
"nrf52833",
"nrf52840",
"nucleo_f401re",
"openmv2",
Expand Down
2 changes: 1 addition & 1 deletion specs/gcc.anod
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ patch_name = "ld"
class GCC(spec("gh-artifact")):
@property
def version(self):
return "13.2.0"
return "14.1.0"

@property
def tarball(self):
Expand Down
12 changes: 7 additions & 5 deletions specs/gdb.anod
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ patch_name = "gdb-0002-Fix-using-gnu-print.patch"
class GDB(spec("common")):
@property
def version(self):
return "13.2"
return "14.2"

@property
def tarball(self):
Expand Down Expand Up @@ -74,6 +74,7 @@ class GDB(spec("common")):
"--disable-ld",
"--disable-gprof",
"--disable-libctf",
"--enable-gdb",
"--with-zlib",
"--without-libusb",
"--without-bugurl",
Expand All @@ -85,10 +86,11 @@ class GDB(spec("common")):
"--disable-source-highlight", # Incomaptible with static std libs
"--with-curses",
"--disable-sim",
"--with-mpfr",
"--with-libmpfr-prefix=%s" % unixpath(self.deps["mpfr"]["INSTALL_DIR"]),
"--with-libgmp-prefix=%s" % unixpath(self.deps["gmp"]["INSTALL_DIR"]),
"--with-mpc-prefix=%s" % unixpath(self.deps["mpc"]["INSTALL_DIR"]),
"--with-mpfr=%s" % unixpath(self.deps["mpfr"]["INSTALL_DIR"]),
"--with-libmpfr=%s" % unixpath(self.deps["mpfr"]["INSTALL_DIR"]),
"--with-gmp=%s" % unixpath(self.deps["gmp"]["INSTALL_DIR"]),
"--with-libgmp=%s" % unixpath(self.deps["gmp"]["INSTALL_DIR"]),
"--with-mpc=%s" % unixpath(self.deps["mpc"]["INSTALL_DIR"]),
)

if self.env.host.os.name == "windows":
Expand Down
2 changes: 1 addition & 1 deletion specs/newlib.anod
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ from e3.anod.loader import spec
class Newlib(spec("common")):
@property
def version(self):
return "4.3.0.20230120"
return "4.4.0.20231231"

@property
def tarball(self):
Expand Down

0 comments on commit af62146

Please sign in to comment.