History log of /openbmc/libpldm/meson.build (Results 1 – 25 of 73)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: v0.11.0, v0.10.0, v0.9.1, v0.9.0
# d05ac25f 04-Sep-2024 Andrew Jeffery <andrew@codeconstruct.com.au>

meson: Exploit file.full_path() for config.h

We hit some hazards previously with include-ordering when libpldm
was built as a meson subproject. Specifying the full path avoids the
problem.

Fix the

meson: Exploit file.full_path() for config.h

We hit some hazards previously with include-ordering when libpldm
was built as a meson subproject. Specifying the full path avoids the
problem.

Fix the current implementation, which causes the following output:

```
WARNING: Broken features used:
* 1.3.0: {'str.format: Value other than strings, integers, bools, options, dictionaries and lists thereof.'}
```

Using file.full_path() requires we bump the minimum meson version to
1.4.0.

Change-Id: I4326ef40a811c0d9df229683e7d79833424e5c6d
Signed-off-by: Andrew Jeffery <andrew@codeconstruct.com.au>

show more ...


# fdc4dcc1 04-Sep-2024 Andrew Jeffery <andrew@codeconstruct.com.au>

meson: Address missing native directive in add_languages()

Specify `native: false` as we're testing a library against which the
tests must link.

Resolves the following:

