Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow building both 32-bit and 64-bit JNI libraries #36

Merged
merged 6 commits into from
Jan 12, 2017

Conversation

kruton
Copy link
Contributor

@kruton kruton commented Jan 12, 2017

Since we will be distributing this as an uberjar, we need to be able to
build both 32-bit and 64-bit versions of the libraries.

Update the documentation to match.

Change-Id: Ie0a862ef7c6155f11fde1403841aee54d2634656

Since we will be distributing this as an uberjar, we need to be able to
build both 32-bit and 64-bit versions of the libraries.

Update the documentation to match.

Change-Id: Ie0a862ef7c6155f11fde1403841aee54d2634656
Change-Id: I969abc1f5fbfb39ff41b6343a297f40db432b121
Change-Id: Ieba72e5bde58b3c41c1dd2c7ffd4d51afd9d921f
Change-Id: I9845dffc990f9a7dd25a84f1ba2a8c8c13039bdf
@@ -35,7 +35,7 @@ before_script:
- popd
# Build BoringSSL for 32-bit
- mkdir $BORINGSSL_HOME/build32 && pushd $BORINGSSL_HOME/build32
- cmake -DCMAKE_TOOLCHAIN_FILE=../util/32-bit-toolchain.cmake -DCMAKE_POSITION_INDEPENDENT_CODE=TRUE -DCMAKE_BUILD_TYPE=Release -DCMAKE_ASM_FLAGS=-Wa,--noexecstack -GNinja ..
- cmake -DCMAKE_TOOLCHAIN_FILE=../util/32-bit-toolchain.cmake -DCMAKE_ASM_FLAGS="-m32 -msse2" -DCMAKE_POSITION_INDEPENDENT_CODE=TRUE -DCMAKE_BUILD_TYPE=Release -DCMAKE_ASM_FLAGS=-Wa,--noexecstack -GNinja ..
Copy link
Contributor

Choose a reason for hiding this comment

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

Could it be a cmake version issue? Maybe need to upgrade?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Accidentally defined CMAKE_ASM_FLAGS twice.

Change-Id: I366b73daa4cb3c077339335472602186401eb79b
Change-Id: I239866370d46962267fa4f1435aa11d56fdbdd04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants