Skip to content

Test cmake imprv #2322

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

Open
wants to merge 4 commits into
base: main
Choose a base branch
from
Open

Test cmake imprv #2322

wants to merge 4 commits into from

Conversation

ZuseZ4
Copy link
Collaborator

@ZuseZ4 ZuseZ4 commented May 21, 2025

I remove the branching to see if we can handle static and dynamic llvm builds together. If it passes CI, I'll remove the custom code from the Rust fork.

@ZuseZ4
Copy link
Collaborator Author

ZuseZ4 commented May 21, 2025

@wsmoses


[100%] Linking CXX shared library libEnzyme-15.dylib
Undefined symbols for architecture x86_64:
  "_compress2", referenced from:
      llvm::compression::zlib::compress(llvm::ArrayRef<unsigned char>, llvm::SmallVectorImpl<unsigned char>&, int) in libLLVMSupport.a[38](Compression.cpp.o)
  "_compressBound", referenced from:
      llvm::compression::zlib::compress(llvm::ArrayRef<unsigned char>, llvm::SmallVectorImpl<unsigned char>&, int) in libLLVMSupport.a[38](Compression.cpp.o)
  "_crc32", referenced from:
      llvm::crc32(unsigned int, llvm::ArrayRef<unsigned char>) in libLLVMSupport.a[39](CRC.cpp.o)
      llvm::crc32(llvm::ArrayRef<unsigned char>) in libLLVMSupport.a[39](CRC.cpp.o)
      llvm::JamCRC::update(llvm::ArrayRef<unsigned char>) in libLLVMSupport.a[39](CRC.cpp.o)
  "_uncompress", referenced from:
      llvm::compression::zlib::uncompress(llvm::ArrayRef<unsigned char>, unsigned char*, unsigned long&) in libLLVMSupport.a[38](Compression.cpp.o)
      llvm::compression::zlib::uncompress(llvm::ArrayRef<unsigned char>, llvm::SmallVectorImpl<unsigned char>&, unsigned long) in libLLVMSupport.a[38](Compression.cpp.o)
ld: symbol(s) not found for architecture x86_64

@wsmoses
Copy link
Member

wsmoses commented May 21, 2025

this has a much larger code change than just the cmake, can you make this just the cmake?

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