```
meson.build:17: WARNING

meson: Address missing native directive in add_languages()

Specify `native: false` as we're testing a library against which the
tests must link.

Resolves the following:

```
meson.build:17: WARNING: add_languages is missing native:, assuming languages are wanted for both host and build.
```

Change-Id: Ie3173489c8738a76077e5f278bb0eef0d3697de1
Signed-off-by: Andrew Jeffery <andrew@codeconstruct.com.au>

show more ...


# 0612d988 11-Dec-2024 Andrew Jeffery <andrew@codeconstruct.com.au>

libpldm: Release v0.11.0

The tag updates the ABI dump to be generated with gcc-14.

Change-Id: Ia546199b003b338a6291a8778a233209115864ae
Signed-off-by: Andrew Jeffery <andrew@codeconstruct.com.au>


# 65c64099 28-Nov-2024 Andrew Jeffery <andrew@codeconstruct.com.au>

meson: Convert options from feature to boolean

Features are things we can automatically enable or disable based on the
presence or absence of supporting dependencies. Neither ABI compliance
testing

meson: Convert options from feature to boolean

Features are things we can automatically enable or disable based on the
presence or absence of supporting dependencies. Neither ABI compliance
testing (despite the fact that we can detect the tool) nor tests fit
this category: They are developer tools and their use should be judged
ahead of the invocation of meson.

Change-Id: I9725cc0444d92c8443cfb28ecd878f77792f38ce
Signed-off-by: Andrew Jeffery <andrew@codeconstruct.com.au>

show more ...


# a93ec075 28-Nov-2024 Andrew Jeffery <andrew@codeconstruct.com.au>

meson: Switch default_options to dict

As of meson 1.2.0 we can pass a dict rather than encoding settings in
a string. We already require meson 1.3.0, so take the opportunity to
improve the ergonomic

meson: Switch default_options to dict

As of meson 1.2.0 we can pass a dict rather than encoding settings in
a string. We already require meson 1.3.0, so take the opportunity to
improve the ergonomics.

Change-Id: I8ce7b5b02ddcb3150c6ff25c0ff99e8d594f3a74
Signed-off-by: Andrew Jeffery <andrew@codeconstruct.com.au>

show more ...


# 5d8e30cc 31-Oct-2024 Andrew Jeffery <andrew@codeconstruct.com.au>

libpldm: Release v0.10.0

There are more changes than fit on my monitor in the one-line git log,
so let's do a release.

Change-Id: I74e4fcf9e14162a781a083aaf460b70d72ef6261
Signed-off-by: Andrew Jef

libpldm: Release v0.10.0

There are more changes than fit on my monitor in the one-line git log,
so let's do a release.

Change-Id: I74e4fcf9e14162a781a083aaf460b70d72ef6261
Signed-off-by: Andrew Jeffery <andrew@codeconstruct.com.au>

show more ...


# 36324f6b 24-Sep-2024 Andrew Jeffery <andrew@codeconstruct.com.au>

Apply GCC's tainted_args attribute to library entrypoints

The implementation applies `__attribute__((tainted_args))` by
integrating it into the existing ABI macro annotations.

In the process, quite

Apply GCC's tainted_args attribute to library entrypoints

The implementation applies `__attribute__((tainted_args))` by
integrating it into the existing ABI macro annotations.

In the process, quite a number of APIs were discovered to be unsafe in
ways that were not immediately fixable. Often this is because they lack
arguments that enable the appropriate bounds-checking to be applied.

Redesigning them is work beyond the scope of the immediate
effort. Instead, we also introduce a new annotation,
LIBPLDM_ABI_DEPRECATED_UNSAFE, that simply lacks
`__attribute__((tainted_args))` and therefore doesn't trigger the extra
analysis.

Change-Id: Ib8994eaa3907a5432d040426ad03687cbf4c2136
Signed-off-by: Andrew Jeffery <andrew@codeconstruct.com.au>

show more ...


# 5c49f162 22-Sep-2024 Andrew Jeffery <andrew@codeconstruct.com.au>

meson: Ban variable length arrays

Caller-controlled sizes for variable length arrays are bad for the
reasons outlined in the SEI CERT C Coding Standard[1]

Enable -Wvla to prevent future use.

[1]:

meson: Ban variable length arrays

Caller-controlled sizes for variable length arrays are bad for the
reasons outlined in the SEI CERT C Coding Standard[1]

Enable -Wvla to prevent future use.

[1]: https://wiki.sei.cmu.edu/confluence/display/c/MEM05-C.+Avoid+large+stack+allocations

Change-Id: Id587bd1432255cff11b419cb5a7f454fc64e2054
Signed-off-by: Andrew Jeffery <andrew@codeconstruct.com.au>

show more ...


# 4e672656 08-Sep-2024 Andrew Jeffery <andrew@codeconstruct.com.au>

fru: Remove get_fru_record_by_option_check()

Deprecated prior to v0.9.0.

Change-Id: Ifec87c665842d9ae5ba78fa1888ea99c2bbe90f5
Signed-off-by: Andrew Jeffery <andrew@codeconstruct.com.au>


# 453dfff3 07-Sep-2024 Andrew Jeffery <andrew@codeconstruct.com.au>

pdr: Remove pldm_pdr_add_fru_record_set_check()

Deprecated prior to v0.9.0.

Change-Id: I402338aad0f54947f6748b882b3163fc72825199
Signed-off-by: Andrew Jeffery <andrew@codeconstruct.com.au>


# f309c48d 07-Sep-2024 Andrew Jeffery <andrew@codeconstruct.com.au>

pdr: Remove pldm_pdr_add_check()

Deprecated prior to v0.9.0.

Change-Id: Ib53d20bfee6365429db56bc2420b2d294d5464b4
Signed-off-by: Andrew Jeffery <andrew@codeconstruct.com.au>


# 73a2f66e 07-Sep-2024 Andrew Jeffery <andrew@codeconstruct.com.au>

pdr: Remove pldm_entity_association_pdr_add_from_node_check()

Deprecated prior to v0.9.0.

Change-Id: Ibe52bb1c7c26314a9c91c40917d378d6bb851447
Signed-off-by: Andrew Jeffery <andrew@codeconstruct.co

pdr: Remove pldm_entity_association_pdr_add_from_node_check()

Deprecated prior to v0.9.0.

Change-Id: Ibe52bb1c7c26314a9c91c40917d378d6bb851447
Signed-off-by: Andrew Jeffery <andrew@codeconstruct.com.au>

show more ...


# 38004f7a 07-Sep-2024 Andrew Jeffery <andrew@codeconstruct.com.au>

pdr: Remove pldm_entity_association_pdr_add_check()

Deprecated prior to v0.9.0.

Change-Id: I7706f27c732efbb3332d26fe4e7f0be1c205c66b
Signed-off-by: Andrew Jeffery <andrew@codeconstruct.com.au>


# c79375df 07-Sep-2024 Andrew Jeffery <andrew@codeconstruct.com.au>

bios_table: Remove pldm_bios_table_string_entry_encode_check()

Deprecated prior to v0.9.0.

Change-Id: I58aab14bf06316dcc40213059cbd05d5e789db96
Signed-off-by: Andrew Jeffery <andrew@codeconstruct.c

bios_table: Remove pldm_bios_table_string_entry_encode_check()

Deprecated prior to v0.9.0.

Change-Id: I58aab14bf06316dcc40213059cbd05d5e789db96
Signed-off-by: Andrew Jeffery <andrew@codeconstruct.com.au>

show more ...


# 1085e232 07-Sep-2024 Andrew Jeffery <andrew@codeconstruct.com.au>

bios_table: Remove pldm_bios_table_string_entry_decode_string_check()

Deprecated prior to v0.9.0.

Change-Id: I133cc54a4e101de2d502685dddcb4e461677e32f
Signed-off-by: Andrew Jeffery <andrew@codecons

bios_table: Remove pldm_bios_table_string_entry_decode_string_check()

Deprecated prior to v0.9.0.

Change-Id: I133cc54a4e101de2d502685dddcb4e461677e32f
Signed-off-by: Andrew Jeffery <andrew@codeconstruct.com.au>

show more ...


# de926829 07-Sep-2024 Andrew Jeffery <andrew@codeconstruct.com.au>

bios_table: Remove pldm_bios_table_attr_value_entry_encode_string_check()

Deprecated prior to v0.9.0.

gitlint-ignore: T1
Change-Id: Ia0f7496102cf9f74eae187e59d91ce6a51175718
Signed-off-by: Andrew J

bios_table: Remove pldm_bios_table_attr_value_entry_encode_string_check()

Deprecated prior to v0.9.0.

gitlint-ignore: T1
Change-Id: Ia0f7496102cf9f74eae187e59d91ce6a51175718
Signed-off-by: Andrew Jeffery <andrew@codeconstruct.com.au>

show more ...


# 5a8b7c54 07-Sep-2024 Andrew Jeffery <andrew@codeconstruct.com.au>

bios_table: Remove pldm_bios_table_attr_value_entry_encode_integer_check()

Deprecated prior to v0.9.0.

gitlint-ignore: T1
Change-Id: I2b8e2c25cb65a63c439ca5dc46fad8fec2be9089
Signed-off-by: Andrew

bios_table: Remove pldm_bios_table_attr_value_entry_encode_integer_check()

Deprecated prior to v0.9.0.

gitlint-ignore: T1
Change-Id: I2b8e2c25cb65a63c439ca5dc46fad8fec2be9089
Signed-off-by: Andrew Jeffery <andrew@codeconstruct.com.au>

show more ...


# 2170655a 07-Sep-2024 Andrew Jeffery <andrew@codeconstruct.com.au>

bios_table: Remove pldm_bios_table_attr_value_entry_encode_enum_check()

Deprecated prior to v0.9.0.

Change-Id: I542061d717a4b64c63eb8c7a92d59e9ae61ca9fe
Signed-off-by: Andrew Jeffery <andrew@codeco

bios_table: Remove pldm_bios_table_attr_value_entry_encode_enum_check()

Deprecated prior to v0.9.0.

Change-Id: I542061d717a4b64c63eb8c7a92d59e9ae61ca9fe
Signed-off-by: Andrew Jeffery <andrew@codeconstruct.com.au>

show more ...


# 5f288563 07-Sep-2024 Andrew Jeffery <andrew@codeconstruct.com.au>

bios_table: Remove pldm_bios_table_attr_entry_string_encode_check()

Deprecated prior to v0.9.0.

Change-Id: I2a576b53afc77333a6b71d7e265b17a56f192507
Signed-off-by: Andrew Jeffery <andrew@codeconstr

bios_table: Remove pldm_bios_table_attr_entry_string_encode_check()

Deprecated prior to v0.9.0.

Change-Id: I2a576b53afc77333a6b71d7e265b17a56f192507
Signed-off-by: Andrew Jeffery <andrew@codeconstruct.com.au>

show more ...


# 4d8634d7 07-Sep-2024 Andrew Jeffery <andrew@codeconstruct.com.au>

bios_table: Remove pldm_bios_table_attr_entry_string_decode_def_string_length_check()

Deprecated prior to v0.9.0.

gitlint-ignore: T1
Change-Id: I5a0960065e27f487112ddc87ace1ff4e4bef4ad6
Signed-off-

bios_table: Remove pldm_bios_table_attr_entry_string_decode_def_string_length_check()

Deprecated prior to v0.9.0.

gitlint-ignore: T1
Change-Id: I5a0960065e27f487112ddc87ace1ff4e4bef4ad6
Signed-off-by: Andrew Jeffery <andrew@codeconstruct.com.au>

show more ...


# f5c63dfd 07-Sep-2024 Andrew Jeffery <andrew@codeconstruct.com.au>

bios_table: Remove pldm_bios_table_attr_entry_integer_encode_check()

Deprecated prior to v0.9.0.

Change-Id: I36ac5239b36fc386e7a782d133dde13b497f6f3f
Signed-off-by: Andrew Jeffery <andrew@codeconst

bios_table: Remove pldm_bios_table_attr_entry_integer_encode_check()

Deprecated prior to v0.9.0.

Change-Id: I36ac5239b36fc386e7a782d133dde13b497f6f3f
Signed-off-by: Andrew Jeffery <andrew@codeconstruct.com.au>

show more ...


# 83a208af 07-Sep-2024 Andrew Jeffery <andrew@codeconstruct.com.au>

bios_table: Remove pldm_bios_table_attr_entry_enum_encode_check()

Deprecated prior to v0.9.0.

Change-Id: I693e37b1805b979d00ef76ca6ce8a26c1b7a3820
Signed-off-by: Andrew Jeffery <andrew@codeconstruc

bios_table: Remove pldm_bios_table_attr_entry_enum_encode_check()

Deprecated prior to v0.9.0.

Change-Id: I693e37b1805b979d00ef76ca6ce8a26c1b7a3820
Signed-off-by: Andrew Jeffery <andrew@codeconstruct.com.au>

show more ...


# 03aa3d6c 07-Sep-2024 Andrew Jeffery <andrew@codeconstruct.com.au>

bios_table: Remove pldm_bios_table_attr_entry_enum_decode_pv_num_check()

Deprecated prior to v0.9.0.

Change-Id: I03c297167ec79cb5cf77423d473c2bc944ff7e30
Signed-off-by: Andrew Jeffery <andrew@codec

bios_table: Remove pldm_bios_table_attr_entry_enum_decode_pv_num_check()

Deprecated prior to v0.9.0.

Change-Id: I03c297167ec79cb5cf77423d473c2bc944ff7e30
Signed-off-by: Andrew Jeffery <andrew@codeconstruct.com.au>

show more ...


# 07fdf2d8 07-Sep-2024 Andrew Jeffery <andrew@codeconstruct.com.au>

bios_table: Remove pldm_bios_table_attr_entry_enum_decode_pv_hdls_check()

Deprecated prior to v0.9.0.

gitlint-ignore: T1
Change-Id: I56f2c06b511ec02642b9d4fc80be49b990665dd2
Signed-off-by: Andrew J

bios_table: Remove pldm_bios_table_attr_entry_enum_decode_pv_hdls_check()

Deprecated prior to v0.9.0.

gitlint-ignore: T1
Change-Id: I56f2c06b511ec02642b9d4fc80be49b990665dd2
Signed-off-by: Andrew Jeffery <andrew@codeconstruct.com.au>

show more ...


# eb9df78b 07-Sep-2024 Andrew Jeffery <andrew@codeconstruct.com.au>

bios_table: Remove pldm_bios_table_attr_entry_enum_decode_def_num_check()

Deprecated prior to v0.9.0.

gitlint-ignore: T1
Change-Id: Ie282b6265393b835640cc7831851b30c09183f49
Signed-off-by: Andrew J

bios_table: Remove pldm_bios_table_attr_entry_enum_decode_def_num_check()

Deprecated prior to v0.9.0.

gitlint-ignore: T1
Change-Id: Ie282b6265393b835640cc7831851b30c09183f49
Signed-off-by: Andrew Jeffery <andrew@codeconstruct.com.au>

show more ...


123