Skip to content

Conversation

@certik
Copy link
Member

@certik certik commented Dec 17, 2015

Few fixes to get things working for El Capitan.

The problem is that Doxygen defines LIBICONV_PLUG on OS X, which causes the
`iconv.h` header file to not prefix the functions with `lib` and then linker
cannot find it.
@certik
Copy link
Member Author

certik commented Dec 22, 2015

@ahmadia, @johannesring would you mind reviewing this?

@johannesring
Copy link
Contributor

I have used a similar approach for the FEniCS installation script. That is, leaving MACOSX_DEPLOYMENT_TARGET untouched and setting CMAKE_OSX_SYSROOT to /. I think the latter is needed at least on OS X 10.10, because the latest Xcode only comes with

@johannesring
Copy link
Contributor

... because the latest Xcode only comes with 10.11 SDK. I don't remember exactly now unfortunately.

@certik
Copy link
Member Author

certik commented Jan 4, 2016

Thanks. It works for me, so I am going to merge this.

certik added a commit that referenced this pull request Jan 4, 2016
@certik certik merged commit 9e44698 into hashdist:master Jan 4, 2016
@certik certik deleted the osx branch January 4, 2016 19:47
Copy link
Contributor

Choose a reason for hiding this comment

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

@certik - I think this change also requires a change in cmake_package.yaml because setting empty_osx_deployment_target: true has currently no effect. I think what is missing is this:

diff --git a/base/cmake_package.yaml b/base/cmake_package.yaml
index 3cd08de..7464694 100644
--- a/base/cmake_package.yaml
+++ b/base/cmake_package.yaml
@@ -15,6 +15,7 @@ build_stages:
   - name: configure
     after: setup_builddir
     debug: {{debug}}
+    empty_osx_deployment_target: {{empty_osx_deployment_target}}

   - name: make
     after: configure

@ahmadia
Copy link
Contributor

ahmadia commented Feb 1, 2016

Sorry I missed this. It looks good.

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.

3 participants