File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -111,11 +111,32 @@ option(BUILD_TESTING
111111option (SKIP_SSL_TESTS
112112 "Skip the SSL tests"
113113 OFF )
114- # The following test requires installing protobuf-compiler python3-protobuf
115- # libprotobuf-devel (or protobuf-devel)
116- option (TEST_PROTOBUFS_PROTOC
117- "Run protobuf tests that require protoc, etc."
114+
115+ # BUILD_PROTOBUFS_PROTOC is only needed if some new feature has been
116+ # added to the protobuf language. The details are given in
117+ # packages/protobufs/README.md and
118+ # packages/protobufs/bootstrap/README.md.
119+
120+ # NOTE: as of 2026-05-04, the BUILD_PROTOBUFS_PROTOC flags is not used;
121+ # it requires some changes to packages/protobufs.
122+
123+ option (BUILD_PROTOBUFS_PROTOC
124+ "Build protobuf with latest protoc"
118125 OFF )
126+ # TEST_PROTOBUFS_PROTOC runs optional tests on packages/protobufs that
127+ # test the plugin for protoc. The test requires installing packages
128+ # protobuf-compiler python3-protobuf libprotobuf-devel (or
129+ # protobuf-devel):
130+ if (BUILD_PROTOBUFS_PROTOC)
131+ option (TEST_PROTOBUFS_PROTOC
132+ "Run protobuf tests that require protoc, etc."
133+ ON )
134+ else ()
135+ option (TEST_PROTOBUFS_PROTOC
136+ "Run protobuf tests that require protoc, etc."
137+ OFF )
138+ endif ()
139+
119140option (BUILD_SWIPL_LD
120141 "Create the swipl-ld utility"
121142 ON )
You can’t perform that action at this time.
0 commit comments