Closed xobs closed 1 year ago
cc @proppy
Note that there is a separate entry under run
for spdlog. Before that line was added, the package built with spdlog 1.9.2 but installed with 1.11.0, which is incompatible.
The relevant issue on spdlog: https://github.com/The-OpenROAD-Project/OpenROAD/issues/2220
@xobs do you want to add a job for -osx
similar to https://github.com/hdl/conda-eda/blob/master/.github/workflows/Build.yml#L371-L379 ?
Sure. I'm guessing these runners don't actually have the ability to execute software, which is why things with tests have --no-test
? Should I also skip tests on openroad?
Sure. I'm guessing these runners don't actually have the ability to execute software, which is why things with tests have --no-test? Should I also skip tests on openroad?
I think they do, but they would build the x64 version (not arm64).
Alright, I think that adds a Build
step that works.
Some build error on macosx x64:
2023-02-17T14:06:23.9687350Z /Users/runner/work/conda-eda/conda-eda/workdir/conda-env/conda-bld/openroad_1676639035640/work/src/drt/src/dr/FlexDR_graphics.cpp:69:20: error: 'any_cast<fr::GridGraphDescriptor::Data>' is unavailable: introduced in macOS 10.13 - see https://conda-forge.org/docs/maintainer/knowledge_base.html#newer-c-features-with-old-sdk
2023-02-17T14:06:23.9789260Z auto data = std::any_cast<Data>(object);
2023-02-17T14:06:23.9794460Z ^
2023-02-17T14:06:23.9896180Z /Users/runner/work/conda-eda/conda-eda/workdir/conda-env/conda-bld/openroad_1676639035640/_build_env/bin/../include/c++/v1/any:611:12: note: 'any_cast<fr::GridGraphDescriptor::Data>' has been explicitly marked unavailable here
https://conda-forge.org/docs/maintainer/knowledge_base.html#newer-c-features-with-old-sdk seems to imply that this is safe to disable with CXXFLAGS="${CXXFLAGS} -D_LIBCPP_DISABLE_AVAILABILITY"
but I wonder if it also apply to non-conda forge c++ toolchain (I guess yes, since it mentions that url in the error message).
for the record github runner environment include the following MacOSX SDKs: https://github.com/actions/runner-images/blob/main/images/macos/macos-12-Readme.md#installed-sdks
@proppy I believe I added D_LIBCPP_DISABLE_AVAILABILITY
to the build. Would you mind trying the build again?
Looks like openroad-osx built this time
This simple patch gets openroad building on arm64: