9 Star 0 Fork 1

src-openEuler / classic-flang

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
README.en.md 1.88 KB
一键复制 编辑 原始数据 按行查看 历史
luofeng14 提交于 2024-05-06 09:51 . Add usage documents

classic-flang

Description

Classic Flang is a Fortran language front-end designed for integration with LLVM.

Software Architecture

Applicable to the X86 and Aarch64 architectures

Installation

  1. Install via yum and dnf
yum install classic-flang-llvm
yum install classic-flang
  1. Or download the rpm package and install.
rpm -ivh classic-flang-llvm-17.0.6-1.*.aarch64.rpm
rpm -ivh classic-flang-17.0.6-1.*.aarch64.rpm

Instructions

  1. Configuring Environment Variables
# Configure the executable file path of classi-flang
export PATH=/opt/openEuler/classic-flang-17/root/bin:$PATH
# Configure the dynamic library path of classi-flang
export LIBRARY_PATH=/opt/openEuler/classic-flang-17/root/lib64:$LIBRARY_PATH
# Configure the header file path when classi-flang and clang compiles C
export C_INCLUDE_PATH=/opt/openEuler/classic-flang-17/root/include:$C_INCLUDE_PATH
# Configure the header file path when classi-flang and clang compiles C++
export CPLUS_INCLUDE_PATH=/opt/openEuler/classic-flang-17/root/include:$CPLUS_INCLUDE_PATH
# Configure runtime dynamic library Path
export LD_LIBRARY_PATH=/opt/openEuler/classic-flang-17/root/lib64:$LD_LIBRARY_PATH
  1. Compiled with classic-flang
make CC=clang FC=flang F77=flang

or

flang test.f90

Contribution

  1. Fork the repository
  2. Create Feat_xxx branch
  3. Commit your code
  4. Create Pull Request

Gitee Feature

  1. You can use Readme_XXX.md to support different languages, such as Readme_en.md, Readme_zh.md
  2. Gitee blog blog.gitee.com
  3. Explore open source project https://gitee.com/explore
  4. The most valuable open source project GVP
  5. The manual of Gitee https://gitee.com/help
  6. The most popular members https://gitee.com/gitee-stars/
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/src-openeuler/classic-flang.git
git@gitee.com:src-openeuler/classic-flang.git
src-openeuler
classic-flang
classic-flang
master

搜索帮助

344bd9b3 5694891 D2dac590 5694891