Skip to content

Conversation

@zuyu
Copy link
Member

@zuyu zuyu commented Jan 10, 2025

Build Core Libraries w/o Arrow, as there is another section about building Iceberg Arrow Library explicitly.

# under the License.

build/
install/
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why this? Is this generated by some IDE?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No, since we specify CMAKE_INSTALL_PREFIX in cmake, I think someone might specify CMAKE_INSTALL_PREFIX=install in the repo directory as well.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

No, since we specify CMAKE_INSTALL_PREFIX in cmake, I think someone might specify CMAKE_INSTALL_PREFIX=install in the repo directory as well.

I doubt anyone would do this, if you really need to install in src tree, you can specify CMAKE_INSTALL_PREFIX=/build/install.

```bash
cd iceberg-cpp
cmake -S . -B build -DCMAKE_INSTALL_PREFIX=/path/to/install -DICEBERG_BUILD_STATIC=ON -DICEBERG_BUILD_SHARED=ON
cmake -S . -B build -DCMAKE_INSTALL_PREFIX=/path/to/install -DICEBERG_BUILD_STATIC=ON -DICEBERG_BUILD_SHARED=ON -DICEBERG_BUILD_TESTS=OFF -DICEBERG_ARROW=OFF
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Maybe these options should be documented somewhere but not specified in the same example command?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Agreed. An official site for iceberg-cpp is more suitable for these documentations.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should we open an issue to choose a documentation/site generator?

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It would be good if someone with expertise could lead this :)

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

#26

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This PR is to update cmake to build Core Libraries, and I think we don't need to build Arrow for the core libraries, right?

@zuyu zuyu closed this Jan 26, 2025
@zuyu zuyu deleted the readme-cmake-options branch January 26, 2025 18:36
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants