Comments (7)
Thanks, @Whiteseeker for reporting this. We don't build regularly on MacOS, so support for it will be sporadic.
This looks like it's caused by the GNU-specific ar
flag -M
in the combine_static_lib
function (defined in cmake/utils.cmake
). If you can figure out how to achieve the same operation in a portable manner, you can fix this. Alternatively, if you don't care about the libshaderc_combined
target, you can modify line 27 of libshaderc/CMakeLists.txt
to skip this step for both Windows and MacOS.
from shaderc.
Thx for the quick fix !
I just did: if (NOT "${MSVC}" AND NOT APPLE) at line 27
There is definitely a way to merge libraries in a cross platform way like that:
ar -rcT libmerged.a lib1.a lib2.a
But I I'm not super familliar with cmake.
Again thx !
from shaderc.
Glad this worked for you. Would you consider contributing your fix to the repo?
from shaderc.
You mean ... making a pull request for one line change ? I would gladly
ofc, I'll do that.
Thx
Damien
On Tue, 1 Dec 2015 at 16:35 Dejan Mircevski [email protected]
wrote:
Glad this worked for you. Would you consider contributing your fix to the
repo?—
Reply to this email directly or view it on GitHub
#47 (comment).
from shaderc.
Prolly more than one line, as you should also add yourself to CONTRIBUTORS. ;)
from shaderc.
PR submitted! It took some time but at least it's a "real" fix, it also
create the shared lib on mac and pass the test.
Currently it only fail the last test on mac:
14/14 Test #14: glslc_tests ......................***Failed 0.11 sec
Thx !
On Tue, 1 Dec 2015 at 17:50 Dejan Mircevski [email protected]
wrote:
Prolly more than one line, as you should also add yourself to
CONTRIBUTORS. ;)—
Reply to this email directly or view it on GitHub
#47 (comment).
from shaderc.
Closing
from shaderc.
Related Issues (20)
- android-ndk test build should use a higher API level
- Auto specialization constant IDs HOT 2
- MSVC Static/Dynamic Runtime set incorrectly. HOT 1
- re2 dropped support for VS 2017. Need to keep re2 dependency pinned
- 2023.2 Linker Build Error on Ubuntu 20.04 HOT 1
- adapt linux-mingw build for clang with mingw HOT 2
- MSVC 2017 debug build fails to compile SPIRV-Tools test/opt/fold_test.cpp: requires /bigobj flag HOT 1
- document use of Auto bindings for storage buffers. HOT 4
- work around bug in CMake 3.22.1 bug in CMP0128 policy, for compiling SPIRV-Tools tests HOT 2
- shaderc::PreprocessGlsl removes defines from the shader HOT 1
- Shader stage does matter for preprocessing
- Ninja Multi-Config generator fails - Evaluation file to be written multiple times with different content HOT 1
- Including shaderc/CMakeLists.txt as suggested in README not working HOT 4
- Linking error against spirv-tools
- Proper handling of namespace in HLSL
- Is glsl 330 actually supported ?
- Gmock not found HOT 4
- FRP this Android
- No support for source level debug info?
- SPIR_V: Generate nonsemantic shader debug information (with source) HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from shaderc.