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

[NOMAD] Use Clang for OSX and FreeBSD platforms #3072

Merged
merged 3 commits into from
May 26, 2021

Conversation

amontoison
Copy link
Contributor

@amontoison amontoison commented May 25, 2021

NOMAD_jll is not working with FreeBSD (bbopt/NOMAD.jl#40)

if [[ "${target}" == *-apple-* ]] || [[ "${target}" == *-freebsd* ]]; then
CC=gcc
CXX=g++
fi
mkdir build
cd build
cmake -DTEST_OPENMP=OFF -DBUILD_INTERFACES=ON -DBUILD_LIBMODE_EXAMPLES=OFF -DCMAKE_INSTALL_PREFIX=$prefix -DCMAKE_TOOLCHAIN_FILE=${CMAKE_TARGET_TOOLCHAIN%.*}_gcc.cmake -DCMAKE_BUILD_TYPE=Release ..
Copy link
Member

Choose a reason for hiding this comment

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

You are not using Clang here in CMake

@giordano giordano merged commit fadd986 into JuliaPackaging:master May 26, 2021
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.

2 participants