Skip to content

Commit e335845

Browse files
committed
nits: deps and reordering in CMake rules
Signed-off-by: Krishna Pandey <[email protected]>
1 parent 3a5e513 commit e335845

File tree

2 files changed

+18
-13
lines changed

2 files changed

+18
-13
lines changed

libc/src/math/generic/CMakeLists.txt

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -167,6 +167,7 @@ add_entrypoint_object(
167167
libc.src.__support.FPUtil.bfloat16
168168
libc.src.__support.FPUtil.nearest_integer_operations
169169
libc.src.__support.macros.config
170+
libc.src.__support.macros.properties.types
170171
FLAGS
171172
ROUND_OPT
172173
)
@@ -827,6 +828,7 @@ add_entrypoint_object(
827828
libc.src.__support.FPUtil.bfloat16
828829
libc.src.__support.FPUtil.nearest_integer_operations
829830
libc.src.__support.macros.config
831+
libc.src.__support.macros.properties.types
830832
FLAGS
831833
ROUND_OPT
832834
)
@@ -902,6 +904,7 @@ add_entrypoint_object(
902904
libc.src.__support.FPUtil.bfloat16
903905
libc.src.__support.FPUtil.nearest_integer_operations
904906
libc.src.__support.macros.config
907+
libc.src.__support.macros.properties.types
905908
FLAGS
906909
ROUND_OPT
907910
)
@@ -977,6 +980,7 @@ add_entrypoint_object(
977980
libc.src.__support.FPUtil.bfloat16
978981
libc.src.__support.FPUtil.nearest_integer_operations
979982
libc.src.__support.macros.config
983+
libc.src.__support.macros.properties.types
980984
FLAGS
981985
ROUND_OPT
982986
)
@@ -1052,6 +1056,7 @@ add_entrypoint_object(
10521056
libc.src.__support.FPUtil.bfloat16
10531057
libc.src.__support.FPUtil.nearest_integer_operations
10541058
libc.src.__support.macros.config
1059+
libc.src.__support.macros.properties.types
10551060
FLAGS
10561061
ROUND_OPT
10571062
)

libc/test/src/math/smoke/CMakeLists.txt

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -766,6 +766,19 @@ add_fp_unittest(
766766
libc.src.__support.FPUtil.fp_bits
767767
)
768768

769+
add_fp_unittest(
770+
roundbf16_test
771+
SUITE
772+
libc-math-smoke-tests
773+
SRCS
774+
roundbf16_test.cpp
775+
HDRS
776+
RoundTest.h
777+
DEPENDS
778+
libc.src.__support.FPUtil.bfloat16
779+
libc.src.math.roundbf16
780+
)
781+
769782
add_fp_unittest(
770783
roundeven_test
771784
SUITE
@@ -923,19 +936,6 @@ add_fp_unittest(
923936
libc.src.__support.FPUtil.fp_bits
924937
)
925938

926-
add_fp_unittest(
927-
roundbf16_test
928-
SUITE
929-
libc-math-smoke-tests
930-
SRCS
931-
roundbf16_test.cpp
932-
HDRS
933-
RoundTest.h
934-
DEPENDS
935-
libc.src.__support.FPUtil.bfloat16
936-
libc.src.math.roundbf16
937-
)
938-
939939
add_fp_unittest(
940940
llround_test
941941
SUITE

0 commit comments

Comments
 (0)