How To Install polly on Fedora 34

polly is LLVM Framework for High-Level Loop and Data-Locality Optimizations LLVM Framework for High-Level Loop and Data-Locality Optimizations

Introduction

In this tutorial we learn how to install polly on Fedora 34.

What is polly

Polly is a high-level loop and data-locality optimizer and optimization infrastructure for LLVM. It uses an abstract mathematical representation based on integer polyhedron to analyze and optimize the memory access pattern of a program. polly 12.0.0 1.fc34 x86_64 1.6 M polly-12.0.0-1.fc34.src.rpm updates LLVM Framework for High-Level Loop and Data-Locality Optimizations http NCSA Polly is a high-level loop and data-locality optimizer and optimization infrastructure for LLVM. It uses an abstract mathematical representation based on integer polyhedron to analyze and optimize the memory access pattern of a program.

We can use yum or dnf to install polly on Fedora 34. In this tutorial we discuss both methods but you only need to choose one of method to install polly.

Install polly on Fedora 34 Using dnf

Update yum database with dnf using the following command.

sudo dnf makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

After updating yum database, We can install polly using dnf by running the following command:

sudo dnf -y install polly

Install polly on Fedora 34 Using yum

Update yum database with yum using the following command.

sudo yum makecache --refresh

The output should look something like this:

Fedora 34 - x86_64                               20 kB/s | 6.6 kB     00:00
Fedora 34 openh264 (From Cisco) - x86_64        1.4 kB/s | 989  B     00:00
Fedora Modular 34 - x86_64                       68 kB/s | 6.5 kB     00:00
Fedora 34 - x86_64 - Updates                    3.5 kB/s | 6.2 kB     00:01
Fedora Modular 34 - x86_64 - Updates             17 kB/s | 5.9 kB     00:00
Metadata cache created.

After updating yum database, We can install polly using yum by running the following command:

sudo yum -y install polly

How To Uninstall polly on Fedora 34

To uninstall only the polly package we can use the following command:

sudo dnf remove polly

polly Package Contents on Fedora 34

/usr/lib/.build-id
/usr/lib/.build-id/1d
/usr/lib/.build-id/1d/0921a5630da0e33bcab5bf68b61db3b44a4745
/usr/lib/.build-id/6e
/usr/lib/.build-id/6e/f0f3382fa6faad665c23b07e9341574ede06e2
/usr/lib/.build-id/c9
/usr/lib/.build-id/c9/a98d7b72127b1f9d99e5bb51ba30f160756e72
/usr/lib/.build-id/f1
/usr/lib/.build-id/f1/ef44e13a2a296ee604616fcd417e0bac00e033
/usr/lib64/LLVMPolly.so
/usr/lib64/libPolly.so.12
/usr/lib64/libPollyISL.so
/usr/lib64/libPollyPPCG.so
/usr/share/licenses/polly
/usr/share/licenses/polly/LICENSE.txt
/usr/lib/.build-id
/usr/lib/.build-id/23
/usr/lib/.build-id/23/10c046170cb443f909ffb980adcfdceb95a3af
/usr/lib/.build-id/38
/usr/lib/.build-id/38/ebd9cf345112044ef89bcd1b5ef21c73461779
/usr/lib/.build-id/71
/usr/lib/.build-id/71/644fee920222cb8d0004c1143b7e0952d9edc3
/usr/lib/.build-id/cc
/usr/lib/.build-id/cc/ce534cdbae83ed3a548f23a85b9d5f508c3ff7
/usr/lib/LLVMPolly.so
/usr/lib/libPolly.so.12
/usr/lib/libPollyISL.so
/usr/lib/libPollyPPCG.so
/usr/share/licenses/polly
/usr/share/licenses/polly/LICENSE.txt
/usr/lib/.build-id
/usr/lib/.build-id/3b
/usr/lib/.build-id/3b/a1545c5dc0501d0fcd418e610e9b85ac476291
/usr/lib/.build-id/57
/usr/lib/.build-id/57/bad598dfb1b6d54277c87ed2e48438cb2d8c6e
/usr/lib/.build-id/81
/usr/lib/.build-id/81/9e09708bb91ccbc1b6fc47b31fc68c5971fe2f
/usr/lib/.build-id/d2
/usr/lib/.build-id/d2/d67ad86398cc6be8db6656c8c7556e15791942
/usr/lib64/LLVMPolly.so
/usr/lib64/libPolly.so.12
/usr/lib64/libPollyISL.so
/usr/lib64/libPollyPPCG.so
/usr/share/licenses/polly
/usr/share/licenses/polly/LICENSE.txt
/usr/lib/.build-id
/usr/lib/.build-id/43
/usr/lib/.build-id/43/c0d9bd1f67f98765fb212c5d775997f7427d85
/usr/lib/.build-id/68
/usr/lib/.build-id/68/1046d87206fd661e9d4afe39c101fde3270a9d
/usr/lib/.build-id/9b
/usr/lib/.build-id/9b/a8cba5fe085a2befff6c55cd321342ce945895
/usr/lib/.build-id/d6
/usr/lib/.build-id/d6/ba7ed63d358cebb7e7b88c0492ce65b36aff70
/usr/lib/LLVMPolly.so
/usr/lib/libPolly.so.12
/usr/lib/libPollyISL.so
/usr/lib/libPollyPPCG.so
/usr/share/licenses/polly
/usr/share/licenses/polly/LICENSE.txt

References

Summary

In this tutorial we learn how to install polly on Fedora 34 using yum and dnf.