LLVM Foundation Granted 501©(3) Nonprofit Status

LLVM基金会获得501©(3)非营利地位
LLVM基金会正式被美国税务局批准为公共慈善机构,享有免税资格。捐赠者向基金会捐款可享受税收减免,追溯至2014年5月5日成立日期。基金会致力于提供教育工具,资助基础设施和支持社区活动。

LLVM Foundation Granted 501©(3) Nonprofit Status

The LLVM Foundation is proud to announce it has been officially approved as a public charity with tax-exempt status under Section 501©(3) of the United States Internal Revenue Code. Contributions donated to the LLVM Foundation are fully tax deductible, retroactive to the organization establishment date of May 5, 2014.

The LLVM Foundation’s primary mission is to provide accessible and informative educational tools for the LLVM Project and compiler technology to the general public. These educational tools include events such as the annual LLVM Developers’ meeting. The LLVM Foundation also gives grants or scholarships to other nonprofit organizations and individuals (such as student travel to LLVM Foundation events). Lastly, the LLVM Foundation funds the infrastructure necessary to support the LLVM Project.

We hope to begin accepting donations online before the end of the year. If you are interested in contributing, please contact your employer: they may be willing to match contributions to a 501©(3) charity.

The IRS letter granting the LLVM Foundation 501©(3) tax-exempt status is available upon request until we can get it posted online. Please contact Tanya Lattner (tanyalattner@llvm.org), President of the LLVM Foundation.

Posted by Tanya at 8:16 AM

### 安装 LLVM 3 的方法 在 Ubuntu 20.04 上安装特定版本的 LLVM(如 LLVM 3),可以通过官方脚本 `llvm.sh` 或手动配置源的方式实现。然而需要注意的是,LLVM 3 是一个非常旧的版本,可能不再被官方支持或维护。如果确实需要该版本,可以尝试以下方式: #### 方法一:通过 `llvm.sh` 脚本安装 1. 下载并运行 `llvm.sh` 脚本文件来安装指定版本的 LLVM。 ```bash wget https://apt.llvm.org/llvm.sh chmod +x llvm.sh sudo ./llvm.sh 3 all ``` 这里的参数 `3` 表示要安装的具体版本号,而 `all` 参数表示同时安装所有相关的包。 2. 清理不必要的依赖项以释放空间: ```bash sudo apt autoremove ``` 此方法适用于较新的 LLVM 版本,但对于像 LLVM 3 这样的老旧版本,可能会遇到兼容性问题[^2]。 --- #### 方法二:手动添加 PPA 并安装 由于 LLVM 3 已经过时,官方仓库可能已移除对该版本的支持。在这种情况下,可以选择手动添加第三方 PPA 来获取旧版软件包。 1. 添加适合的 PPA 源(假设存在针对 LLVM 3 的存档): ```bash sudo add-apt-repository ppa:ubuntu-toolchain-r/test sudo apt update ``` 2. 安装所需的 LLVM 组件: ```bash sudo apt install llvm-3 clang-3 lldb-3 llvmlibs-3-dev ``` 请注意,某些 PPAs 可能已经停止更新,因此需确认目标库是否存在可用的 LLVM 3 包[^5]。 --- #### 方法三:从源码编译安装 当预构建的二进制包不可用时,可以从源码自行编译所需版本的 LLVM。 1. 克隆 LLVM 源代码存储库中的稳定分支(对于 LLVM 3,应选择对应的标签或提交记录): ```bash git clone --branch release_30 http://llvm.org/git/llvm.git cd llvm mkdir build && cd build cmake .. -G "Unix Makefiles" make -j$(nproc) sudo make install ``` 2. 如果虚拟机环境下的内存不足,则需要扩展交换分区以避免编译失败: ```bash sudo fallocate -l 4G /swapfile sudo chmod 600 /swapfile sudo mkswap /swapfile sudo swapon /swapfile ``` 这种方法虽然复杂,但能够完全控制所安装的功能模块及其优化选项[^1]。 --- ### 注意事项 - **版本匹配**:确保使用的 Clang 和 LLDB 等工具链组件与 LLVM 主体保持一致。 - **依赖管理**:部分功能可能需要额外安装开发库,例如 Python 支持或其他插件接口。 - **性能调优**:建议调整 CMake 配置参数以适应实际需求,比如启用调试模式 (`-DCMAKE_BUILD_TYPE=Debug`) 或仅构建核心子集。 ---
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值